pyfileloader


Namepyfileloader JSON
Version 0.0.4 PyPI version JSON
download
home_page
SummaryLoad common JSON formats quickly, CSV too.
upload_time2023-11-30 14:20:06
maintainerScott Walsh
docs_urlNone
authorScott Walsh
requires_python>=3.7
license
keywords json jsonl ndjson gzip fileloader
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # file_loader

`fileloader` are functions for quickly loading files into lists. Supported types
are `txt`, `jsonl/ndjson`, and `csv`.

### Building

`pip3 install build && python3 -m build`

### Installing

`pip3 install pyfileloader`

### Usage

```
>>> from fileloader import load_jsonl
>>> items = load_jsonl('test-10.jsonl')
>>> len(items)
10
>>> comp_items = load_jsonl('compress-10.jsonl.gz')
>>> len(comp_items)
10
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pyfileloader",
    "maintainer": "Scott Walsh",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "scott@invisiblethreat.ca",
    "keywords": "json,jsonl,ndjson,gzip,fileloader",
    "author": "Scott Walsh",
    "author_email": "scott@invisiblethreat.ca",
    "download_url": "https://files.pythonhosted.org/packages/49/a5/f3401736426b6761ebb433c98bcacf12f9edf36f9b6adc88d8e2adb3423b/pyfileloader-0.0.4.tar.gz",
    "platform": null,
    "description": "# file_loader\n\n`fileloader` are functions for quickly loading files into lists. Supported types\nare `txt`, `jsonl/ndjson`, and `csv`.\n\n### Building\n\n`pip3 install build && python3 -m build`\n\n### Installing\n\n`pip3 install pyfileloader`\n\n### Usage\n\n```\n>>> from fileloader import load_jsonl\n>>> items = load_jsonl('test-10.jsonl')\n>>> len(items)\n10\n>>> comp_items = load_jsonl('compress-10.jsonl.gz')\n>>> len(comp_items)\n10\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Load common JSON formats quickly, CSV too.",
    "version": "0.0.4",
    "project_urls": {
        "documentation": "https://github.com/invisiblethreat/pyfileloader/blob/main/README.md",
        "homepage": "https://github.com/invisiblethreat/pyfileloader",
        "repository": "https://github.com/invisiblethreat/pyfileloader"
    },
    "split_keywords": [
        "json",
        "jsonl",
        "ndjson",
        "gzip",
        "fileloader"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "302407b7d64e28d58894bb4346dd0b1869361d381624b39db6589029882018eb",
                "md5": "58dd680011b108f3064a33e2692b061d",
                "sha256": "1909878ad6bdba234cc0020dfb69a9b3cac116348b63d793e690959f7f0ae365"
            },
            "downloads": -1,
            "filename": "pyfileloader-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "58dd680011b108f3064a33e2692b061d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 2391,
            "upload_time": "2023-11-30T14:20:04",
            "upload_time_iso_8601": "2023-11-30T14:20:04.470897Z",
            "url": "https://files.pythonhosted.org/packages/30/24/07b7d64e28d58894bb4346dd0b1869361d381624b39db6589029882018eb/pyfileloader-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "49a5f3401736426b6761ebb433c98bcacf12f9edf36f9b6adc88d8e2adb3423b",
                "md5": "366975b2e39d3d2d5a93856c5a228da3",
                "sha256": "cfa1c757a77119b5e295010cc95aa51354ae2a183508a602b6e94f1a5d5dbb85"
            },
            "downloads": -1,
            "filename": "pyfileloader-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "366975b2e39d3d2d5a93856c5a228da3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 2047,
            "upload_time": "2023-11-30T14:20:06",
            "upload_time_iso_8601": "2023-11-30T14:20:06.538527Z",
            "url": "https://files.pythonhosted.org/packages/49/a5/f3401736426b6761ebb433c98bcacf12f9edf36f9b6adc88d8e2adb3423b/pyfileloader-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-30 14:20:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "invisiblethreat",
    "github_project": "pyfileloader",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyfileloader"
}
        
Elapsed time: 0.21109s