Skip to main content

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:

Releases Page

Manual Buildling Instructiibs

Build Tools

Poetry was selected based on this article suggesting it has the best support and is most widely adopted:

https://www.pyopensci.org/python-package-guide/package-structure-code/python-package-build-tools.html

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>

Tokens

For the automated pull requests to create releases a token called "PAT_PUSH_TOKEN" is required.

This can be generated under https://github.com/settings/personal-access and should have Read and Write access to code and pull requests as well as Read access to metadata

PAT_PUSH_TOKEN should be added to the repo under secrets.

For uploading to PyPI and API kep is needed

This can be generated through your PyPI settings and should be added to the repo secrets as PYPI_API_TOKEN

Metadata

Release files for awmt-proto-dsp-tools 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awmt-proto-dsp-tools 0.1.0
File Size Uploaded Provenance
awmt_proto_dsp_tools-0.1.0.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for awmt-proto-dsp-tools 0.1.0
File Interpreter ABI Platform
awmt_proto_dsp_tools-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / awmt_proto_dsp_tools-0.1.0.tar.gz

Download URL awmt_proto_dsp_tools-0.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b9f9c8679bba10ce01244bfa53098c6650d4937a6ed3ae12293daca25e5f8fb4
BLAKE2b-256 checksum
How to use checksums
df8d7c3d0302b03cbbe761e7a5a9c240e0da39e29b8104553e3f31dc142ab1bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.12

Release files / awmt_proto_dsp_tools-0.1.0-py3-none-any.whl

Download URL awmt_proto_dsp_tools-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6049384b654499ce376c05e1d6628492940901ab9b3fffea8fbba40ba29f1401
BLAKE2b-256 checksum
How to use checksums
98ddc2abe495673016d39cb655a97d92dc39779e2cccb7804dbb9b5df5779e95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.12

Security for awmt-proto-dsp-tools 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page