Skip to main content

string_py

PyPI Documentation

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

Information Example

from string_py import Str

print(Str("Hello World!").get_upper(index=True))
{0: 'H', 6: 'W'}

Printer Example

from string_py import Printer

print = Printer()

print.time("Hello World!")
[04.04 | 03:11:07] Hello World!

Metadata

Release files for string-py 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for string-py 0.1.3
File Size Uploaded
string_py-0.1.3.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for string-py 0.1.3
File Interpreter ABI Platform
string_py-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / string_py-0.1.3.tar.gz

Download URL string_py-0.1.3.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5761d36506dc16bd2ec47367559be25f241d450f9c75d8be3c0f0286899e7f51
BLAKE2b-256 checksum
How to use checksums
da8d2b6c0b14251ddd37dd3576666f0404127ba8f5b420a5810e6833eafb0e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / string_py-0.1.3-py3-none-any.whl

Download URL string_py-0.1.3-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d8f08c5a5b863778272fa019fbefcf68ca36f372a47b6585a450a2382326629
BLAKE2b-256 checksum
How to use checksums
2a5d7c59fe2a1484e604099fd42fbd2e8d729c23b3555f555ae46ade39fb96a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page