No project description provided
Project description
Perform string manipulation operations using a single command.
Usage
run the following commandrin_string_manip --OPTIONS
OPTIONS that can be provided are:
config-path: path/to/config.yaml
file-path: path/to/file.txt
Config file format
Ensure your config/yaml file follows the following format:pipline:
- func1
- func2
- func3
Default sequence is (if no path is provided)
pipeline:
- remove_stop_words
- coalesce_spaces
- stair_case
- append_date
- prepend_number
Refer below for available functions.
Functions available
remove_stop_words
Removes stop_words from given string. Stop words are taken from stopwords.yamlcoalesce_spaces
Converts multiple spaces into one spacestair_case
Converts first letter upper, second lower, third upper and so on.prepend_number
Adds numbers to the lines. Here, the line number is prepended.append_date
Appends the date+time at the end of the string.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
File details
Details for the file rin_string_manip-0.1.2.tar.gz
.
File metadata
- Download URL: rin_string_manip-0.1.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.19.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33222d66e22da363364706d828c437667c6f956137063b0950d4f8e5a4cf064a |
|
MD5 | 65ec9aaa007ec16413df424be93d1ff5 |
|
BLAKE2b-256 | 11332a71f06f997f420995b4d7b93eda0a404f85f07defdbde2800524e3ef982 |
File details
Details for the file rin_string_manip-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: rin_string_manip-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.19.0-46-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9147601e67a8ee436e6b8f6396153264a69f7a0894498c5533d2ce50a71522a3 |
|
MD5 | 14c3001917a30b761c169e62d5bc9e7f |
|
BLAKE2b-256 | dc6f4c7f1059885d1264d4a32079c7c5292f231c376931b149f23355dc7cb202 |