Skip to main content

A simple sample Python package for PyPI demonstration

Project description

my-sample-pkg

A simple sample Python package for PyPI demonstration.

Installation

pip install my-sample-pkg

Usage

from my_sample_pkg import hello

hello()  # Prints "Hello, PyPI!"

Requirements

  • Python 3.8 or higher

Build and Upload

Build the package

pip install build twine
python -m build

Upload to PyPI

# Upload to TestPyPI first (recommended)
python -m twine upload --repository testpypi dist/*

# Upload to PyPI
python -m twine upload dist/*

License

MIT License

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

my_sample_pkg-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

my_sample_pkg-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file my_sample_pkg-0.1.1.tar.gz.

File metadata

  • Download URL: my_sample_pkg-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for my_sample_pkg-0.1.1.tar.gz
Algorithm Hash digest
SHA256 70e206cd3874a2dad4609fdbc1419e6840f4c2f0b68b1c5e813ba1a1ff1452b2
MD5 f8b6f5366f88c2315d2132a3650b88bc
BLAKE2b-256 4081ea3da54dd0f935e0b81c2a9cb4386163582ec1134cbbc3663da71b6d491c

See more details on using hashes here.

File details

Details for the file my_sample_pkg-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: my_sample_pkg-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for my_sample_pkg-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e3aa7bce31f46334268bcae1217f048fc5b1c2f472df3309962bbf5363375e8
MD5 b865e29b0939186cd018fc1acffebb98
BLAKE2b-256 3e8b4ad9442afadbbe8e1e2b5190720dd02ab756ee0230916de85997a24ca398

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