Skip to main content

A hellowold example package

Project description

Example python package

example how to create python package and deploy to pip registory

Prerequisite

  • install wheel
python3 -m pip install --user --upgrade setuptools wheel
  • intstall twine
python3 -m pip install --user --upgrade twine

Build & Deploy Steps

  • Go to setup.py directories and run the following command
    • it will generated a lot of files include dist directory which include package
python3 setup.py sdist bdist_wheel
# first upload
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
  • Or Upload to the world
    • don't forget to create API token on website first
# no need for url twine will use default one
twine upload dist/*

How to use

  • for test server
pip3 install -i https://test.pypi.org/simple/ example-pkg-hta-helloworld
  • for global
pip3 install example-pkg-hta-helloworld
  • Then use in python3 console
#access python console
python3

import hta_helloworld_pkg

References

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-hta-helloworld-0.0.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file example-pkg-hta-helloworld-0.0.3.tar.gz.

File metadata

  • Download URL: example-pkg-hta-helloworld-0.0.3.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for example-pkg-hta-helloworld-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8b19508033671ecbbcdf4a66e3fa984ecaec9338b6cdb9da135811a57a263af7
MD5 a3bc2ffd78098f3d1005fa2fb6dba6ad
BLAKE2b-256 dff60b455a15a82d3bb75ed802a8975ec71a2c636cf47db2e24caba29d099227

See more details on using hashes here.

File details

Details for the file example_pkg_hta_helloworld-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: example_pkg_hta_helloworld-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for example_pkg_hta_helloworld-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 492d7356b96faa1207774f6c878516bc92755ef45a769a52c6223ee3119544eb
MD5 01bd8de3d82f8fd68ca1efe9a469c211
BLAKE2b-256 0ce48430c779c6cdce2e5d7e7da147431ffb2e0459b15e59575f2e354e4a277c

See more details on using hashes here.

Supported by

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