{"id":29643421,"url":"https://github.com/pybricks/pybricks-micropython","last_synced_at":"2025-07-21T23:36:39.288Z","repository":{"id":39824424,"uuid":"185628694","full_name":"pybricks/pybricks-micropython","owner":"pybricks","description":"MicroPython firmware for Pybricks-compatible devices.","archived":false,"fork":false,"pushed_at":"2025-07-14T14:49:07.000Z","size":17889,"stargazers_count":270,"open_issues_count":11,"forks_count":76,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-07-14T18:39:39.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pybricks.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["pybricks"]}},"created_at":"2019-05-08T15:03:02.000Z","updated_at":"2025-07-14T14:49:11.000Z","dependencies_parsed_at":"2023-02-11T00:15:32.773Z","dependency_job_id":"ceb61938-5be1-4af6-85fb-2dcfc7a6bd64","html_url":"https://github.com/pybricks/pybricks-micropython","commit_stats":{"total_commits":5165,"total_committers":76,"mean_commits":67.96052631578948,"dds":0.4861568247821878,"last_synced_commit":"4cd1e85e7db73d16b93e14861777ce523a2dff8a"},"previous_names":[],"tags_count":159,"template":false,"template_full_name":null,"purl":"pkg:github/pybricks/pybricks-micropython","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybricks%2Fpybricks-micropython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybricks%2Fpybricks-micropython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybricks%2Fpybricks-micropython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybricks%2Fpybricks-micropython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pybricks","download_url":"https://codeload.github.com/pybricks/pybricks-micropython/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybricks%2Fpybricks-micropython/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265353708,"owners_count":23751936,"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","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-07-21T23:36:38.737Z","updated_at":"2025-07-21T23:36:39.279Z","avatar_url":"https://github.com/pybricks.png","language":"C","funding_links":["https://github.com/sponsors/pybricks"],"categories":[],"sub_categories":[],"readme":"## Quick links\n\n- :arrow_right: [Try the latest **stable** release][Pybricks Code].\n- :arrow_right: [Try the latest **beta** release][Pybricks Code Beta].\n- :arrow_right: You can now [**sponsor**][sponsors] this project!\n\n## Issues \u0026 discussion\n- :arrow_right: [Issues for all Pybricks repositories](https://github.com/pybricks/support/issues).\n- :arrow_right: [Discussions for all Pybricks repositories](https://github.com/orgs/pybricks/discussions).\n\n# Pybricks\n\nPybricks brings Python-like coding to programmable LEGO bricks, and transforms\nremote-controlled smart hubs into truly autonomous robots.\n\nPybricks builds on [MicroPython][micropython/micropython], which is an\nefficient Python implementation that runs on microcontrollers. Pybricks expands\nMicroPython with new powerful drivers for LEGO devices\nincluding motors and sensors. It also adds the `pybricks` package, which makes\nit easy for end-users to access those devices and all the features of the smart\nhubs.\n\n*Are you a beginning user?*\n\nStart by visiting our [website][pybricks.com] and\nthe [documentation][docs].\n\n*Are you a developer or just super curious?*\n\nRead on!\n\n# Supported Programmable Bricks \u0026 Hubs\n\nAll modern Powered Up hubs can be used with [Pybricks Code],\nour online IDE:\n\n- LEGO Technic Hub\n- LEGO BOOST Move Hub\n- LEGO City Hub\n- LEGO SPIKE Prime Hub\n- LEGO SPIKE Essential Hub\n- LEGO MINDSTORMS Robot Inventor Hub\n\nWe also support Pybricks v2.x on MINDSTORMS EV3. The community-supported version\ncomes preinstalled with the latest [ev3dev image]. It is also available via\nthe [LEGO Education website][lego-education-ev3-micropython].\n\n# Development\n\nMost Pybricks users will not need to do anything with this source\ncode. [Pybricks Code][Pybricks Code] always gives you the latest stable\nfirmware. You can even try the [beta release][Pybricks Code Beta] to check out the latest and greatest features.\n\nBut since you're reading this, you might be interested to build the code\nyourself, or start tweaking and hacking. Check out\nthe [contributor's guide](./CONTRIBUTING.md) to get started.\n\n## Pybricks and Upstream MicroPython\n\nThe Pybricks authors are actively contributing to upstream MicroPython instead\nof forking it into a whole new project. In essence, Pybricks just adds a family\nof `ports`.\n\nTo streamline development and releases, we do maintain a fork of `micropython`\n[here][pybricks/micropython]. This adds a few minor patches that haven't made\nit upstream yet. Every once in a while, that repository gets rebased with all\nthe latest and greatest that upstream [`micropython`][micropython/micropython]\nhas to offer.\n\nSumming up:\n\n- [`pybricks/pybricks-micropython`][pybricks-micropython]: Main repo for all\n  Pybricks firmware. This has a continuous master branch.\n- [`pybricks/micropython`][pybricks/micropython]: fork of\n  [upstream MicroPython][micropython/micropython] that is included as a\n  submodule in the main `pybricks-micropython` repository.\n  This gets occasionally rebased when a new MicroPython release comes out.\n\n\n## What about all the other repositories?\nPybricks includes not just firmware for each LEGO hub, but also various tools,\ndocumentation, and fun projects. Here's an overview of the other repositories:\n\n- [`pybricks-api`][pybricks-api]: This is the Pybricks user API. It documents\n  the `pybricks` package that comes preinstalled in our firmware. This\n  repository doesn't contain any real code. The real package is written in C\n  and baked into the firmware. This repo just helps us design and document the\n  user Python API without getting into too much implementation details. Don't\n  want to build it? View the web version [here][docs].\n- [`pybricks-projects`][pybricks-projects]: This is a broad\n  collection of end-user MicroPython scripts that you can run! This includes\n  example snippets and projects for official LEGO models and custom made ones.\n- [`pybricks-code`][pybricks-code]: This is the source code for the\n  Pybricks Code online IDE.\n\n## What about the other stuff in /bricks?\n\nLike MicroPython, Pybricks can run on just about every device that lets\nyou update the firmware. And we could not resist doing just that, so there's\nmore than just the bricks/hubs mentioned above. But getting to a point where it\nis easy to\nuse for everyday users takes quite a bit more work,\nso not all bricks in `/bricks` will be supported officially for now.\nBe sure to join the discussion on our [issue tracker][issue tracker] to\nshare your thoughts on these new ports.\n\n## Differences with other LEGO MicroPython Implementations\n\nRead more about the differences on the Pybricks [about page].\n\n# How can I help?\nIf you've got any of the hubs listed above, the best way to help right now is\nto try out the beta release of [Pybricks Code][Pybricks Code Beta]. You may run\ninto issues or bugs. Please let us know by opening an [issue][issue tracker].\nThanks!\n\nIf you enjoy using Pybricks, please\nconsider [sponsoring the project][sponsors].\n\n[pybricks-micropython]: https://github.com/pybricks/pybricks-micropython\n[pybricks/micropython]: https://github.com/pybricks/micropython\n\n[pybricks-api]: https://github.com/pybricks/pybricks-api\n[pybricks-projects]: https://github.com/pybricks/pybricks-api\n[pybricks-code]: https://github.com/pybricks/pybricks-code\n\n[micropython/micropython]: https://github.com/micropython/micropython\n\n[pybricks.com]: https://pybricks.com\n[docs]: https://docs.pybricks.com\n\n[ev3dev image]: https://www.ev3dev.org/downloads\n[ev3dev.org]: https://www.ev3dev.org/\n[ev3dev-lang]: https://github.com/ev3dev/ev3dev-lang-python\n\n[lego-education-ev3-micropython]: https://education.lego.com/en-us/support/mindstorms-ev3/python-for-ev3\n\n[Pybricks Code]: https://code.pybricks.com\n[Pybricks Code Beta]: https://beta.pybricks.com\n[about page]: https://pybricks.com/about/\n\n[alpha version]: https://github.com/pybricks/support/issues/167\n[issue tracker]: https://github.com/pybricks/support/issues\n[roadmap]: https://github.com/pybricks/support/issues/29\n[sponsors]: https://github.com/sponsors/pybricks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybricks%2Fpybricks-micropython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpybricks%2Fpybricks-micropython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybricks%2Fpybricks-micropython/lists"}