CLI utility to remove remove newlines, tabs from a file and copy it to your clipboard
Project description
cleanify
CLI utility to remove remove newlines, tabs from a file and copy it to your clipboard
- Pure 🐍 with only klembord used in the Tech Stack as a clipboard API
Installation
-
From PyPI (requires Python and PIP)
pip install cleanify
-
From source (requires Python)
- Clone this repository
- Start a terminal in the repository's folder
- Run
python setup.py install
- Run
Use
- In your terminal, type
cleanify --file {your filepath - relative OR absolute}
- The cleanified string will be copied to your clipboard
Supported Flags:
Flag | Required | Description |
---|---|---|
-file , -f |
true |
The path {relative or absolute} to the target file |
--repQuotes , --rq |
false |
Whether you want to replace double quotes with single ones (useful for HTML stored as JSON). Defaults to false |
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
cleanify-1.0.0.tar.gz
(3.4 kB
view details)
Built Distributions
cleanify-1.0.0-py3.9.egg
(3.9 kB
view details)
File details
Details for the file cleanify-1.0.0.tar.gz
.
File metadata
- Download URL: cleanify-1.0.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3578a1e3132a7a99aa61193c66af7a91b6f2383f1ab9bf57bd71cac9b4ac6b27 |
|
MD5 | e52a07eb2b01bd549c8dc0ef3367e404 |
|
BLAKE2b-256 | 2ded668f6848c5d81178f8ec21a63e3463e1295e9c0fba48ea1ec0b37f6579da |
File details
Details for the file cleanify-1.0.0-py3.9.egg
.
File metadata
- Download URL: cleanify-1.0.0-py3.9.egg
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d29230386881090de886ba7b280a593cbdd54afe9a8a8b1dfcf2c92dc533689 |
|
MD5 | 26f55091add6c5d723549a357fa59a9e |
|
BLAKE2b-256 | dd2975b02358c340ebedd5511020157f644e443bd2fb5b15f3e2b8e2306c6c09 |
File details
Details for the file cleanify-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: cleanify-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8daadfeaebd2f52d63144c5bdcf4d5d57a8b46f7a2b53ba25d80068610b8631a |
|
MD5 | f1e83dee01252a04ef39c8cc48b9619b |
|
BLAKE2b-256 | 77e38e782e8f7fe2be08a0c5b3728b31f83256cd45ffffc5a5a669ca43d73a3f |