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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

template_python_project-0.5.0-py3.8.egg (12.4 kB view details)

Uploaded Egg

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

Uploaded Python 3

File details

Details for the file template_python_project-0.5.0-py3.8.egg.

File metadata

  • Download URL: template_python_project-0.5.0-py3.8.egg
  • Upload date:
  • Size: 12.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for template_python_project-0.5.0-py3.8.egg
Algorithm Hash digest
SHA256 259d87a4aae606b8a6df94b7ef817cc43395bd1c9ed035ff54c2809362a7899b
MD5 51e8300bf4f7829448f37f898952ca25
BLAKE2b-256 1b809d0f568124d809ae2ee3cd0568b6f89caeed82fc6729ec82491e7bfa30a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: template_python_project-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for template_python_project-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4826d7af23f05c568ea739ba5a44ac2529e85833e932bd2bc0ee9a818b7f45c
MD5 ca17a24056c06483205668b4ff7dfc79
BLAKE2b-256 bf7beeba30c4c6a308ba7a1aaf003014843cd3518e3c9f7b51fe4c109ad8c2f3

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