rxsci


Namerxsci JSON
Version 0.28.0 PyPI version JSON
download
home_pageNone
SummaryReactiveX for data science
upload_time2024-09-23 20:58:52
maintainerNone
docs_urlNone
authorRomain Picard
requires_python>=3.8
licenseMIT License Copyright (c) 2020, Romain Picard Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords reactivex streaming data-science
VCS
bugtrack_url
requirements distogram python-dateutil Rx orjson zstandard
Travis-CI No Travis.
coveralls test coverage
            =======================
|makinage-logo| RxSci
=======================

.. |makinage-logo| image:: https://github.com/maki-nage/makinage/raw/master/asset/makinage_logo.png

.. image:: https://img.shields.io/pypi/v/rxsci.svg
    :target: https://pypi.org/project/rxsci/
    :alt: PyPI

.. image:: https://github.com/maki-nage/rxsci/workflows/Python%20package/badge.svg
    :target: https://github.com/maki-nage/rxsci/actions?query=workflow%3A%22Python+package%22
    :alt: Github WorkFlows

.. image:: https://coveralls.io/repos/github/maki-nage/rxsci/badge.svg?branch=master
    :target: https://coveralls.io/github/maki-nage/rxsci?branch=master
    :alt: Code Coverage

.. image:: https://github.com/maki-nage/rxsci/raw/master/asset/apis_read.svg
    :target: https://www.makinage.org/doc/rxsci/latest/index.html
    :alt: Documentation


ReactiveX operators for data science and machine learning.

RxSci is a set of RxPY operators and observable factories dedicated to data
science. Being reactive, RxSci is especially suited to work on streaming data
and time series.

However it can also be used on traditional datasets. Such datasets are processed
as bounded streams by RxSci. So it is possible to use RxSci for both streaming
data and file based datasets. This is especially useful when a
machine learning model is trained with a dataset and deployed on streaming data. 

Get Started
============

This example computes a rolling mean on a window and stride of three elements:

.. code:: Python

    import rx
    import rxsci as rs

    source = [1, 2, 3, 4, 5, 6, 7]

    rx.from_(source).pipe(
        rs.state.with_memory_store([
            rs.data.roll(window=3, stride=3, pipeline=[
                rs.math.mean(reduce=True),
            ]),
        ]),
    ).subscribe(
        on_next=print
    )

.. code:: console

    2.0
    5.0


See the
`Maki Nage documentation <https://www.makinage.org/doc/makinage-book/latest/index.html>`_
for more information.

Installation
=============

RxSci is available on PyPi and can be installed with pip:

.. code:: console

    python3 -m pip install rxsci

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rxsci",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "reactivex, streaming, data-science",
    "author": "Romain Picard",
    "author_email": "romain.picard@oakbits.com",
    "download_url": "https://files.pythonhosted.org/packages/5b/1e/a43549d5a6b1a7a5204c218fddb4402a47f427a618103145b2cf64a2e21a/rxsci-0.28.0.tar.gz",
    "platform": null,
    "description": "=======================\n|makinage-logo| RxSci\n=======================\n\n.. |makinage-logo| image:: https://github.com/maki-nage/makinage/raw/master/asset/makinage_logo.png\n\n.. image:: https://img.shields.io/pypi/v/rxsci.svg\n    :target: https://pypi.org/project/rxsci/\n    :alt: PyPI\n\n.. image:: https://github.com/maki-nage/rxsci/workflows/Python%20package/badge.svg\n    :target: https://github.com/maki-nage/rxsci/actions?query=workflow%3A%22Python+package%22\n    :alt: Github WorkFlows\n\n.. image:: https://coveralls.io/repos/github/maki-nage/rxsci/badge.svg?branch=master\n    :target: https://coveralls.io/github/maki-nage/rxsci?branch=master\n    :alt: Code Coverage\n\n.. image:: https://github.com/maki-nage/rxsci/raw/master/asset/apis_read.svg\n    :target: https://www.makinage.org/doc/rxsci/latest/index.html\n    :alt: Documentation\n\n\nReactiveX operators for data science and machine learning.\n\nRxSci is a set of RxPY operators and observable factories dedicated to data\nscience. Being reactive, RxSci is especially suited to work on streaming data\nand time series.\n\nHowever it can also be used on traditional datasets. Such datasets are processed\nas bounded streams by RxSci. So it is possible to use RxSci for both streaming\ndata and file based datasets. This is especially useful when a\nmachine learning model is trained with a dataset and deployed on streaming data. \n\nGet Started\n============\n\nThis example computes a rolling mean on a window and stride of three elements:\n\n.. code:: Python\n\n    import rx\n    import rxsci as rs\n\n    source = [1, 2, 3, 4, 5, 6, 7]\n\n    rx.from_(source).pipe(\n        rs.state.with_memory_store([\n            rs.data.roll(window=3, stride=3, pipeline=[\n                rs.math.mean(reduce=True),\n            ]),\n        ]),\n    ).subscribe(\n        on_next=print\n    )\n\n.. code:: console\n\n    2.0\n    5.0\n\n\nSee the\n`Maki Nage documentation <https://www.makinage.org/doc/makinage-book/latest/index.html>`_\nfor more information.\n\nInstallation\n=============\n\nRxSci is available on PyPi and can be installed with pip:\n\n.. code:: console\n\n    python3 -m pip install rxsci\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2020, Romain Picard  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "ReactiveX for data science",
    "version": "0.28.0",
    "project_urls": {
        "repository": "https://github.com/maki-nage/rxsci.git"
    },
    "split_keywords": [
        "reactivex",
        " streaming",
        " data-science"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b1ea43549d5a6b1a7a5204c218fddb4402a47f427a618103145b2cf64a2e21a",
                "md5": "2ca8875ab8899147f055d193a7705faa",
                "sha256": "5fc0d092e71ec64481e2ab31a4d54c9e94ff634ea5cd4bf58a8367a248cbd8fd"
            },
            "downloads": -1,
            "filename": "rxsci-0.28.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2ca8875ab8899147f055d193a7705faa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 37836,
            "upload_time": "2024-09-23T20:58:52",
            "upload_time_iso_8601": "2024-09-23T20:58:52.365257Z",
            "url": "https://files.pythonhosted.org/packages/5b/1e/a43549d5a6b1a7a5204c218fddb4402a47f427a618103145b2cf64a2e21a/rxsci-0.28.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-23 20:58:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "maki-nage",
    "github_project": "rxsci",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [
        {
            "name": "distogram",
            "specs": [
                [
                    ">=",
                    "2.0"
                ]
            ]
        },
        {
            "name": "python-dateutil",
            "specs": [
                [
                    ">=",
                    "2.8"
                ]
            ]
        },
        {
            "name": "Rx",
            "specs": [
                [
                    ">=",
                    "3.1.1"
                ]
            ]
        },
        {
            "name": "orjson",
            "specs": [
                [
                    ">=",
                    "3.9"
                ]
            ]
        },
        {
            "name": "zstandard",
            "specs": [
                [
                    "==",
                    "0.21.0"
                ]
            ]
        }
    ],
    "lcname": "rxsci"
}
        
Elapsed time: 0.65519s