{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3" ], "description": "# Rolling Window\n## A generic rolling window function for analytics\n\n\nInstall with:\n```\npip install rolling_window\n```\n\n(To be expanded on)\n\nExample of use (see test files for some more details):\n\n```\nfrom dataclasses import dataclass\nimport random\n\n@dataclass\nclass PressureData:\n time: int\n pressure: float\n\nwindow = RollingWindow(window_type = 'sliding', datastructure=PressureData, sort=False, persistance=False, window_options=window_options)\n\nfor ii in range(0,N):\n data = PressureData(time=ii, pressure=round(random.uniform(2,20),2) )\n await rolling_window.add_data(id = window_id, data=data)\n data_to_process = rolling_window.send(id=window_id)\n\n```\n\nwhen data is available to the processed 'data_to_process' will return a numpy representation of the data in a structured array\n\n## License\n\nThis project is licensed under the MIT License\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "rolling-window", "package_url": "https://pypi.org/project/rolling-window/", "platform": "", "project_url": "https://pypi.org/project/rolling-window/", "project_urls": null, "release_url": "https://pypi.org/project/rolling-window/0.1.2/", "requires_dist": [ "hickle", "paco", "numpy" ], "requires_python": ">=3.7", "summary": "", "version": "0.1.2" }, "last_serial": 4568858, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "97e3c4d72daf482d0851d2acd587233d", "sha256": "01c1658f04b8ba656894884f11b0a38553432ce09683e94ac20d30f08f75bbea" }, "downloads": -1, "filename": "rolling_window-0.1-py3.7.egg", "has_sig": false, "md5_digest": "97e3c4d72daf482d0851d2acd587233d", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": ">=3.7", "size": 13512, "upload_time": "2018-12-06T16:04:39", "url": "https://files.pythonhosted.org/packages/0b/48/5f5a9eee446fcca01ff6c333d2c43850a81030eed0bd1b733832e9c75d0b/rolling_window-0.1-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "9d9a028ec9587fb06703f9cfc32c19a2", "sha256": "db3dfc22e532002459bee2ae1820d2339231a4794ec7d9879babae7f02a59199" }, "downloads": -1, "filename": "rolling_window-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9d9a028ec9587fb06703f9cfc32c19a2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 7041, "upload_time": "2018-12-06T16:04:36", "url": "https://files.pythonhosted.org/packages/93/38/8e8d8ce7176c4ac71ef215188d9c14347c10223601a875e97d34204d84e6/rolling_window-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3dd657c9f752da3fea3928990d42f5cf", "sha256": "80b46fc3591cb236603b8e25fd3311724866676d6d1a6319ca26b2cfe5f51624" }, "downloads": -1, "filename": "rolling_window-0.1.tar.gz", "has_sig": false, "md5_digest": "3dd657c9f752da3fea3928990d42f5cf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 4691, "upload_time": "2018-12-06T16:04:40", "url": "https://files.pythonhosted.org/packages/ff/40/aeffa084aeaf7fc7e43bcea1d9cb2a6ed50bb9ff9a36c54dbad142431c6f/rolling_window-0.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "df733bc5d7991902cc7a6dc9fc1c1e23", "sha256": "fa4b9e80b641aa470a90900413873541a87e5d697ef5b6ef8046f5c1d2fe9c19" }, "downloads": -1, "filename": "rolling_window-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "df733bc5d7991902cc7a6dc9fc1c1e23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 7019, "upload_time": "2018-12-06T17:50:57", "url": "https://files.pythonhosted.org/packages/2d/33/efccdf8e01f17096d4281d92e27ae111a8b5cd4081c8b5279c17200c4836/rolling_window-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a91e159086f58637edd57f5e8c21d164", "sha256": "ffdda5a6e696ac2c04005ebaab89abd8a3af097f659bb6a28d8db342da830e47" }, "downloads": -1, "filename": "rolling_window-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a91e159086f58637edd57f5e8c21d164", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 4690, "upload_time": "2018-12-06T17:50:58", "url": "https://files.pythonhosted.org/packages/fe/01/b064b154d2f88327193d9b87d226f16df54898e5e1cf1e744c9f44275b63/rolling_window-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "df733bc5d7991902cc7a6dc9fc1c1e23", "sha256": "fa4b9e80b641aa470a90900413873541a87e5d697ef5b6ef8046f5c1d2fe9c19" }, "downloads": -1, "filename": "rolling_window-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "df733bc5d7991902cc7a6dc9fc1c1e23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 7019, "upload_time": "2018-12-06T17:50:57", "url": "https://files.pythonhosted.org/packages/2d/33/efccdf8e01f17096d4281d92e27ae111a8b5cd4081c8b5279c17200c4836/rolling_window-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a91e159086f58637edd57f5e8c21d164", "sha256": "ffdda5a6e696ac2c04005ebaab89abd8a3af097f659bb6a28d8db342da830e47" }, "downloads": -1, "filename": "rolling_window-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a91e159086f58637edd57f5e8c21d164", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 4690, "upload_time": "2018-12-06T17:50:58", "url": "https://files.pythonhosted.org/packages/fe/01/b064b154d2f88327193d9b87d226f16df54898e5e1cf1e744c9f44275b63/rolling_window-0.1.2.tar.gz" } ] }