{ "info": { "author": "Krister Jazz Urog", "author_email": "kristerjazz.urog@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Complexity Science Package\n\nThis package is created mainly for convenience in doing complex systems research.\n\nThe design implementation and structure of the package is motivated for scalability and ease of use.\nOptimization maybe limited by the design, or the language itself.\n\n## Download\n\n`pip install complexity-science`\n\n-------------------------------------------------------------------------------------\n\n## Cellular Automata\n\nBasic usage:\n\n`import complexity_science.ca as cs`\n\n### 1-D CA\n\n`ca = cs.wolfram(N, 20) #creates a 1-Dimensional CA of N cells with wolfram rule number 20`\n\n`ca.initialize([50]) #initializes the 50th cell of the CA`\n\n`ca.run(100) #returns the resulting state of the CA for 100 iterations following the rule and plots the result with a default colormap`\n\n\n\n### 2-D CA\n\n`model = cs.brians_brain([128,128], toroidal=False)` \n\nInitializes a CA based on brians brain with toroidal boundary conditions\n\n\n\n#### *Available models*\n\n`cs.game([dim], toroidal=True)`\n\n`cs.applause([dim], alpha=1)`\n\n`cs.mpa([dim], percent_mpa=0)`\n\nThe `dim` parameter is the only required parameter for all models, others are optional. Parameters are set to default value if not specified.\n\n`alpha` and `percent_mpa` are examples of model specific parameters. \n\n**See model documentation for more information.**\n\n\n#### *Modifying Parameters* \n\nModels can be initialized randomly, binary, by index, using different functions\ne.g.\n\n`model.initialize_random()`\n\n`model.initialize_random_bin(0.5)`\n\n`model.initialize_random_int(0,2)`\n\n\nModels with specific parameters can be modified by this function.\n\n`model.modify_rule(parameter = new_value)` \n\n*See model documentation for more information on available parameters*\n\n\n\n### Adding rules and models\n\nPlease contact the author for more information.\n\n\n## *Animation* \n\n`model.animate(iteration=100)`\n\nIf `iteration` is not set, animation will continue infinitely. \n\n### Animation in jupyter notebook\n```\nimport complexity_science.ca as cs\nimport matplotlib.pyplot as plt\n\nfrom matplotlib import animation, rc\nfrom IPython.display import HTML\n```\n\nAn example `Game Of Life` animation will be as follows\n\n```\ngame = cs.game([50,50])\ngame.initialize_random_bin(0.5)\nanim = game.jyp_anim()\n\nHTML(anim.to_html5_video())\n```\n\n\n-----------------------------------------------------------------------------------------\n\n## Network Fragmentation\n\nCOMING SOON!\n\n# Contributing:\n\n`git clone https://github.com/KristerJazz/complexity-science.git`\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/complexity-science", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "complexity-science", "package_url": "https://pypi.org/project/complexity-science/", "platform": "", "project_url": "https://pypi.org/project/complexity-science/", "project_urls": { "Homepage": "https://github.com/complexity-science" }, "release_url": "https://pypi.org/project/complexity-science/0.0.6/", "requires_dist": [ "numpy", "matplotlib", "pandas" ], "requires_python": ">3.6", "summary": "A package for complexity science research", "version": "0.0.6", "yanked": false, "yanked_reason": null }, "last_serial": 9772570, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7232c4d3045ad2fe8cc3ee0e1d2123f4", "sha256": "b92c483ffebf09724fba8edc3e37b440153794329fa518aea8e72c778eef99bf" }, "downloads": -1, "filename": "complexity_science-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7232c4d3045ad2fe8cc3ee0e1d2123f4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6", "size": 5159, "upload_time": "2019-10-27T19:26:15", "upload_time_iso_8601": "2019-10-27T19:26:15.710905Z", "url": "https://files.pythonhosted.org/packages/6e/57/38417d0c0a910465e55db47e0dc1e478811ec7b4ba9c259f9c8bfad8a1ae/complexity_science-0.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "8f43d318398d2c9b0070f891930a90e2", "sha256": "6f50075fb9869e66437bce3ee7314ada0ca6da213a082a60d2626ef7bf184992" }, "downloads": -1, "filename": "complexity-science-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8f43d318398d2c9b0070f891930a90e2", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 3117, "upload_time": "2019-10-27T19:26:20", "upload_time_iso_8601": "2019-10-27T19:26:20.697060Z", "url": "https://files.pythonhosted.org/packages/15/9f/433f190384749301a553d9a24314bca800a3c23b0de1383cf25e06cbde07/complexity-science-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "1a5f3ad695ed26fb5f41c5666770d153", "sha256": "be227307c6331bf7fe0ef59c8ff34d221f8f0dfb7f828698bb7dacafd88dad02" }, "downloads": -1, "filename": "complexity_science-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "1a5f3ad695ed26fb5f41c5666770d153", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6", "size": 7431, "upload_time": "2019-10-29T22:13:53", "upload_time_iso_8601": "2019-10-29T22:13:53.684546Z", "url": "https://files.pythonhosted.org/packages/44/4c/1c4ab18c98fa03ceab709c02adb6f883b64d629efd6c14837e8fed4582f1/complexity_science-0.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "2f2fba6fe10ab7e74398e9d0604a797a", "sha256": "3ee611363522cffbdd00f689500c38f5d1915cc942931dbcefa3288f436df2ef" }, "downloads": -1, "filename": "complexity-science-0.0.2.tar.gz", "has_sig": false, "md5_digest": "2f2fba6fe10ab7e74398e9d0604a797a", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 4601, "upload_time": "2019-10-29T22:13:55", "upload_time_iso_8601": "2019-10-29T22:13:55.545967Z", "url": "https://files.pythonhosted.org/packages/db/b2/3c8434c549c99fc0b3c1e9b11c95e5d52a4c229b72cf3d5b14ec6af15d97/complexity-science-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "535e973223e4dd8f1930b6a08ef6bf7e", "sha256": "d69705dc1494ee125f9de739a5e43aecd6d44137e2aff724339c7ad3d1aa8e29" }, "downloads": -1, "filename": "complexity_science-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "535e973223e4dd8f1930b6a08ef6bf7e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6", "size": 16808, "upload_time": "2019-12-01T19:20:13", "upload_time_iso_8601": "2019-12-01T19:20:13.571191Z", "url": "https://files.pythonhosted.org/packages/0d/d4/1f3a37e5570d390556d0d882fdd88a5917cc33ea77ee122587c26787f715/complexity_science-0.0.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3f5568448ea8bc25a3502eeceb043fdf", "sha256": "8640f483ab25d4b664f5e411e0075e0e802a3ab5b0a208db50af1471340a760d" }, "downloads": -1, "filename": "complexity-science-0.0.3.tar.gz", "has_sig": false, "md5_digest": "3f5568448ea8bc25a3502eeceb043fdf", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 9985, "upload_time": "2019-12-01T19:20:15", "upload_time_iso_8601": "2019-12-01T19:20:15.324073Z", "url": "https://files.pythonhosted.org/packages/6d/8e/35d4ef7728725467ac27bba76e4a1d08dd66776823d939203eeb7edad913/complexity-science-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "5f9172036cd860bd5a2149e928a86041", "sha256": "65c59ffcbca6ed69d4ddc1ff391e609b7e9be3714af904fc6577b53236911459" }, "downloads": -1, "filename": "complexity_science-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "5f9172036cd860bd5a2149e928a86041", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6", "size": 18162, "upload_time": "2020-03-12T09:20:31", "upload_time_iso_8601": "2020-03-12T09:20:31.643624Z", "url": "https://files.pythonhosted.org/packages/b2/8b/475ea1efb682dc64f29d21f5293046254ac5c4f2502b456f038f43127644/complexity_science-0.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "4df8ec40a82802745dde519f31f4fc15", "sha256": "7d77f09d420f191b3149821cdb96d3ee56f8ff2c3b5d0ce3d6785c45e744d848" }, "downloads": -1, "filename": "complexity-science-0.0.4.tar.gz", "has_sig": false, "md5_digest": "4df8ec40a82802745dde519f31f4fc15", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 10584, "upload_time": "2020-03-12T09:20:33", "upload_time_iso_8601": "2020-03-12T09:20:33.934775Z", "url": "https://files.pythonhosted.org/packages/0a/bf/3e0c196e2c3a99335318adc646cf07a44ba3f7da70c5dda3791fa80f7ab6/complexity-science-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "2f470a1d0c26edda4a3d118601a0f494", "sha256": "2ed185f3cc874657aa88603c2d7c87e3a631109d8c6e2c039078f3147b5a9844" }, "downloads": -1, "filename": "complexity_science-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "2f470a1d0c26edda4a3d118601a0f494", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6", "size": 24968, "upload_time": "2020-04-11T15:01:25", "upload_time_iso_8601": "2020-04-11T15:01:25.864494Z", "url": "https://files.pythonhosted.org/packages/a3/77/ddf4c576b23792b9b70edc3a1df1ac4731903b224fe2266c62e89dd48994/complexity_science-0.0.5-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "34344e48a55bcca69d550c6a5ea61615", "sha256": "3e926871950c1537192f63edfef3487100e86f8c1a18800e2cae8f36d19eeada" }, "downloads": -1, "filename": "complexity-science-0.0.5.tar.gz", "has_sig": false, "md5_digest": "34344e48a55bcca69d550c6a5ea61615", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 12772, "upload_time": "2020-04-11T15:01:29", "upload_time_iso_8601": "2020-04-11T15:01:29.212954Z", "url": "https://files.pythonhosted.org/packages/78/56/909f099f232a09e394bdb2308d579121cc38c66ce779a652d967efcad4ca/complexity-science-0.0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "b3a008fa49b60cd2b37b2da6513ab57e", "sha256": "2ffc9279d8c6feab02f5041c754a27dda065763abe44b8be457355d6442b5a66" }, "downloads": -1, "filename": "complexity_science-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "b3a008fa49b60cd2b37b2da6513ab57e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6", "size": 25728, "upload_time": "2021-03-15T10:51:11", "upload_time_iso_8601": "2021-03-15T10:51:11.844164Z", "url": "https://files.pythonhosted.org/packages/b8/b6/21eea43fa14ba0ff1c54a04da6286cc3d4e191410c2fca8c333303cf9a35/complexity_science-0.0.6-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "cb99ce8f8940c03194ed1c1722e15dbe", "sha256": "0795fa64f01c1b1e7d1634a827ca77c49a24f9d4a58cbfb42b32b09b85c81f42" }, "downloads": -1, "filename": "complexity-science-0.0.6.tar.gz", "has_sig": false, "md5_digest": "cb99ce8f8940c03194ed1c1722e15dbe", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 13991, "upload_time": "2021-03-15T10:51:16", "upload_time_iso_8601": "2021-03-15T10:51:16.008452Z", "url": "https://files.pythonhosted.org/packages/92/81/713596dfd9fa1a1d03477f6a08d3743c5ee07b778ab522b818a08d4a8b24/complexity-science-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b3a008fa49b60cd2b37b2da6513ab57e", "sha256": "2ffc9279d8c6feab02f5041c754a27dda065763abe44b8be457355d6442b5a66" }, "downloads": -1, "filename": "complexity_science-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "b3a008fa49b60cd2b37b2da6513ab57e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6", "size": 25728, "upload_time": "2021-03-15T10:51:11", "upload_time_iso_8601": "2021-03-15T10:51:11.844164Z", "url": "https://files.pythonhosted.org/packages/b8/b6/21eea43fa14ba0ff1c54a04da6286cc3d4e191410c2fca8c333303cf9a35/complexity_science-0.0.6-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "cb99ce8f8940c03194ed1c1722e15dbe", "sha256": "0795fa64f01c1b1e7d1634a827ca77c49a24f9d4a58cbfb42b32b09b85c81f42" }, "downloads": -1, "filename": "complexity-science-0.0.6.tar.gz", "has_sig": false, "md5_digest": "cb99ce8f8940c03194ed1c1722e15dbe", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6", "size": 13991, "upload_time": "2021-03-15T10:51:16", "upload_time_iso_8601": "2021-03-15T10:51:16.008452Z", "url": "https://files.pythonhosted.org/packages/92/81/713596dfd9fa1a1d03477f6a08d3743c5ee07b778ab522b818a08d4a8b24/complexity-science-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }