Skip to main content

A simple template package

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>

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_basic_python_packge-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

awmt_basic_python_packge-0.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file awmt_basic_python_packge-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for awmt_basic_python_packge-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f0fe918146debeaedd667e57b33220ae290aa2e269bafa3587852d00982629b6
MD5 30fc9bc5d1206f781974142236f271ac
BLAKE2b-256 fe6d51063ca1c4bbfb408ea50a8c319348abd59870ce7ed24be5772e2f06da08

See more details on using hashes here.

File details

Details for the file awmt_basic_python_packge-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for awmt_basic_python_packge-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8aa7be8360899da34af4749db0625f8f774c37b6ece50cd1163c4e42b6c0eb62
MD5 3212e90c3f8ae6ab50dc8bd139d8f5da
BLAKE2b-256 7b211943b195711dc05d6d7d782982294c7f3b359f8048f142ef5543828b3f8c

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