AWMT_BasicPythonPackage
Template for creating PyPI hosted python packages
This repo is intended to be used as a template for new AWMT python projects
Release Notes
For detailed release notes see:
Manual Buildling Instructiibs
Build Tools
Poetry was selected based on this article suggesting it has the best support and is most widely adopted:
Repo structure has been adopted from Poetry docs here:
https://python-poetry.org/docs/basic-usage/#project-setup
Poetry can be installed as documented here:
https://python-poetry.org/docs/#installation
Unit tests
Pytest has been chosen for unit testing based on its scalability and flexability for different applications - see here for more: https://builtin.com/data-science/pytest-vs-unittest
pytest can be installed using
pip install pytest
Uploading to PyPI
Install twine using
pip install twine
Run the command
poetry build
Test upload to PyPI
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Test install from PyPI
pip install -i https://test.pypi.org/simple/ AWMT_BasicPythonPackage
Full Upload to PyPI
twine upload dist/*
View Project
https://pypi.org/project/<package_name>
Full install
pip install <package_name>
Metadata
Release files for awmt-basic-python-packge 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| awmt_basic_python_packge-0.1.1.tar.gz | 2.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awmt_basic_python_packge-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / awmt_basic_python_packge-0.1.1.tar.gz
| Download URL | awmt_basic_python_packge-0.1.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0fe918146debeaedd667e57b33220ae290aa2e269bafa3587852d00982629b6
|
|
BLAKE2b-256 checksum How to use checksums |
fe6d51063ca1c4bbfb408ea50a8c319348abd59870ce7ed24be5772e2f06da08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Release files / awmt_basic_python_packge-0.1.1-py3-none-any.whl
| Download URL | awmt_basic_python_packge-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8aa7be8360899da34af4749db0625f8f774c37b6ece50cd1163c4e42b6c0eb62
|
|
BLAKE2b-256 checksum How to use checksums |
7b211943b195711dc05d6d7d782982294c7f3b359f8048f142ef5543828b3f8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Security for awmt-basic-python-packge 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.