{ "info": { "author": "Todd Flanders", "author_email": "toddfbass@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: MicroPython", "Topic :: Software Development :: Testing :: Mocking", "Topic :: Software Development :: Testing :: Unit" ], "description": "ESP32 Machine Emulator\n======================\n\n\nThe purpose of this package is to enable you to test-drive (TDD) your\nMicroPython code in an IDE running on your computer. It seems a lot\nof people are test-driving python, but not many are test-driving MicroPython.\nThat's understandable, since many MicroPython projects are simple, and\nemulating real hardware in a test environment is difficult.\n\nThe typical approach to emulating hardware is to replicate the hardware\nprogramming interface (the API). As of this writing, this library emulates\na very small slice of the ESP32 API. I don't know if the library will mature.\nHopefully I'll either flesh it out, someone else will take over, or a\nreplacement will emerge.\n\nIf you are unfamiliar with the benefits of TDD or test-driving python, I\nencourage you to take some time to Google and learn. I prefer the pytest\nlibrary over the unittest library that comes with python3, but you are free\nto test as you choose.\n\nGetting Started\n===============\n\nTake a look at the examples folder in the GitHub repository. Like I said,\nas of this writing, the library emulates a very small slice of the API,\nso if you don't see an example for something you want to do, the feature\nis not available. Feel free to contact me or fork the repo and send me\na pull request for the feature.\n\nHere is the github repo for this project:\nhttps://github.com/tflander/esp32-machine-emulator\n\nHere is the project on PyPi:\nhttps://pypi.org/project/esp32-machine-emulator\n\nNote that the examples are only in the GitHub repo, and are not part of the\nPyPi distribution.\n\nSupported Features\n==================\n\n- Emulating sending a GPIO digital out signal, and verifying the signal value.\n- Extending the time library to support sleep_ns() and sleep_ms()\n- Emulating the read pulse value of an input pin, such as that received by\n the echo pin of an HCSR04 Ultrasonic Distance Sensor.\n- Full emulation of HCSR04 Ultrasonic Distance Sensor in examples", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/tflander/esp32-machine-emulator/archive/v_01.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tflander/esp32-machine-emulator", "keywords": "ESP32,MicroPython,TDD", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "esp32-machine-emulator", "package_url": "https://pypi.org/project/esp32-machine-emulator/", "platform": "", "project_url": "https://pypi.org/project/esp32-machine-emulator/", "project_urls": { "Download": "https://github.com/tflander/esp32-machine-emulator/archive/v_01.tar.gz", "Homepage": "https://github.com/tflander/esp32-machine-emulator" }, "release_url": "https://pypi.org/project/esp32-machine-emulator/1.1.3/", "requires_dist": null, "requires_python": "", "summary": "esp32 machine package for test-driving code off-chip", "version": "1.1.3" }, "last_serial": 5738869, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "b3def0309818bb8a1b6db7e57b210ec5", "sha256": "436b8cd59dd1e987901b88a3e87b781555820d7bdac5ec87937c83c5b57d0e49" }, "downloads": -1, "filename": "esp32_machine_emulator-0.0.0.tar.gz", "has_sig": false, "md5_digest": "b3def0309818bb8a1b6db7e57b210ec5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2292, "upload_time": "2019-06-24T15:21:03", "url": "https://files.pythonhosted.org/packages/ee/da/1958da7105e9fa697fb438cc982fc567d4ff0775f7a256e814c808ee26bd/esp32_machine_emulator-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "5123bf723b058ba0e1f4b00af061caf3", "sha256": "dc907294b5c49f5a4df3569ebc23ded98a6cdde8cfc13de102b24d2d69094193" }, "downloads": -1, "filename": "esp32_machine_emulator-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5123bf723b058ba0e1f4b00af061caf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2318, "upload_time": "2019-06-24T15:46:27", "url": "https://files.pythonhosted.org/packages/7e/1f/8434725abb75109961960c587b7319331531374ff7abb4f8199a31f7a24b/esp32_machine_emulator-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "acfb4543c7fc76b446a0b2bb723400df", "sha256": "5d994f9bb89aa0bf6bed998c57d15b0958957a66aa77d19b46bd8609126294e0" }, "downloads": -1, "filename": "esp32_machine_emulator-0.0.2.tar.gz", "has_sig": false, "md5_digest": "acfb4543c7fc76b446a0b2bb723400df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2359, "upload_time": "2019-06-25T17:59:54", "url": "https://files.pythonhosted.org/packages/8f/7e/41fbeb67741df0b31356dae94134e8ba3ea4ee3e95f4dbc220476b086e88/esp32_machine_emulator-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "153610a5721b58dfe13bb5bc1dbf2e30", "sha256": "1b4fa4a8b5ad1128d1aaa755a1c3737146fff25e030fd5cb79eb291fc90547f7" }, "downloads": -1, "filename": "esp32_machine_emulator-0.0.3.tar.gz", "has_sig": false, "md5_digest": "153610a5721b58dfe13bb5bc1dbf2e30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2412, "upload_time": "2019-06-25T18:18:38", "url": "https://files.pythonhosted.org/packages/b8/8f/e5520c626454dc42a085376f5bf9e01816253c5c17c8ee4c47bafc460494/esp32_machine_emulator-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "c22c0d93873aee1e3744825731058940", "sha256": "f463ddcc53fd451f6edddd960f6ca8b5301f3cfd056bc9f5ed3a6bb91bcd39fb" }, "downloads": -1, "filename": "esp32_machine_emulator-0.0.4.tar.gz", "has_sig": false, "md5_digest": "c22c0d93873aee1e3744825731058940", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2422, "upload_time": "2019-06-25T19:53:36", "url": "https://files.pythonhosted.org/packages/96/59/f12751b2936e5a7532523d25c4fe7ce506aadc2c522ee13876d6952fcd93/esp32_machine_emulator-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "f1a52f7d9f8949e67ebdb0b61796e1f8", "sha256": "80539c7f22883f3fd63dc2245ab6dad733e8fc12e5648c57fadbb4943335c582" }, "downloads": -1, "filename": "esp32_machine_emulator-0.0.5.tar.gz", "has_sig": false, "md5_digest": "f1a52f7d9f8949e67ebdb0b61796e1f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3174, "upload_time": "2019-06-28T13:13:47", "url": "https://files.pythonhosted.org/packages/b3/3a/a71b5aadd253b21f1632086764df2cd5f34a87473a9d996bb8b4977a39be/esp32_machine_emulator-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "b0b3d8695693a46efb0399cf3063e789", "sha256": "8dec87635d1c4b18fd3c39e845ab78c8971d43c3434f7fc529f2994120ef0093" }, "downloads": -1, "filename": "esp32_machine_emulator-0.0.6.tar.gz", "has_sig": false, "md5_digest": "b0b3d8695693a46efb0399cf3063e789", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3471, "upload_time": "2019-06-28T17:09:17", "url": "https://files.pythonhosted.org/packages/88/f7/10d5810e59958fb728e1776fccdef3c3804eb015a616fcdeaf99af5361c7/esp32_machine_emulator-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "015bfbb429e099a469b79a9e1b0d7868", "sha256": "f6c251f7ebf94b9a83c6abd6e0cd585911b0fdf2b39d1997a4f84ca490b6f5cc" }, "downloads": -1, "filename": "esp32_machine_emulator-0.0.7.tar.gz", "has_sig": false, "md5_digest": "015bfbb429e099a469b79a9e1b0d7868", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3529, "upload_time": "2019-07-02T16:42:04", "url": "https://files.pythonhosted.org/packages/c3/7c/cdb18cd2742c3477a3e2fb36299305003dae547fb1a46e6fcb031fae6a53/esp32_machine_emulator-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "7f205981c69039d9608ec5a2bb64d724", "sha256": "92e383682d0079d33ec2ca900766ea9e9429741611f9bb435a35e19addc6e64e" }, "downloads": -1, "filename": "esp32_machine_emulator-0.0.8.tar.gz", "has_sig": false, "md5_digest": "7f205981c69039d9608ec5a2bb64d724", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4632, "upload_time": "2019-07-16T14:02:02", "url": "https://files.pythonhosted.org/packages/a6/6b/c135e2a1a03948c54fdcb5735a7d83b08064331397aa026ab6704ad16983/esp32_machine_emulator-0.0.8.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "153ac9d1afd9a465099adf2d1eeb8ff4", "sha256": "e870e39cbccb661a63aa7f9e636dc072df678b990fdc7d6265c051aa5fd6431d" }, "downloads": -1, "filename": "esp32_machine_emulator-1.0.0.tar.gz", "has_sig": false, "md5_digest": "153ac9d1afd9a465099adf2d1eeb8ff4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3556, "upload_time": "2019-08-01T16:36:42", "url": "https://files.pythonhosted.org/packages/d6/84/3e1f99fefe06c6de5399d7a94669c9afd0d306d2502c3c99952085f464a0/esp32_machine_emulator-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "5618c698aa06953fb34cfab3489c0226", "sha256": "6becacad34273010bd1ddb6b562c24934c483f803d20f7ed3cacd837c76d2b3c" }, "downloads": -1, "filename": "esp32_machine_emulator-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5618c698aa06953fb34cfab3489c0226", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4549, "upload_time": "2019-08-01T16:42:07", "url": "https://files.pythonhosted.org/packages/fb/8e/896cdd2c6f61e52c7f0a66c262235aed3aa493de6ed4ddc1990a47c5810e/esp32_machine_emulator-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "1b4a788adb03db8554241abed29a2b18", "sha256": "ba165abf584c72fb14fe4bd6ad2642d0a572d30b2ba2c2e96543b40ca9a54abc" }, "downloads": -1, "filename": "esp32_machine_emulator-1.1.0.tar.gz", "has_sig": false, "md5_digest": "1b4a788adb03db8554241abed29a2b18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4569, "upload_time": "2019-08-05T21:17:34", "url": "https://files.pythonhosted.org/packages/df/6d/e243b01bff0ee10d0a4d12e1138b27966ea844e073da1ef0df458e3ee4cc/esp32_machine_emulator-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "3c476202b8f2527b54d39bde6e239bc2", "sha256": "15d53a074b024973324a6d1b8dd2313003fc20848becdbc1ac4c3b6e9e32ce6d" }, "downloads": -1, "filename": "esp32_machine_emulator-1.1.1.tar.gz", "has_sig": false, "md5_digest": "3c476202b8f2527b54d39bde6e239bc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4851, "upload_time": "2019-08-26T17:24:25", "url": "https://files.pythonhosted.org/packages/ab/6e/1d7b3d0377d751e98b36deebfa92f746bb1251edf6385bc9b8f70e5e253e/esp32_machine_emulator-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "16be79a5679f9effda4c9214c45cb74c", "sha256": "158377406ed422ee40df1f10140c61451f0387de396f57d7f6ea243339549cea" }, "downloads": -1, "filename": "esp32_machine_emulator-1.1.2.tar.gz", "has_sig": false, "md5_digest": "16be79a5679f9effda4c9214c45cb74c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5057, "upload_time": "2019-08-26T17:49:33", "url": "https://files.pythonhosted.org/packages/91/81/3b8ce66ee07664ba07cd42f411109ff08085c93e2e5796c99da2364490a4/esp32_machine_emulator-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "d3068fb0dd87e5a7c1cc1367529b61a7", "sha256": "3d40de76d608f97e590d1ae9129848c4e2a0e6cc94cfb49edcb69010ee95f2bd" }, "downloads": -1, "filename": "esp32_machine_emulator-1.1.3.tar.gz", "has_sig": false, "md5_digest": "d3068fb0dd87e5a7c1cc1367529b61a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5130, "upload_time": "2019-08-27T18:26:29", "url": "https://files.pythonhosted.org/packages/8e/a0/a7c71c07c54c807a32ad0886f7c6d28272851cec4fe2b84640747663fd7c/esp32_machine_emulator-1.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3068fb0dd87e5a7c1cc1367529b61a7", "sha256": "3d40de76d608f97e590d1ae9129848c4e2a0e6cc94cfb49edcb69010ee95f2bd" }, "downloads": -1, "filename": "esp32_machine_emulator-1.1.3.tar.gz", "has_sig": false, "md5_digest": "d3068fb0dd87e5a7c1cc1367529b61a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5130, "upload_time": "2019-08-27T18:26:29", "url": "https://files.pythonhosted.org/packages/8e/a0/a7c71c07c54c807a32ad0886f7c6d28272851cec4fe2b84640747663fd7c/esp32_machine_emulator-1.1.3.tar.gz" } ] }