{"id":26735843,"url":"https://github.com/denismaggior8/micropython-enigma-python","last_synced_at":"2026-01-06T15:16:29.748Z","repository":{"id":275942257,"uuid":"926408403","full_name":"denismaggior8/micropython-enigma-python","owner":"denismaggior8","description":"The enigmapython wrapper package for MicroPython environment","archived":false,"fork":false,"pushed_at":"2025-12-12T10:15:30.000Z","size":80,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T22:36:36.967Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denismaggior8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-03T07:42:59.000Z","updated_at":"2025-12-12T10:15:08.000Z","dependencies_parsed_at":"2025-12-12T15:03:19.669Z","dependency_job_id":null,"html_url":"https://github.com/denismaggior8/micropython-enigma-python","commit_stats":null,"previous_names":["denismaggior8/micropython-enigma-python"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/denismaggior8/micropython-enigma-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismaggior8%2Fmicropython-enigma-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismaggior8%2Fmicropython-enigma-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismaggior8%2Fmicropython-enigma-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismaggior8%2Fmicropython-enigma-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denismaggior8","download_url":"https://codeload.github.com/denismaggior8/micropython-enigma-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismaggior8%2Fmicropython-enigma-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27765536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-28T02:02:13.126Z","updated_at":"2025-12-16T13:47:22.501Z","avatar_url":"https://github.com/denismaggior8.png","language":"Python","readme":"# The [enigmapython](https://github.com/denismaggior8/enigma-python) wrapper package for MicroPython environment\n\nI'm thrilled to announce that [enigmapython](https://github.com/denismaggior8/enigma-python), my powerful Enigma machine emulator, is now available on [MicroPython](https://micropython.org)! 🚀\n\n🔹 Why is this exciting?\n\n[enigmapython](https://github.com/denismaggior8/enigma-python) isn’t just a package... it’s a historically accurate and educational tool that allows students, researchers, and history enthusiasts to explore WWII cryptography hands-on. \n\nNow, with MicroPython support, you can run it on embedded devices like ESP32, Raspberry Pi Pico, and other microcontrollers!\n\n🔹 How This Helps Education \u0026 Research\n\n✅ Cryptography Lessons – Learn how encryption shaped history by experimenting with real Enigma machine settings on resource-constrained devices.\n\n✅ Historical Research – Recreate encoded wartime messages and decrypt them just like WWII codebreakers.\n\n✅ STEM \u0026 Embedded Systems – Run an Enigma emulator on a microcontroller, making learning cryptography more interactive than ever!\n\n## Installation\n\nUsing mip (on network enabled devices):\n\n```python\nimport mip\nmip.install(\"github:denismaggior8/micropython-enigma-python\", version=\"1.2.3\")\n```\n\n## Releases\n\nThis repo mirrors the **enigmapython** releases on PyPi, meaning that by installing **micropython-enigma-python** version 1.2.3 (as in the example above) you get the **enigmapython** 1.2.3 PyPi equivalent.\n\n## Examples\n\nThis is a very simple MicroPython snippet that shows how to use the library (once installed in the system)\n\n```python\n# Import enigmapython modules\nfrom enigmapython.EnigmaB_A133RotorI import EnigmaB_A133RotorI\nfrom enigmapython.EnigmaB_A133Etw import EnigmaB_A133Etw\nfrom enigmapython.EnigmaB_A133 import EnigmaB_A133\nfrom enigmapython.ReflectorUKW_EnigmaB_A133 import ReflectorUKW_EnigmaB_A133\n\n# Setup Enigma machine components\nrotor1 = EnigmaB_A133RotorI(ring=0,position=0)\nrotor2 = EnigmaB_A133RotorI(ring=0,position=0)\nrotor3 = EnigmaB_A133RotorI(ring=0,position=0)\nreflector = ReflectorUKW_EnigmaB_A133()\netw = EnigmaB_A133Etw()\n\n# Setup Enigma B machine\nenigma = EnigmaB_A133(rotor3, rotor2, rotor1, reflector, etw, True)\n\n# Let's encrypt a string\nprint(enigma.input_string(\"denis\"))\n```\n\nTo get more examples you can inspect this repo's [examples](./examples) folder or the original **enigmapython** examples [here](https://github.com/denismaggior8/enigma-python/tree/master/examples).\n\n## Tested hardware\n\n| Machine | enigmapython version  | MP version  | HW architecture |\n|---|---|---|---|\n| ESP32 Wroom 32  | 1.2.3  | 1.24.1 | Xtensa 32-bit LX6 |\n| macOS Sequoia 15.3 | 1.2.3 | 1.24.1 | Apple Silicon (M2 Max)  |\n|   |   |   |   |\n\nIf you run **enigmapython** on hardware not yet listed here, drop me an email at denis.maggiorotto[at]gmail.com or open a PR.  \n\n\u003e**Be aware:**\n\u003e**ESP8266**-like boards are currently UNSUPPORTED due to their low memory\n\n## Support\n\nFound it useful/funny/educational? Please consider to [![Buy Me a Coffee](https://img.shields.io/badge/buy_me_a_coffee-FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/denismaggior8)","funding_links":["https://www.buymeacoffee.com/denismaggior8"],"categories":["Libraries","Recently Updated"],"sub_categories":["Cryptography","[Mar 25, 2025](/content/2025/03/25/README.md)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenismaggior8%2Fmicropython-enigma-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenismaggior8%2Fmicropython-enigma-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenismaggior8%2Fmicropython-enigma-python/lists"}