Example package based on packaging python tutorials
Project description
python-package-example
Install using pip
pip install example-pkg-trdlo
Usage example
from example_pkg.pretty_code import Code
from example_pkg.pretty_code import PrettyCode
pretty_code = PrettyCode(6)
code = pretty_code.mirror() # Code('408804')
pretty_code.half_and_random() # Code('666252')
pretty_code.sequence() # Code('345678')
pretty_code.two_sequence() # Code('876321')
pretty_code.simplest() # Code('444444')
pretty_code.random() # Code('286183')
print(code.code) # '408804'
print(code.hash) # 'fe5763dbf4013b6b4b984d06e351aef3e54889afe7eebb77afb3267284c5bec9'
Alternative installation method
Install using git+ssh
URI schema
pip install git+ssh://git@gitlab.com/avnovoselov/python-package-example.git
Install using https
URI schema
pip install https://gitlab.com/avnovoselov/python-package-example.git
Update build
After run will prompt username and password.
python3 -m build
python3 -m twine upload --repository pypi dist/*
Links
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
Built Distribution
File details
Details for the file example-pkg-trdlo-0.1.1.tar.gz
.
File metadata
- Download URL: example-pkg-trdlo-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca47d18efba94c52c05ccd72b1ddcef0bfee8eb2e4ea08072b72b41d641adab2 |
|
MD5 | 684332256a16d72aa6d1c59d8470287a |
|
BLAKE2b-256 | 11cc8dac638a53919d140afc83ae5df727637f631c7c0d3a140ee7461fc8c73c |
File details
Details for the file example_pkg_trdlo-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: example_pkg_trdlo-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d90168915304f52c5a171fb0593e666430552f430086a48eee290e38159a70f5 |
|
MD5 | 4c2c310993c82c3e731cfaff8e3aa749 |
|
BLAKE2b-256 | 9c115597fdf12850bb52b170360a4c91f19aeb9281e9680eac1bbabdc6207a05 |