Skip to main content

My short description

Project description

Python sample package with data

How to distribute a Python package with data.

Tested on Ubuntu 19.10, Python 3.7.5, wheel==0.32.3, setuptools==41.1.0, twine==3.1.1.

How end users use the package from https://pypi.org/project/python-sample-package-with-data/:

python3 -m pip install --user python-sample-package-with-data
python-sample-package-with-data

Expected output:

hello data

How maintainers publish it:

# One time setup.
python3 -m pip install --user setuptools wheel twine

# Every time you want to publish.
python setup.py sdist bdist_wheel
twine upload dist/*

Bibliography:

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

python-sample-package-with-data-0.0.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file python-sample-package-with-data-0.0.2.tar.gz.

File metadata

  • Download URL: python-sample-package-with-data-0.0.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for python-sample-package-with-data-0.0.2.tar.gz
Algorithm Hash digest
SHA256 911a9557eaee07de7df5917f6fefed65ac7fc0d2905a1e233dfc31948f656d74
MD5 1a0bc7a81f164099b8963a44c1acf2dd
BLAKE2b-256 2573f7bbbb979e129123ed1f4c33a77d9e2fc6aa4d8dcc9419cdb326ead9ca5f

See more details on using hashes here.

File details

Details for the file python_sample_package_with_data-0.0.2-py2-none-any.whl.

File metadata

  • Download URL: python_sample_package_with_data-0.0.2-py2-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for python_sample_package_with_data-0.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 b87ca1e6337e6e32074575f99d785c89d505b299ed4de2869f0b0ceadc7338b5
MD5 debe2fc1c88fac306b8f22761ada79cb
BLAKE2b-256 bc638ccf9eb8753423bfc9fda6e1a04c2a214f75ea0d88b838d78cd3d917ad8e

See more details on using hashes here.

Supported by

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