String Booster Pack
-A small collection of semi-useful functions for strings
-Content List:
cctrans(txt)
-Credit Card Transformer
-Replaces all but the last 4 characters of a string with '*'
-Warns if not 16 characters
sstrans(txt)
-Social Security Transformer
-Replaces all but the last 4 characters of a string with '*'
-Warns if not 9 characters
passgen(length=8)
-Password Generator
-Generates a random password of a specified length (default 8 characters)
btitle(txt, lowers=['and', 'the', 'of', 'if', 'in', 'on', 'with'])
-Better Title
-Like title(), but better!
-Capitalizes all words in a string excluding some words commonly kept lowercase
emailfinder(txt)
-Email Finder
-Finds email addresses in a string and returns a list of them
censor(txt, words=[], sub='*')
-Censor
-Replaces designated words in a string with '*'
redactor(txt, words=[], replacement='[redacted]')
-Redactor
-Replaces designated words in a string with '[redacted]'
asciifinder(txt)
-ASCii Finder
-Creates a dictionary of each unique character in a string and its ASCii value
asciicipher(txt, seed=None)
-ASCii Cipher
-A simple substitution cipher that encrypts a string
-Changes each character into a new one by adding a random number (1-10) to its ASCii value
asciidecrypter(txt, key=None)
-ASCii Decrypter
-Returns the transformed string from ASCii Cipher to its original form
Please visit my page (https://github.com/coy0tecode/String-Booster-Pack) for more information on this package/questions/concerns/to have a look around.
Metadata
Release files for string-booster-pack 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| string_booster_pack-1.0.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| string_booster_pack-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / string_booster_pack-1.0.0.tar.gz
| Download URL | string_booster_pack-1.0.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ff1d57989b499d33d35398a125acade9c3a34963fb90ac7d44ad89d3a6ab633
|
|
BLAKE2b-256 checksum How to use checksums |
99cae6065df85fd4b863d45368b6b7c54bb15b8f3e7e04ce48b205e3ac58d7bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3.post20210118 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9
|
Release files / string_booster_pack-1.0.0-py3-none-any.whl
| Download URL | string_booster_pack-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddcd3790c2901babd04870340d3fcda58db5c3285df07674f269a446a5ff9bd3
|
|
BLAKE2b-256 checksum How to use checksums |
d9c91b8ff25afcb90a39eee237ef70015c79d696a769ef4d8ae5b43ff73caf8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3.post20210118 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9
|