Utils for strings in python
Project description
string_py
A Python package to simplify working with strings
Installation
To install the library directly from PyPI you can just run the following command:
# Linux/macOS
python3 -m pip install -U string-py
# Windows
py -3 -m pip install -U string-py
Format Example
from string_py import Format
print(Format.align(values={"Username:": "John", "Register Date:": "01.01.2001"}))
Username: John
Register Date: 01.01.2001
Manipulation Example
from string_py import Str
print(Str("Hello World!").first(5))
Hello
Printer Example
from string_py import Printer
print = Printer()
print.time("Hello World!")
[04.04 | 03:11:07] Hello World!
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
string_py-0.0.2.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file string_py-0.0.2.tar.gz
.
File metadata
- Download URL: string_py-0.0.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34d58d22b4091449bf1813f58102eef989743b8d4e5553cf1a413ac1454956f6 |
|
MD5 | f80414828db53e9f8883f052648df4c7 |
|
BLAKE2b-256 | 409cd0f8df950aa03a506f428fb3521a4d23c5fe1a03209e5b40559dc26d117e |
File details
Details for the file string_py-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: string_py-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8b58a682b50c6815f22d1ff95a7febb844ac811263ec1fdafc678e0db3d1cb |
|
MD5 | 782c81c495de4f0207c83ddd7a1ed602 |
|
BLAKE2b-256 | 22f7b398f65ebd4db07960c94864c104f0214f167d40e4b0cbd411a0521ded74 |