Skip to main content

A simple Python utility library

Project description

my_library

A simple Python utility library with string and math helpers.

Installation

pip install my-unique-library-name

Usage

from my_library import hello, add, reverse_string, is_palindrome

print(hello("Alice"))            # Hello, Alice!
print(add(2, 3))                 # 5
print(reverse_string("hello"))   # olleh
print(is_palindrome("racecar"))  # True

Functions

Function Description
hello(name) Returns a greeting string
add(a, b) Adds two numbers
reverse_string(text) Reverses a string
is_palindrome(text) Checks if a string is a palindrome

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

sam4344968_lib-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

sam4344968_lib-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sam4344968_lib-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for sam4344968_lib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7afc42d2c251583950cc5c4b1a8da40af7e35d24af9ad7610d05a74cbe921673
MD5 f65492c51fc439ad7c111ac598cf298b
BLAKE2b-256 d38d672db10ae1a793bc07a55debdfab0ca40f898ade22b248b178d6ed2b5ce2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sam4344968_lib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for sam4344968_lib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b38e7f50b332b89aeb6414c1bcf3e6166e64e619203f820eb2de8ade09761d23
MD5 cfbf1df47015bb33e25e4ff2eb3f3587
BLAKE2b-256 2fbfdebc721ecad652e369e8d829bebae06f6ea1bf9a741c848120d833ae84b7

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