contains ustr UnderlineString
Project description
xstr
New python3 strings just dropped.
Installation
pip3 install xstr
from xstr import ustr
from xtr import dstr
from xstr import hstr
or
import xstr
or
import hstr
# import dstr
# import ustr
HypenString -- hstr()
from xstr import hstr
x = hstr('hello new world and all who inhabit it.')
print(x)
# hello-new-world-and-all-who-inhabit-it.
print(x.original())
# hello new world and all who inhabit it.
output
hello-new-world-and-all-who-inhabit-it.
hello new world and all who inhabit it.
DotString -- dstr()
from xstr import dstr
x = dstr('hello new world and all who inhabit it.')
print(x)
# hello.new.world.and.all.who.inhabit.it.
print(x.original())
# hello new world and all who inhabit it.
output
hello.new.world.and.all.who.inhabit.it.
hello new world and all who inhabit it.
UnderlineString -- ustr()
from xstr import ustr
x = ustr('hello new world and all who inhabit it.')
print(x)
# hello_new_world_and_all_who_inhabit_it.
print(x.original())
# hello new world and all who inhabit it.
output
hello_new_world_and_all_who_inhabit_it.
hello new world and all who inhabit it.
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
ustr-0.0.2.tar.gz
(2.7 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
ustr-0.0.2-py3-none-any.whl
(3.0 kB
view details)
File details
Details for the file ustr-0.0.2.tar.gz.
File metadata
- Download URL: ustr-0.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22df46166dea1327c895d927eba86c2d64e5e914e7ade3d42f2c7802700b95ae
|
|
| MD5 |
cdced19ef37b2679a6f9f8370a0ff832
|
|
| BLAKE2b-256 |
aae1580f4c5dc97dddf4280a25b9061a5b183c048caf3fb5df6b68bac8cb6a30
|
File details
Details for the file ustr-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ustr-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87120fe4b380ad3eef79ffb80ef032d02eb479d33b2f82e5712224ab1f13c18e
|
|
| MD5 |
ff728cfbf263254dc1e826ed3ba55115
|
|
| BLAKE2b-256 |
7abb30059c90dfb69a260d2cb7d2ed4d9ec540c609fe6edc0c4ba0f04d19d1eb
|