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.0.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.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: my_sample_pkg-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 909fcc6c91833a003086847828452a658021e7dbd0fc2e4433176e13563f2c71
MD5 08862ce2b2d56702faf1deefe46b8361
BLAKE2b-256 b2fe54391c700a52b169eaa13ac9d7758294973cfecc6138a6e855174fb5b4d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: my_sample_pkg-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64c3f799911678b27fbb435caaff64d5d9f0252c2d5022b6816e24c165b8dfb9
MD5 ab627c579188f1b1696f24fdfad561ba
BLAKE2b-256 d8359ee32f9916d930e01ddfa8c9bc2ddd51178489eeb642a5ab9ed2aae21eb0

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