A sample Python library to demonstrate PyPI publishing
Project description
Sample PyPI Library
This is a sample library created to demonstrate how to publish a Python package on PyPI.
Installation
pip install sample-pypi-library
## Usage
```python
from sample_project import hello_world
print(hello_world("Alice"))
### Purpose of the Usage Section:
1. **Demonstrates Functionality**: Shows how to import and use the functions or classes your library provides.
2. **Quick Start**: Acts as a quick guide for new users to get started without diving deep into documentation.
3. **Clarifies Intent**: Explains the library's purpose through practical code examples.
---
#### Example Breakdown:
Assume your library contains a function `hello_world` like this:
```python
# sample_project/sample.py
def hello_world(name):
return f"Hello, {name}! Welcome to PyPI!"
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
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 sample_pypi_mitzlibrary-0.0.1.tar.gz.
File metadata
- Download URL: sample_pypi_mitzlibrary-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0a5fb842fcbc349d96d650de8f775a823031f20ee8cb14162fcd7cd92d6d4de
|
|
| MD5 |
078c8a974b4d7cb12a58865e45f4ccaa
|
|
| BLAKE2b-256 |
2a508111f05a30b0e686ec2346bdcd05aa1b64b558aba250c4cc6f07da450b3a
|
File details
Details for the file sample_pypi_mitzlibrary-0.0.1-py3-none-any.whl.
File metadata
- Download URL: sample_pypi_mitzlibrary-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d6ad331f12abde3bac87f7ca7063480b1d453d75808ed238d4e78b2210ed649
|
|
| MD5 |
75e51ca67b916eb21699607cda6c32db
|
|
| BLAKE2b-256 |
b4f13da42cedc3f7ff638340ad14ac7c2e783c22b4f9f722e02e4d3e2c5690a7
|