Skip to main content

Perform string manipulation operations using a single command.

Usage

run the following command
rin_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.yaml

coalesce_spaces

Converts multiple spaces into one space

stair_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.

Release files for rin-string-manip 0.1.2

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

Source distribution (sdist)

Source distribution for rin-string-manip 0.1.2
File Size Uploaded
rin_string_manip-0.1.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rin-string-manip 0.1.2
File Interpreter ABI Platform
rin_string_manip-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size:7.8 kB

Release files / rin_string_manip-0.1.2.tar.gz

Download URL rin_string_manip-0.1.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
33222d66e22da363364706d828c437667c6f956137063b0950d4f8e5a4cf064a
BLAKE2b-256 checksum
How to use checksums
11332a71f06f997f420995b4d7b93eda0a404f85f07defdbde2800524e3ef982
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.6 Linux/5.19.0-46-generic

Release files / rin_string_manip-0.1.2-py3-none-any.whl

Download URL rin_string_manip-0.1.2-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9147601e67a8ee436e6b8f6396153264a69f7a0894498c5533d2ce50a71522a3
BLAKE2b-256 checksum
How to use checksums
dc6f4c7f1059885d1264d4a32079c7c5292f231c376931b149f23355dc7cb202
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.6 Linux/5.19.0-46-generic

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

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