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
Close
Hashes for example_pkg_trdlo-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d90168915304f52c5a171fb0593e666430552f430086a48eee290e38159a70f5 |
|
MD5 | 4c2c310993c82c3e731cfaff8e3aa749 |
|
BLAKE2b-256 | 9c115597fdf12850bb52b170360a4c91f19aeb9281e9680eac1bbabdc6207a05 |