Skip to main content

Super simple educational Python library with two subpackages.

Project description

my_simple_lib

Educational Python library with two subpackages:

  • math_tools
  • text_tools

Requirements

  • Python 3.10+

Install

pip install my-simple-lib-mooshiri-2025

Usage

from my_simple_lib.math_tools import add, mean
from my_simple_lib.text_tools import normalize_spaces, make_slug

print(add(2, 3))                              # 5
print(mean([1, 2, 3]))                        # 2.0
print(normalize_spaces("  hello   world "))   # "hello world"
print(make_slug("Hello, World!"))             # "hello-world"

Run tests (for developers)

pip install -U pip
pip install pytest
pytest

Build package (for developers)

pip install build
python -m build

Upload to TestPyPI (for developers)

pip install twine
twine upload --repository testpypi dist/*

Upload to PyPI (for developers)

pip install twine
twine upload dist/*

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_simple_lib_mooshiri_2025-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

my_simple_lib_mooshiri_2025-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for my_simple_lib_mooshiri_2025-0.1.0.tar.gz
Algorithm Hash digest
SHA256 095bee96eee9aaba0b15728789d47fa09d486bc43f805419c2994c247130f983
MD5 2fc940f59022f05a53b75dd7fcdf07b2
BLAKE2b-256 ea08252ca5a033a8d53c08393fded08acb55d60521299fc2d679fa82db0f943e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for my_simple_lib_mooshiri_2025-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ef34117fc3734ab2d57060e260df8cc2f395e718a32bed56bbaba016f2119b3
MD5 ff834d407e281b0a460d373f6273d65b
BLAKE2b-256 419a1f1d71858112a586e137ca69a1fd90778697648ed84dd9ff0819123981b1

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