Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for example-pkg-hta-helloworld, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size example_pkg_hta_helloworld-0.0.3-py3-none-any.whl (6.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size example-pkg-hta-helloworld-0.0.3.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page