A fun string manipulation package
Project description
uselessString Package
Basic intro
This package aims to provide programmers some variants and interesting capabilities of string, including palindrome (characters reversal), words reversal, customized repetitiveness, emotion expression, etc...
Project available on PyPI through: [PyPI]
Badge
Documentation
- To import the project, you need to install the package from pip through terminal or PyPI.
pip install uselessString
And you may upgrade the package.
pip install --upgrade uselessString
- Package function. (1) .palindrome(s) Reverses every character in a given string. ie. “Hello, world!” → “!dlrow ,olleH”
(2).reverse(s) Reverse all the words in a string. ie. “Hello, world!” → “world! Hello,”
(3).echo(s, i) Repeat the word s i times.
(4).angry(s) This function randomly adds some special characters such as @, %, !, *, etc... to express angryness and bad words.
(5).mocking(s) This function turns a string into "camel strcture", which means characters in the word s will be repetitively upper case and lower case.
(6).emoji(s, emotion) This function will add emoji corresponding to input emotion at the end of the string.
(7).random(s) This function shuffles the order of characters in the string s.
Project contribution
We really appreciate any form of technical contribution and capability extension. Here, we provide a standard setup workflow.
Contributers
Tim Yan: Github Bill Feng: Github Warren Wu: Github mh: Github
Package setup
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
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 uselessstring-1.0.0.tar.gz.
File metadata
- Download URL: uselessstring-1.0.0.tar.gz
- Upload date:
- Size: 40.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64fa1df097165cb87d103c140421b689f29e6c7a641cf69c9b0b24234c6139b7
|
|
| MD5 |
218fb824fb4bbe7b9fbfecf05756b899
|
|
| BLAKE2b-256 |
28112283c80ca012ef44db401a735dda49579bc47a390cef7f3d226ac6f86a00
|
File details
Details for the file uselessstring-1.0.0-py3-none-any.whl.
File metadata
- Download URL: uselessstring-1.0.0-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a94527a826f9e4d0813586ae95658b92ac335354b56cca834fbb3edfe2541284
|
|
| MD5 |
afc730b9d0ea960a6b70cc530b939701
|
|
| BLAKE2b-256 |
b1aeb688040c00e37914ee73fc3b9d58fde9b183d7519b140e72f746271b0992
|