{ "info": { "author": "Caleb Hayashida", "author_email": "santeyio@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "##############################\nTraffic Light Simulator Goals\n##############################\n\nThis is an attempt to simulate a simple traffic light. You can specify how long you want each light show before it changes to the next light, as well as the number of cycles (green to red or red to green light changes) you want before the simulator stops running.\n\n#############################\nInstall\n#############################\n\nInstall with pip\n#####################\n\nYou may want to do this in a virtualenv if you don't want to clutter up your global packages. Certainly not necessary, but if you want to use a virtualenv just: ::\n\n $ virtuanelv testenv\n $ cd testenv\n $ . bin/activate\n\nThen simply install with pip: ::\n\n $ pip install traffic-light-simulator\n \nUsing the source files\n#######################\n\nSimply clone this repo. \n\n#############################\nRunning the simulator\n#############################\n\nIf you installed with pip, you have a script available to you to run the simulator. Simply enter into your terminal: ::\n\n $ traffic-light-simulator\n\nOtherwise, if you've cloned the repo, just run the traffic_light_simulator/user_interface.py with your interpreter: ::\n\n $ python user_interface.py\n\n\n#############################\nRunning the tests\n#############################\n\nThere are some tests that I wrote while writing the TrafficLight class, located in tests.py. If you want to run it simply run it with your interpreter ::\n\n $ python tests.py\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/santeyio/traffic-light-simulator/archive/0.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/santeyio/traffic-light-simulator", "keywords": "testing,example", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "traffic-light-simulator", "package_url": "https://pypi.org/project/traffic-light-simulator/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/traffic-light-simulator/", "project_urls": { "Download": "https://github.com/santeyio/traffic-light-simulator/archive/0.1.tar.gz", "Homepage": "https://github.com/santeyio/traffic-light-simulator" }, "release_url": "https://pypi.org/project/traffic-light-simulator/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "A Traffic Light Simulator", "version": "0.1.2" }, "last_serial": 2901591, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "06de91290e9941df6baa665f9a3eb19b", "sha256": "a428e58ac6ddd448908b69124d46f8d247600e925b06e19ed83975891d6b2ff8" }, "downloads": -1, "filename": "traffic-light-simulator-0.1.tar.gz", "has_sig": false, "md5_digest": "06de91290e9941df6baa665f9a3eb19b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3652, "upload_time": "2017-05-26T01:58:40", "url": "https://files.pythonhosted.org/packages/b1/00/625cfad5231f08d1b83db226305bc32f5d890faf9c50bfd070b8d8180095/traffic-light-simulator-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "12f69e93236a61c7e3fbea589d743a50", "sha256": "a9fe76b709c8dda9fa091833f8ee2efd703add8622356b456e644bbe8ffb68ed" }, "downloads": -1, "filename": "traffic-light-simulator-0.1.1.tar.gz", "has_sig": false, "md5_digest": "12f69e93236a61c7e3fbea589d743a50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3767, "upload_time": "2017-05-26T02:55:24", "url": "https://files.pythonhosted.org/packages/6d/83/601e71a953203f9ba7014f8943ab7a397ba298d9b4573d493d4a1f8d92c0/traffic-light-simulator-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "90f63d9c6c922d51cf74df9ca936cf97", "sha256": "51cf03c36ccaeeb6dd71c8c89c2d9371c7def35114813a57d7adad65b4f47ff6" }, "downloads": -1, "filename": "traffic-light-simulator-0.1.2.tar.gz", "has_sig": false, "md5_digest": "90f63d9c6c922d51cf74df9ca936cf97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3794, "upload_time": "2017-05-26T18:07:31", "url": "https://files.pythonhosted.org/packages/ee/ba/aa0cb564c6a01f173fa20d751d95a5435a27f8d97ceb4a97d689c3841eba/traffic-light-simulator-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "90f63d9c6c922d51cf74df9ca936cf97", "sha256": "51cf03c36ccaeeb6dd71c8c89c2d9371c7def35114813a57d7adad65b4f47ff6" }, "downloads": -1, "filename": "traffic-light-simulator-0.1.2.tar.gz", "has_sig": false, "md5_digest": "90f63d9c6c922d51cf74df9ca936cf97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3794, "upload_time": "2017-05-26T18:07:31", "url": "https://files.pythonhosted.org/packages/ee/ba/aa0cb564c6a01f173fa20d751d95a5435a27f8d97ceb4a97d689c3841eba/traffic-light-simulator-0.1.2.tar.gz" } ] }