Skip to main content

Template test for python bin

Project description

template_python_project

master Coverage Status

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 --compute-type MUL --first 1 --second 2
template-python-project concat --first hello --second world

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.6.0.tar.gz (6.4 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.6.0-py3.9.egg (14.8 kB view details)

Uploaded Egg

template_python_project-0.6.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: template_python_project-0.6.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for template_python_project-0.6.0.tar.gz
Algorithm Hash digest
SHA256 571a0a785b6adc48be3d4bbd7915d801969915746f2e9d3d794b3d5fd42fb5c5
MD5 72620bf5fe09c16d2206a6dfbb53b427
BLAKE2b-256 fe56a57115bfcc896c25701616e0a1548918ed16c18e5c3b024d9baefd1bd06d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: template_python_project-0.6.0-py3.9.egg
  • Upload date:
  • Size: 14.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for template_python_project-0.6.0-py3.9.egg
Algorithm Hash digest
SHA256 9ef96283aadc7d76e28cf91b42ed1ca92a6f8f7c595c2ddec2e71a0d13dc2d5c
MD5 f0fc762fed2d3fec07dfef59f4910fdb
BLAKE2b-256 0ccab83791f5c5e75f0c3c845d9f01d59ebf6b302be3a92895d3c56c3bf4f957

See more details on using hashes here.

File details

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

File metadata

  • Download URL: template_python_project-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for template_python_project-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74b7bd7a8116905106fa28417d61bbbaf9b4ec4a3e4f975c3108082b9dd9adf0
MD5 0c31d3a4744ed127f113712bc38905d1
BLAKE2b-256 4cafd4e18e098bea1d30bbb0ec9f374793d389dace95d3176e5559aed3486e9f

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