Skip to main content

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/*

Release files for template-python-project 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for template-python-project 0.6.0
File Size Uploaded
template_python_project-0.6.0.tar.gz 6.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for template-python-project 0.6.0
File Interpreter ABI Platform
template_python_project-0.6.0-py3.9.egg Legacy Egg format - - Details
template_python_project-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.4 kB

Release files / template_python_project-0.6.0.tar.gz

Download URL template_python_project-0.6.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
571a0a785b6adc48be3d4bbd7915d801969915746f2e9d3d794b3d5fd42fb5c5
BLAKE2b-256 checksum
How to use checksums
fe56a57115bfcc896c25701616e0a1548918ed16c18e5c3b024d9baefd1bd06d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / template_python_project-0.6.0-py3.9.egg

Download URL template_python_project-0.6.0-py3.9.egg
Size 14.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
9ef96283aadc7d76e28cf91b42ed1ca92a6f8f7c595c2ddec2e71a0d13dc2d5c
BLAKE2b-256 checksum
How to use checksums
0ccab83791f5c5e75f0c3c845d9f01d59ebf6b302be3a92895d3c56c3bf4f957
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / template_python_project-0.6.0-py3-none-any.whl

Download URL template_python_project-0.6.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74b7bd7a8116905106fa28417d61bbbaf9b4ec4a3e4f975c3108082b9dd9adf0
BLAKE2b-256 checksum
How to use checksums
4cafd4e18e098bea1d30bbb0ec9f374793d389dace95d3176e5559aed3486e9f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.6.0 This release

3 release files

0.5.1

3 release files

0.5.0

2 release files

0.3.0

3 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page