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
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
sam4344968_lib-0.1.0.tar.gz
(2.9 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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7afc42d2c251583950cc5c4b1a8da40af7e35d24af9ad7610d05a74cbe921673
|
|
| MD5 |
f65492c51fc439ad7c111ac598cf298b
|
|
| BLAKE2b-256 |
d38d672db10ae1a793bc07a55debdfab0ca40f898ade22b248b178d6ed2b5ce2
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b38e7f50b332b89aeb6414c1bcf3e6166e64e619203f820eb2de8ade09761d23
|
|
| MD5 |
cfbf1df47015bb33e25e4ff2eb3f3587
|
|
| BLAKE2b-256 |
2fbfdebc721ecad652e369e8d829bebae06f6ea1bf9a741c848120d833ae84b7
|