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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file python_package_template_mldxo-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: python_package_template_mldxo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbef940f7878cbef6bf9585a5a0bef7c8e5fda9cbc24919c76e50ddcb5950135 |
|
MD5 | 302912f42cd09bf627d169e6919d9fcc |
|
BLAKE2b-256 | 8eebb2b59db682290c5e7645b387746cac8ac61683353b170ae29997a029097f |