Skip to main content

Package Helper 3 explains how to create, develop, and maintain a Python package with Poetry.

Project description

PyPI Status Build Status Documentation Status License Code Coverage

Package Helper 3 helps to create, develop and maintain a Python package.

It is a fork/mix of https://github.com/audreyr/cookiecutter-pypackage/, https://github.com/francois-durand/package_helper_2/, and https://github.com/fpgmaas/cookiecutter-poetry.

The most prominent feature of Package Helper 3 is a tutorial that gives a checklist of how to:

  • Create your package in a few minutes with Cookiecutter and Poetry,

  • Develop and maintain your package with PyCharm,

  • Host your package on GitHub and leverage GitHub actions,

  • Publish your package on PyPi,

  • Publicly share your coverage on Codecov.

A simple Command-Line Interface initiates the creation of the package using a template of Python package. Here are the main features of the template:

  • Personalize default options.

  • Include example files for classes, with examples of documentation and testing.

  • Use Poetry for all-in-one management of dependencies and settings.

  • Documentation:

    • Use a GitHub action and GitHub Pages to publish the documentation.

    • Use sphinx.ext.napoleon to benefit from NumPy style of documentation.

    • Use ReadTheDocs theme.

    • Add a “reference” section in the documentation of the package.

  • Use a GitHub action to perform unit tests.

  • Use a GitHub action to deploy the package on PyPI.

  • Generate a local html page displaying the test coverage.

  • Use Codecov.

Documentation: https://balouf.github.io/package-helper-3/.

Project details


Download files

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

Source Distribution

package_helper_3-0.2.0.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

package_helper_3-0.2.0-py3-none-any.whl (58.4 kB view details)

Uploaded Python 3

File details

Details for the file package_helper_3-0.2.0.tar.gz.

File metadata

  • Download URL: package_helper_3-0.2.0.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1014-azure

File hashes

Hashes for package_helper_3-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2a97d0ef6bfd488848cf6da8f763a18c71b1c83284be6075578dd263d7fd3340
MD5 98638e90c158894fa953cea09a9dec95
BLAKE2b-256 d02c40efed4a33b07eb0287234feefdbe1c6ddc62e921373e5668d3e6ad6216e

See more details on using hashes here.

File details

Details for the file package_helper_3-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: package_helper_3-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 58.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1014-azure

File hashes

Hashes for package_helper_3-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c42970465c01f46feb3e3248efd7b20715d0c7ae6cd16b580da64c0339d9c37
MD5 919e3922f090602a239a27b4dd24508f
BLAKE2b-256 cd6533a0f4b3b6a8eb3767bf26964337e7a369b362e1e57dca0b3f5bf201e670

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page