Skip to main content

Prototype DSP Testing Tools from Andy West Music Tech

Project description

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

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

awmt_proto_dsp_tools-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awmt_proto_dsp_tools-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file awmt_proto_dsp_tools-0.1.0.tar.gz.

File metadata

  • Download URL: awmt_proto_dsp_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for awmt_proto_dsp_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b9f9c8679bba10ce01244bfa53098c6650d4937a6ed3ae12293daca25e5f8fb4
MD5 7efd5dd763f6a131cea79fcf64b7d532
BLAKE2b-256 df8d7c3d0302b03cbbe761e7a5a9c240e0da39e29b8104553e3f31dc142ab1bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for awmt_proto_dsp_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6049384b654499ce376c05e1d6628492940901ab9b3fffea8fbba40ba29f1401
MD5 1baa9e467dc7ee2958038b01b57940e7
BLAKE2b-256 98ddc2abe495673016d39cb655a97d92dc39779e2cccb7804dbb9b5df5779e95

See more details on using hashes here.

Supported by

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