altcomp/dev/: example-package-0.1.0 metadata and description
A simple Python package for testing private pip repositories
| author_email | Your Name <your.email@example.com> |
| classifiers |
|
| description_content_type | text/markdown |
| dynamic |
|
| keywords | example, test, package, pip |
| license | MIT |
| license_file |
|
| metadata_version | 2.4 |
| project_urls |
|
| requires_dist |
|
| requires_python | >=3.8 |
Because this project isn't in the mirror_whitelist,
no releases from root/pypi are included.
| File | Tox results | History |
|---|---|---|
example_package-0.1.0-py3-none-any.whl
|
|
|
example_package-0.1.0.tar.gz
|
|
Example Package
A simple Python package for testing private pip repositories.
Features
- Calculator: Basic mathematical operations (add, subtract, multiply, divide)
- TextProcessor: Text utilities (clean, count words, reverse, extract numbers, title case)
Installation
pip install example-package
Usage
Calculator
from example_package import Calculator
calc = Calculator()
result = calc.add(5, 3) # 8
result = calc.multiply(4, 6) # 24
print(calc.get_history())
TextProcessor
from example_package import TextProcessor
processor = TextProcessor()
text = " Hello World 123 "
cleaned = processor.clean_text(text) # "Hello World 123"
word_count = processor.count_words(cleaned) # 3
numbers = processor.extract_numbers(text) # ["123"]
Development
Setup
git clone <repository-url>
cd example-package
pip install -e ".[dev]"
Running Tests
pytest
Code Formatting
black src/ tests/
License
MIT License