Skip to main content

Template test for python bin

Project description

template_python_project

This is a sample application for test deployment on pypi. You can use it as reference but i don't recommend its use.

Install

For install this app you need to have setuptools in your python environment.

# We assume that pip is install and is connected to python 3
pip install --editable .
# OR
pip install template-python-project

# For install the project with development tool
pip install --editable ".[development]"

Use

For further information use --help option.

template-python-project --compute-type MUL --first 1 --second 2

Linter

This application use the linter pylint. pylint is installed with development tools.

# For execute tests we assume that the development dependencies are install
pylint template_python_project

Test

This applciation use the test framework pytest. pytest is installed with development tools.

# For execute tests we assume that the development dependencies are install
pytest ./test

Deploy

You need to install twine for deploy on pypi. You need to install wheel to have a valid binary for deployment.

# We assume that pip is install and is connected to python 3
pip install twine
pip install wheel

After the installation of the dependencies. You need to use setup.py for build the project. You need to use the twine command for the deployment.

# We assume that pip is install and is connected to python 3
# We assume that python is install and is a symbolic link to python 3
python setup.py bdist_wheel
twine upload dist/*

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

template_python_project-0.5.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distributions

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

template_python_project-0.5.1-py3.9.egg (12.3 kB view details)

Uploaded Egg

template_python_project-0.5.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file template_python_project-0.5.1.tar.gz.

File metadata

  • Download URL: template_python_project-0.5.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for template_python_project-0.5.1.tar.gz
Algorithm Hash digest
SHA256 4d35c1df65d94a8695952bfc815a48f50e7b615b71c148f16c65939f98bdf7e0
MD5 4e8a977d93e36952486aa7fbfce09659
BLAKE2b-256 fe4b21bcfdbdad90a6e24c35404d7c1214f67adc2583b0fd6224fadc2dbb8334

See more details on using hashes here.

File details

Details for the file template_python_project-0.5.1-py3.9.egg.

File metadata

  • Download URL: template_python_project-0.5.1-py3.9.egg
  • Upload date:
  • Size: 12.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for template_python_project-0.5.1-py3.9.egg
Algorithm Hash digest
SHA256 abec2d38ef4fa4dc64930fc3e49db7c3514549b3dbe02454655defbdd6116bed
MD5 b96fdf215eecc3d31ed4623e3a1c8cc2
BLAKE2b-256 e76842fdeb28cfa049f96ea8578d7f2aaed55dc0dba9490096fdc5679720210f

See more details on using hashes here.

File details

Details for the file template_python_project-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: template_python_project-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for template_python_project-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9aad8e38eb8bdbd721052aaaa9fe879525726ac3cc414938944c2bb29a9dc49a
MD5 aaf123ae450ac80d67ac5963a0430400
BLAKE2b-256 55a5636f358168aa25a2cd2f30431f759364f3c88bf914f23d7152dffa7e76c2

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