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.
Metadata
Release files for RowMancer 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| RowMancer-0.1.1.tar.gz | 7.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| RowMancer-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / RowMancer-0.1.1.tar.gz
| Download URL | RowMancer-0.1.1.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f66d49e6066c8d45cc8052e11772e5acb330d3954fde4791779bccb2a19232c
|
|
BLAKE2b-256 checksum How to use checksums |
540fe8bde8f8d34fd1457528b4656612a684009e99302129165180ab4d93e289
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / RowMancer-0.1.1-py3-none-any.whl
| Download URL | RowMancer-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62fe568b4ca0fbbb5600c8fa80bc836c8228111431a3db061aa09cdf61d694d7
|
|
BLAKE2b-256 checksum How to use checksums |
0b479e622c9122f9360965861db59a3a966b238aabe6ae8a69c97087aec3cb35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for RowMancer 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.