pystreamer


Namepystreamer JSON
Version 0.4.3 PyPI version JSON
download
home_pagehttps://github.com/Arnoldosmium/pystreamer
SummaryA lazy evaluating, memory friendly, chainable stream solution
upload_time2025-01-23 02:23:26
maintainerNone
docs_urlNone
authorArnold Y. Lin
requires_pythonNone
licenseNone
keywords stream generator chain
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pystreamer

A lazy evaluating, memory friendly, chainable stream solution.

Inspired by the syntactical sugar of Java stream.

```python
from streamer import Stream
with open("myfile.txt") as f_input:
    uniq = Stream(f_input) \
        .map(str.strip) \
        .flat_map(str.split) \
        .collect(set)   # uniq tokens in a file
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Arnoldosmium/pystreamer",
    "name": "pystreamer",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "stream generator chain",
    "author": "Arnold Y. Lin",
    "author_email": "contact@arnoldlin.tech",
    "download_url": "https://files.pythonhosted.org/packages/54/28/a9189833cdf61e0346917b2b31b63a54f7fbebc5a67c9f33e80c36763b42/pystreamer-0.4.3.tar.gz",
    "platform": null,
    "description": "# pystreamer\n\nA lazy evaluating, memory friendly, chainable stream solution.\n\nInspired by the syntactical sugar of Java stream.\n\n```python\nfrom streamer import Stream\nwith open(\"myfile.txt\") as f_input:\n    uniq = Stream(f_input) \\\n        .map(str.strip) \\\n        .flat_map(str.split) \\\n        .collect(set)   # uniq tokens in a file\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A lazy evaluating, memory friendly, chainable stream solution",
    "version": "0.4.3",
    "project_urls": {
        "Download": "https://pypi.org/project/pyStreamer/",
        "Homepage": "https://github.com/Arnoldosmium/pystreamer"
    },
    "split_keywords": [
        "stream",
        "generator",
        "chain"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a67c29568afa21e3a090c1bc99defb223ae8215e870a55c3d138999d91fd308e",
                "md5": "8592c9add4632c0fb5b32057070485a7",
                "sha256": "746d52e9872c96e13f5b4ab4783e59401252d46039314fbd7df0b1ea43d524a2"
            },
            "downloads": -1,
            "filename": "pystreamer-0.4.3-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8592c9add4632c0fb5b32057070485a7",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 14169,
            "upload_time": "2025-01-23T02:23:25",
            "upload_time_iso_8601": "2025-01-23T02:23:25.419334Z",
            "url": "https://files.pythonhosted.org/packages/a6/7c/29568afa21e3a090c1bc99defb223ae8215e870a55c3d138999d91fd308e/pystreamer-0.4.3-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5428a9189833cdf61e0346917b2b31b63a54f7fbebc5a67c9f33e80c36763b42",
                "md5": "b96e261b7d302c60ef91b02b5f9e1c65",
                "sha256": "e71617f08b02db2781ffcf93bf1faaa930723ff0a791bff0a3e0b95f4c109cfe"
            },
            "downloads": -1,
            "filename": "pystreamer-0.4.3.tar.gz",
            "has_sig": false,
            "md5_digest": "b96e261b7d302c60ef91b02b5f9e1c65",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 15122,
            "upload_time": "2025-01-23T02:23:26",
            "upload_time_iso_8601": "2025-01-23T02:23:26.988668Z",
            "url": "https://files.pythonhosted.org/packages/54/28/a9189833cdf61e0346917b2b31b63a54f7fbebc5a67c9f33e80c36763b42/pystreamer-0.4.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-23 02:23:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Arnoldosmium",
    "github_project": "pystreamer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pystreamer"
}
        
Elapsed time: 1.72753s