{ "info": { "author": "Emerson Knapp", "author_email": "emerson.b.knapp@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7" ], "description": "Python port of redux library\n\nSimple example app:\n\n```\nfrom redux import create_store, actiontypes, frozenbunch\n\naction_types = actiontypes('myapp', 'increment decrement')\n\ndef app_reducer(state, action):\n if state is None:\n return frozenbunch(counter=0)\n if action.type == action_types.increment:\n return state.copy(counter=state.counter + 1)\n elif action.type == action_types.decrement:\n return state.copy(counter=state.counter - 1)\n return state\n\nstore = create_store(app_reducer)\n```\n\nThe frozenbunch type is an immutable version of the Bunch pattern, whose members can be accessed by item or by attribute. For example:\n\n```\nx = frozenbunch(foo=12, bar=7)\nx['foo']\nx.foo\nx['foo'] = 17\nx.foo = 17\nx = x.copy(bar=17)\n```\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/emersonknapp/pyredux", "keywords": "redux development state ui", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "py-redux", "package_url": "https://pypi.org/project/py-redux/", "platform": "", "project_url": "https://pypi.org/project/py-redux/", "project_urls": { "Homepage": "https://github.com/emersonknapp/pyredux" }, "release_url": "https://pypi.org/project/py-redux/0.2.2/", "requires_dist": [ "frozendict" ], "requires_python": "", "summary": "python implementation of the redux library", "version": "0.2.2" }, "last_serial": 2688431, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7e395a50fdfa986a7e46e72982cfb971", "sha256": "64342161f452f251d0e1cb7ab2efc41f5fad325aa3a16691228bdc1936843be4" }, "downloads": -1, "filename": "py_redux-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7e395a50fdfa986a7e46e72982cfb971", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7498, "upload_time": "2017-03-07T02:45:10", "url": "https://files.pythonhosted.org/packages/8c/7e/b4624f48d04fdaf3fb9432649e46e1789f481d3573e8e4c0ddaf38c88371/py_redux-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c815f5e932c10d5733c63ed2f3937d4", "sha256": "dbad7f9f057a4e964383d8fbaa0ce8708b76d9935d72d0fdabb1a63ff92b11b1" }, "downloads": -1, "filename": "py-redux-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1c815f5e932c10d5733c63ed2f3937d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4700, "upload_time": "2017-03-07T02:45:11", "url": "https://files.pythonhosted.org/packages/ac/bd/3865fbcb09e3a79fd7d7518b5651a004fbea59bc8a8ee6ff6643dc8dd55a/py-redux-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9329ff4aa5b5287c554f830998b6f748", "sha256": "33bf64dbfe7343a08ec12a54b5b3bcd2505cad4b7324bb93210c4afbfa2feb8d" }, "downloads": -1, "filename": "py_redux-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9329ff4aa5b5287c554f830998b6f748", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7502, "upload_time": "2017-03-07T02:56:59", "url": "https://files.pythonhosted.org/packages/12/6f/f6c389c551d155811deb665ba37fabf4b77744c07abf414f065165c4ab26/py_redux-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fda47a81d8a6ef91c03641b4b76df868", "sha256": "ba1908d07b9483a8febf290e4769546ac81a1d02e8a547f5cb34a8bd242d4e19" }, "downloads": -1, "filename": "py-redux-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fda47a81d8a6ef91c03641b4b76df868", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4705, "upload_time": "2017-03-07T02:57:01", "url": "https://files.pythonhosted.org/packages/ea/72/c6b25511a98f9574de19a78f507f39b69f0f0367f556cdc858ad9bbbe984/py-redux-0.1.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "a2150069b86485e04542ecb38a99ecb1", "sha256": "ef3235beae7ac600a56ca3bdbd8684071ef72803100973a70762365a7a1ea688" }, "downloads": -1, "filename": "py_redux-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a2150069b86485e04542ecb38a99ecb1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7592, "upload_time": "2017-03-07T10:13:52", "url": "https://files.pythonhosted.org/packages/43/e3/1ab41d7b987a6bd3af2a87a779ea1f4a17c52a59a194901f96da152a2c3d/py_redux-0.2.1-py2.py3-none-any.whl" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "b5c615607b1fc3bc4f603b6d0a432cb5", "sha256": "a6855e8737cf97857fa74a1f39f0a77fc2dee0adb2a8495e517cb2e520231dd3" }, "downloads": -1, "filename": "py_redux-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b5c615607b1fc3bc4f603b6d0a432cb5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7595, "upload_time": "2017-03-07T10:25:03", "url": "https://files.pythonhosted.org/packages/c7/62/9f41513b413f4941ff8cbd7cc101c24995b4f609eabefb25fb4e2b407436/py_redux-0.2.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b5c615607b1fc3bc4f603b6d0a432cb5", "sha256": "a6855e8737cf97857fa74a1f39f0a77fc2dee0adb2a8495e517cb2e520231dd3" }, "downloads": -1, "filename": "py_redux-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b5c615607b1fc3bc4f603b6d0a432cb5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7595, "upload_time": "2017-03-07T10:25:03", "url": "https://files.pythonhosted.org/packages/c7/62/9f41513b413f4941ff8cbd7cc101c24995b4f609eabefb25fb4e2b407436/py_redux-0.2.2-py2.py3-none-any.whl" } ] }