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
Release history Release notifications | RSS feed
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.2.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file my_sample_pkg-0.1.2.tar.gz.
File metadata
- Download URL: my_sample_pkg-0.1.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54a7d96edbd69b26cd7af10c022aa37e879a342032e9c04d3d888fa617fb0473
|
|
| MD5 |
b155c92b798df2d093eca4ff0b59291b
|
|
| BLAKE2b-256 |
97f2b6688e32e6eb9d2dd2bc99aa91f1bc9852b04d133b6eb98fd1d5053db155
|
File details
Details for the file my_sample_pkg-0.1.2-py3-none-any.whl.
File metadata
- Download URL: my_sample_pkg-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33ab59ea6c9b820118eb0a0d9cfafdcafda750cf178f60c208e90ca39c76d6a0
|
|
| MD5 |
88da9100f5ec4e81a08f6401f7b7593b
|
|
| BLAKE2b-256 |
f4d00a56bab01e052789451e8e9b5f9a20b473e065829a8797dfcea55b68601a
|