Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A example package to learn and test Python packaging.

Project description

https://img.shields.io/pypi/v/example_pkg_cloos.svg https://img.shields.io/pypi/l/example_pkg_cloos.svg https://img.shields.io/pypi/pyversions/example_pkg_cloos.svg https://img.shields.io/travis/cloos/python_example_pkg_cloos/master.svg Code style: black

A example package to learn and test Python packaging.

https://packaging.python.org/tutorials/packaging-projects/

Development workflow

Checkout git repository:

$ git clone git@github.com:cloos/python_example_pkg_cloos.git

Create virtualenv:

$ make venv

Activate virtualenv:

$ source venv/bin/activate

Install/Upgrade packaging tools:

$ make install

Install package in ‘development mode’:

$ make develop

Run tests:

$ make test

Create Git tag:

$ git tag -m "release 0.0.1" 0.0.1
$ git push --tags

Upload to https://test.pypi.org/:

$ make upload_test

Upload to https://pypi.org/:

$ make upload

Usage

$ pip install example-pkg-cloos

Cli:

example-pkg-cloos --help

Library:

from example_pkg_cloos.utils import print_bar, print_foo

print_bar()
print_foo()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for example-pkg-cloos, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size example_pkg_cloos-1.0.1-py2.py3-none-any.whl (4.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size example_pkg_cloos-1.0.1.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page