Skip to content

The repository contains files used in the respective Tools & Skills training module.

Notifications You must be signed in to change notification settings

richy1996/packaging

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pylib — Python Packaging

This is the rather simplistic packaging example from the Tools & Skills class of The Python Quants.


Package

The package contains a total of three simple Python files, two of which are in sub-folders/sub-packages, with a single function each.

Training

In addition to the package files, the Git repository contains also other files used for the training session.

Tutorial

Environment

On the shell, create an environment with conda:

conda create -n test-pylib python=3.6 ipython
conda activate test-pylib

Installation from Source

Clone the Github repository to your local working folder:

git clone --depth=1 http://github.com/yhilpisch/packaging

Navigate to the repository folder and install the package:

cd packaging
python setup.py install

Installation via pip

Alternatively, install the pylib package via

pip install --index-url https://test.pypi.org/simple/ pylib

First Steps

Start a Python interactive session session and e.g. execute:

>>> import pylib
>>> pylib.one(10)
10
>>> pylib.two(20)
40
>>> pylib.three(3)
9

Copyright

The material is copyright (c) Dr. Yves J. Hilpisch | The Python Quants GmbH. MIT License.

About

The repository contains files used in the respective Tools & Skills training module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 93.8%
  • Python 5.1%
  • Shell 1.1%