Skip to main content

Python Package Template Description

Project description

Python Package Template

Template of Python project wrapped as package that can be easily uploaded to PyPi

Getting Started

To use this template click "Use this template" and create a new repository or open the template in a codespace or use this template here

Usage

Create virtual environment and install dependencies:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

After that you would adapt the code and continue when the project is ready to be published. Build the package using:

python setup.py sdist bdist_wheel

Test compiled package locally using:

pip install dist/package-xx.whl

Before publishing to PyPi create account and get API key. Save API key in your session using:

export TWINE_USERNAME=__token__
export TWINE_PASSWORD=$actual_token

Publish the package to PyPi:

twine upload dist/*

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file python_package_template_mldxo-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_package_template_mldxo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbef940f7878cbef6bf9585a5a0bef7c8e5fda9cbc24919c76e50ddcb5950135
MD5 302912f42cd09bf627d169e6919d9fcc
BLAKE2b-256 8eebb2b59db682290c5e7645b387746cac8ac61683353b170ae29997a029097f

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