json-file-split


Namejson-file-split JSON
Version 0.0.215 PyPI version JSON
download
home_pagehttps://github.com/fsai-dev/fsai-cli-tools
SummarySplit a json or jsonl file into equal chunks.
upload_time2023-12-11 23:27:46
maintainer
docs_urlNone
authorMichael Mohamed
requires_python>=3.7,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # json-file-split
Split a json or jsonl file into different chunks.

## Installation 
```shell
pip install json-file-split
```

## Usage
```shell
json-file-split \
--input_file_path ./tests/data/test.jsonl \
--save_to_dir /tmp/output/ \
--output_file_name test.jsonl \
--split_by number_of_buckets \
--batch_size 10
```
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fsai-dev/fsai-cli-tools",
    "name": "json-file-split",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Michael Mohamed",
    "author_email": "michael@foundationstack.com",
    "download_url": "https://files.pythonhosted.org/packages/34/5b/546ab5baa43ddd31bcf1c70e4be6481dd786090530e1cb727ba88508a8ac/json_file_split-0.0.215.tar.gz",
    "platform": null,
    "description": "# json-file-split\nSplit a json or jsonl file into different chunks.\n\n## Installation \n```shell\npip install json-file-split\n```\n\n## Usage\n```shell\njson-file-split \\\n--input_file_path ./tests/data/test.jsonl \\\n--save_to_dir /tmp/output/ \\\n--output_file_name test.jsonl \\\n--split_by number_of_buckets \\\n--batch_size 10\n```",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Split a json or jsonl file into equal chunks.",
    "version": "0.0.215",
    "project_urls": {
        "Homepage": "https://github.com/fsai-dev/fsai-cli-tools",
        "Repository": "https://github.com/fsai-dev/fsai-cli-tools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4fc489f7bf1ced1924a04941a4d9fdcf9c8ae40ba7c6c2de58b372b8d91961bb",
                "md5": "2c1edc00d745dd8fb9ffc93331122050",
                "sha256": "e2c11999ef6aa5dc9a54910263a867a99a48eca932e527bf4ef2ccaf41e43be6"
            },
            "downloads": -1,
            "filename": "json_file_split-0.0.215-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2c1edc00d745dd8fb9ffc93331122050",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 5382,
            "upload_time": "2023-12-11T23:27:42",
            "upload_time_iso_8601": "2023-12-11T23:27:42.096518Z",
            "url": "https://files.pythonhosted.org/packages/4f/c4/89f7bf1ced1924a04941a4d9fdcf9c8ae40ba7c6c2de58b372b8d91961bb/json_file_split-0.0.215-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "345b546ab5baa43ddd31bcf1c70e4be6481dd786090530e1cb727ba88508a8ac",
                "md5": "19f21f8e2fb104cf2041bd6e60069d6a",
                "sha256": "944def2f3c6a14176ea0fa4c38e2960187ca78ae1111b15ea60d65ee820d07ec"
            },
            "downloads": -1,
            "filename": "json_file_split-0.0.215.tar.gz",
            "has_sig": false,
            "md5_digest": "19f21f8e2fb104cf2041bd6e60069d6a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 3574,
            "upload_time": "2023-12-11T23:27:46",
            "upload_time_iso_8601": "2023-12-11T23:27:46.513667Z",
            "url": "https://files.pythonhosted.org/packages/34/5b/546ab5baa43ddd31bcf1c70e4be6481dd786090530e1cb727ba88508a8ac/json_file_split-0.0.215.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-11 23:27:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fsai-dev",
    "github_project": "fsai-cli-tools",
    "github_not_found": true,
    "lcname": "json-file-split"
}
        
Elapsed time: 0.17242s