Skip to main content

A package containing the API for the PTHat by CNC Design Limited

Project description

PTHat

Pulse Train HAT Python API. This is a Python API to control the PTHAT from CNC Design Limited

Build

To build the project files:

python setup.py sdist bdist_wheel

TestPyPI

To upload the project the first time until a token is obtained. This will prompt for username and password.

twine upload --repository-url https://test.pypi.org/legacy/ dist/*

To upload the project to TestPyPI:

twine upload -r testpypi dist/*

To install this package from TestPyPI:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pthat

To view the project on TestPyPI: https://test.pypi.org/project/pthat/

Token

Token to upload this project to TestPyPI:

Username: __token__
Password: pypi-AgENdGVzdC5weXBpLm9yZwIkZjRjOWE2NDctYTI4MC00N2M0LWI1NDEtZmJjNTcyZTVjOTI4AAI2eyJwZXJtaXNzaW9ucyI6IHsicHJvamVjdHMiOiBbInB0aGF0Il19LCAidmVyc2lvbiI6IDF9AAAGIEfC11_SYnhL6S5C2xfRD2-HcgZ-iM070-FNwoJPf1ls

Keyring

To install the tokens to a local keyring do the following. Each command will prompt for the password. Just copy and paste the token.

keyring set https://upload.pypi.org/legacy/ __token__
keyring set https://test.pypi.org/legacy/ __token__

Pypi

To upload the project the first time until a token is obtained. This will prompt for username and password.

twine upload dist/*

To upload the project to pypiTest:

twine upload -r pypi dist/*

To install this package from pypi:

pip install pthat

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

pthat-0.9.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

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

pthat-0.9.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file pthat-0.9.0.tar.gz.

File metadata

  • Download URL: pthat-0.9.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for pthat-0.9.0.tar.gz
Algorithm Hash digest
SHA256 b79189a2acbc10602e0d4accd3d6a902f5f98f1cd94b4acf12b8926d53716cef
MD5 a3ffa1f21dc030e566c0f30d1b5bfdee
BLAKE2b-256 8b9711f259519ac1505b374de3fa9d51d7dfa87a1976be9e0ed691df3c50fb9c

See more details on using hashes here.

File details

Details for the file pthat-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: pthat-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for pthat-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ea5c2ca84e5cd33cffebcf729e9afd17e632d50296d16c185237f3121bc5ccb
MD5 8b4d5bdbc82644eed6c62f96090b948e
BLAKE2b-256 f504e58fa7b815bb9fddaa69a3fb0d1f466ed1947be06a1202a79f96738dba3f

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