Skip to main content

No project description provided

Project description

RowMancer: CSV/TSV Data Reporter

CDR_banner

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

  1. Clone the repository

    git clone https://github.com/TheLustriVA/Rowmancer.git
    
  2. Navigate to the project directory

    cd RowMancer
    
  3. 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

  1. Count Files: -c, --count-files

    • Count the number of .csv and .tsv files instead of rows.
    RowMancer --count-files
    
  2. Blank Files: -b, --blank

    • Count the number of blank or non-parsable .csv and .tsv files.
    RowMancer --blank
    
  3. Readable Numbers: -l, --readable

    • Show numbers in a more readable format (e.g., 1,000 instead of 1000).
    RowMancer --readable
    
  4. Directory: dir

    • Specify the directory to start the search.
    RowMancer /path/to/directory
    
  5. Header Row: -H, --header-row

    • Exclude the first row from each .csv file in the count.
    RowMancer --header-row
    
  6. Depth: -d, --depth

    • Set the directory depth for the search.
    RowMancer --depth 2
    
  7. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

RowMancer-0.1.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

RowMancer-0.1.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

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

Hashes for RowMancer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3f66d49e6066c8d45cc8052e11772e5acb330d3954fde4791779bccb2a19232c
MD5 5a1135a65e17669894c5a5e164146b8b
BLAKE2b-256 540fe8bde8f8d34fd1457528b4656612a684009e99302129165180ab4d93e289

See more details on using hashes here.

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

Hashes for RowMancer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62fe568b4ca0fbbb5600c8fa80bc836c8228111431a3db061aa09cdf61d694d7
MD5 43a20305aad7d372f656d49a5e2f2e0f
BLAKE2b-256 0b479e622c9122f9360965861db59a3a966b238aabe6ae8a69c97087aec3cb35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page