Skip to main content

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 PrettyCode

pretty_code = PrettyCode(6)

pretty_code.mirror()          # 408804
pretty_code.half_and_random() # 666252
pretty_code.sequence()        # 345678
pretty_code.two_sequence()    # 876321
pretty_code.simplest()        # 444444
pretty_code.random()          # 286183

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

example-pkg-trdlo-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

example_pkg_trdlo-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file example-pkg-trdlo-0.1.0.tar.gz.

File metadata

  • Download URL: example-pkg-trdlo-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 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

Hashes for example-pkg-trdlo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b84270d07e81661c09ea61b0acb4a63b05c39e3c2f396c7e53e2ebd43bb2b116
MD5 919b0ec446c688c6f66138c794b62cd6
BLAKE2b-256 5a2721bdc092883bb538d20fc43b6c2ad7063d17a11497ade8852b7b31ac9f20

See more details on using hashes here.

File details

Details for the file example_pkg_trdlo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: example_pkg_trdlo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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

Hashes for example_pkg_trdlo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea5107dcae7d8ba5c94200f75294259bbdb69b3679d0e0ea0e3221267d313780
MD5 4d25595ea274a3ad1f45598979f9c056
BLAKE2b-256 34f935c74089999de19c41b4548092c164eb20ae34926c7e6b0838b0aa3ad15d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page