pyfileloader


Namepyfileloader JSON
Version 0.0.7 PyPI version JSON
download
home_pageNone
SummaryLoad common JSON formats quickly, CSV too.
upload_time2024-09-05 23:47:55
maintainerScott Walsh
docs_urlNone
authorScott Walsh
requires_python>=3.7
licenseNone
keywords json jsonl ndjson gzip fileloader
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fileloader

`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": null,
    "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/12/25/b84a7c2bac16cb37a4065e0965c36ae8d37de9ceedcccb906f13819dbd37/pyfileloader-0.0.7.tar.gz",
    "platform": null,
    "description": "# fileloader\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": null,
    "summary": "Load common JSON formats quickly, CSV too.",
    "version": "0.0.7",
    "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": "d310b2bf5bef14f7a0647d842bd653f21854964de73c604b0d6f4028d5ec99c2",
                "md5": "5926bbb4484659b8906856d8859a64cf",
                "sha256": "d2344ad03e0a3af50b32a24b247cf20b14964c94c072d434c4520beb72df3f1a"
            },
            "downloads": -1,
            "filename": "pyfileloader-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5926bbb4484659b8906856d8859a64cf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 2600,
            "upload_time": "2024-09-05T23:47:54",
            "upload_time_iso_8601": "2024-09-05T23:47:54.624923Z",
            "url": "https://files.pythonhosted.org/packages/d3/10/b2bf5bef14f7a0647d842bd653f21854964de73c604b0d6f4028d5ec99c2/pyfileloader-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1225b84a7c2bac16cb37a4065e0965c36ae8d37de9ceedcccb906f13819dbd37",
                "md5": "fd096987d5f4badcf1230ddb6495e01c",
                "sha256": "38238d09495df42a3e555585cc12b9f84ffc27cb63fb840ade3d1d6192536a2f"
            },
            "downloads": -1,
            "filename": "pyfileloader-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "fd096987d5f4badcf1230ddb6495e01c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 2276,
            "upload_time": "2024-09-05T23:47:55",
            "upload_time_iso_8601": "2024-09-05T23:47:55.798620Z",
            "url": "https://files.pythonhosted.org/packages/12/25/b84a7c2bac16cb37a4065e0965c36ae8d37de9ceedcccb906f13819dbd37/pyfileloader-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-05 23:47:55",
    "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.32153s