# PyCLI Utilities <br/>[![Upload Python Package](https://github.com/itsthevp/pycli-utilities/actions/workflows/python-publish.yml/badge.svg?branch=main)](https://github.com/itsthevp/pycli-utilities/actions/workflows/python-publish.yml)
- As name suggests, CLI Utilities is the python package containing various CLI utilities to perform various operations on different types on files.
- Every utility has its own sets of configuration options which you can explore by specifying -h or --help after utility's command.
- This repository is open for everyone. Please feel free to suggest / add more CLI tools to this repository.
# Available Utilities
#### CSV Validator
---
```console
$ csv-validate file [options]
```
This utility is designed to validate CSV file by validating that each row of the CSV file has same number of columns.
#### CSV NULL Cleaner
---
```console
$ csv-remove-nulls file [options]
```
This utility is designed to remove NULL characters (ascii code: 0) from the CSV file.
This utility basically does the two things:
- Replaces the NULL's with empty string
- Removes the empty or only separator contained rows (if any)
#### CSV Column Remover
---
```console
$ csv-remove-column file column_number [options]
```
This utility is designed to remove specific column from the CSV file.
#### CSV Column Shifter
---
```console
$ csv-shift-column file from_location to_location [options]
```
This utility is designed to shift particular column within the CSV file.
#### CSV Splitter
---
```console
$ csv-split file number_of_records [options]
```
This utility is designed to split the large CSV file into multiple CSV files by number of records.
#### CSV Column Merger
---
```console
$ csv-merge-columns file [options]
```
This utility is designed to merge two or more columns of a CSV file.
#### NDJSON Validator
---
```console
$ ndjson-validate file [options]
```
This utility is designed to validate the NDJSON file.
#### NDJSON Key Remover
---
```console
$ ndjson-remove-key file keyName [options]
```
This utility is designed to remove a particular key (if exists) from all the records of a NDJSON file.
#### NDJSON Key Merger
---
```console
$ ndjson-merge-keys file --keys key1 key2 ... [options]
```
This utility is designed to merge multiple keys of every record of a NDJSON file.
Raw data
{
"_id": null,
"home_page": "https://github.com/itsthevp/pycli-utilities",
"name": "pycli-utilities",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6.0",
"maintainer_email": "",
"keywords": "cli,utils,cli-utils,csv,json",
"author": "Vishv Patel (itsthevp)",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/27/a9/06d8889022cc7bcf1e2a823e6cf13d7d303f54f6d8f118d3ec7f1c296964/pycli-utilities-1.1.0.tar.gz",
"platform": null,
"description": "\n# PyCLI Utilities <br/>[![Upload Python Package](https://github.com/itsthevp/pycli-utilities/actions/workflows/python-publish.yml/badge.svg?branch=main)](https://github.com/itsthevp/pycli-utilities/actions/workflows/python-publish.yml)\n- As name suggests, CLI Utilities is the python package containing various CLI utilities to perform various operations on different types on files.\n\n- Every utility has its own sets of configuration options which you can explore by specifying -h or --help after utility's command. \n\n- This repository is open for everyone. Please feel free to suggest / add more CLI tools to this repository.\n\n# Available Utilities\n\n#### CSV Validator\n---\n```console\n$ csv-validate file [options]\n```\n\nThis utility is designed to validate CSV file by validating that each row of the CSV file has same number of columns. \n\n\n#### CSV NULL Cleaner\n---\n```console\n$ csv-remove-nulls file [options]\n```\n\nThis utility is designed to remove NULL characters (ascii code: 0) from the CSV file.\nThis utility basically does the two things:\n\n- Replaces the NULL's with empty string\n- Removes the empty or only separator contained rows (if any)\n\n\n#### CSV Column Remover\n---\n```console\n$ csv-remove-column file column_number [options]\n```\n\nThis utility is designed to remove specific column from the CSV file.\n\n\n#### CSV Column Shifter\n---\n```console\n$ csv-shift-column file from_location to_location [options]\n```\n\nThis utility is designed to shift particular column within the CSV file.\n\n\n#### CSV Splitter\n---\n```console\n$ csv-split file number_of_records [options]\n```\n\nThis utility is designed to split the large CSV file into multiple CSV files by number of records.\n\n\n#### CSV Column Merger\n---\n```console\n$ csv-merge-columns file [options]\n```\n\nThis utility is designed to merge two or more columns of a CSV file.\n\n\n#### NDJSON Validator\n---\n```console\n$ ndjson-validate file [options]\n```\n\nThis utility is designed to validate the NDJSON file.\n\n\n#### NDJSON Key Remover\n---\n```console\n$ ndjson-remove-key file keyName [options]\n```\n\nThis utility is designed to remove a particular key (if exists) from all the records of a NDJSON file.\n\n\n#### NDJSON Key Merger\n---\n```console\n$ ndjson-merge-keys file --keys key1 key2 ... [options]\n```\n\nThis utility is designed to merge multiple keys of every record of a NDJSON file.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "pyCLI Utilities",
"version": "1.1.0",
"split_keywords": [
"cli",
"utils",
"cli-utils",
"csv",
"json"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ea100e11bc01ccff6921e579ed37b9ff994e8f97884d038eb0bfe5e249fb0a0b",
"md5": "08a6df4554f5e01970fdf47381badeab",
"sha256": "52facf5992ccddc5aaccdf37aac15ca6a985b80e39cb300bf2886ad40e800683"
},
"downloads": -1,
"filename": "pycli_utilities-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "08a6df4554f5e01970fdf47381badeab",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6.0",
"size": 23828,
"upload_time": "2023-02-04T05:59:56",
"upload_time_iso_8601": "2023-02-04T05:59:56.011830Z",
"url": "https://files.pythonhosted.org/packages/ea/10/0e11bc01ccff6921e579ed37b9ff994e8f97884d038eb0bfe5e249fb0a0b/pycli_utilities-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "27a906d8889022cc7bcf1e2a823e6cf13d7d303f54f6d8f118d3ec7f1c296964",
"md5": "61695481348ff8857f2588053d2f151c",
"sha256": "4294005689fcff7561c76ee96a19698996a36ee93fc8f971322784e677d6b85b"
},
"downloads": -1,
"filename": "pycli-utilities-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "61695481348ff8857f2588053d2f151c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6.0",
"size": 9711,
"upload_time": "2023-02-04T05:59:57",
"upload_time_iso_8601": "2023-02-04T05:59:57.174734Z",
"url": "https://files.pythonhosted.org/packages/27/a9/06d8889022cc7bcf1e2a823e6cf13d7d303f54f6d8f118d3ec7f1c296964/pycli-utilities-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-04 05:59:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "itsthevp",
"github_project": "pycli-utilities",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pycli-utilities"
}