No project description provided
Project description
RowMancer: CSV/TSV Data Reporter
Description
RowMancer is a Command Line Interface (CLI) tool that allows you to count rows, columns, and files in CSV/TSV datasets. The tool provides various options for specific count metrics, including the ability to count blank files, specify directory depth, and calculate column statistics.
License
This project is under the Apache 2.0 License. See the LICENSE file for more details.
Installation
From Source
-
Clone the repository
git clone https://github.com/TheLustriVA/Rowmancer.git
-
Navigate to the project directory
cd RowMancer
-
Install the package
pip install .
From PyPI
You can also install the package from PyPI (once it's published):
pip install RowMancer
Usage
Run the tool with no options to count all rows in all .csv and .tsv files in the current directory and its subdirectories:
Rowmancer
Options
-
Count Files:
-c, --count-files- Count the number of
.csvand.tsvfiles instead of rows.
RowMancer --count-files - Count the number of
-
Blank Files:
-b, --blank- Count the number of blank or non-parsable
.csvand.tsvfiles.
RowMancer --blank - Count the number of blank or non-parsable
-
Readable Numbers:
-l, --readable- Show numbers in a more readable format (e.g., 1,000 instead of 1000).
RowMancer --readable -
Directory:
dir- Specify the directory to start the search.
RowMancer /path/to/directory -
Header Row:
-H, --header-row- Exclude the first row from each
.csvfile in the count.
RowMancer --header-row - Exclude the first row from each
-
Depth:
-d, --depth- Set the directory depth for the search.
RowMancer --depth 2
-
Column Stats:
-x, --columns- Show column statistics (MIN, MAX, MEAN, SINGLE).
RowMancer --columns MIN
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
Author
- KGB aka Marco Lustri - With help from GPT-4
Acknowledgments
- Morgan Medici, who knows more than most have forgotten.
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 RowMancer-0.1.1.tar.gz.
File metadata
- Download URL: RowMancer-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/6.8.0 keyring/21.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.66.1 urllib3/1.26.16 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f66d49e6066c8d45cc8052e11772e5acb330d3954fde4791779bccb2a19232c
|
|
| MD5 |
5a1135a65e17669894c5a5e164146b8b
|
|
| BLAKE2b-256 |
540fe8bde8f8d34fd1457528b4656612a684009e99302129165180ab4d93e289
|
File details
Details for the file RowMancer-0.1.1-py3-none-any.whl.
File metadata
- Download URL: RowMancer-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/6.8.0 keyring/21.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.66.1 urllib3/1.26.16 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62fe568b4ca0fbbb5600c8fa80bc836c8228111431a3db061aa09cdf61d694d7
|
|
| MD5 |
43a20305aad7d372f656d49a5e2f2e0f
|
|
| BLAKE2b-256 |
0b479e622c9122f9360965861db59a3a966b238aabe6ae8a69c97087aec3cb35
|