micropython-lib
bleak
Our great sponsors
micropython-lib | bleak | |
---|---|---|
20 | 10 | |
2,224 | 1,488 | |
1.7% | - | |
8.3 | 7.9 | |
about 14 hours ago | 7 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
micropython-lib
- OSError: [Errno 12] ENOMEM
- 在 MicroPython 中使用 OpenAI API
-
EsPiFF: An ESP32 in the Raspberry Pi form factor
Using SD-card on ESP8266 was more challenging. upip.install('sdcard') does not work.
But ChatGPT truly helped and suggested I find it in Github.
https://github.com/micropython/micropython-lib/blob/master/m...
-
using UPip with Micropython to install extra modules - is it feasible?
I don't think there's a mip list command or something like that. So your best bet is to look at the subdirectories in https://github.com/micropython/micropython-lib for a list of installable packages.
Note that mip installs packages from the https://github.com/micropython/micropython-lib repository, which are specifically developed for MicroPython, and I have been using it successfully to install packages like umqtt.simple on a Raspberry Pi Pico W. You can also point mip to sources on GitHub, but this definitely won't work with any random Python package, such as pandas or scikit-learn. MicroPython is just a subset of the full Python.
-
Can MicroPython be used in production?
Do give it another try if you get a chance; I'd be genuinely interested in hearing about your experience. Be sure to check out the awesome list and micropython-lib if you're looking to fill gaps. There are still many holes but they're rapidly being filled in.
-
Error 404 on Github
All drivers were moved to micropython-lib: https://github.com/micropython/micropython-lib/tree/master/micropython/drivers
-
ESP32 Python BLE example
B(LE) support in MicroPython has been a bit lacking but more support is being added especially since 1.17. I don't have experience with the new lib so all I can say is that you should probably look into aioble library. It's a wrapper over bluetooth library and there are some examples to get you started.
-
Mqtt doesn't work on esp32 - help needed
I'm confused because google wasn't finding the mqtt in micropython-lib; https://github.com/micropython/micropython-lib because I was searching for mqtt and I forgot that its name is umqtt. The link I gave above is what google gave me but I knew it wasn't the one I was thinking of, the one in micropython-lib, but I sent it anyway. The one I found, above, seems like a better choice since it's been updated recently. The one in micropython-lib was last updated 3 years ago.
-
Pycopy 3.5.4 - a minimalist and memory-efficient Python dialect
With a fork / duplication in library work as well. Micropython-lib is incomplete and buggy enough as it is, why oh why do we need to split that work up with pycopy-lib as well.
bleak
-
bleak VS SimpleBLE - a user suggested alternative
2 projects | 3 Jul 2023
-
Reading Data from an Arduino BLE using Raspberry Pi
On the Raspberry Pi I recommend the Python library Bleak. It has some examples, such as the sensortag.py example that shows how to read characteristics, and the enable_notifications.py example that shows how to subscribe to notifications to read data from a characteristic.
-
Automating Testing for BLE Devices
We’ve automated testing on our BLE device. Our rig is based on a Raspberry pi configured with a Gitlab-runner that runs a test suite written in Python. We use a library called Bleak: https://github.com/hbldh/bleak
-
ESP32 Python BLE example
If your Python script on your computer should work as the GATT client and your code on the ESP32 as the GATT server, Bleak is an easy-to-use Python library. Have a look at the code examples.
- hbldh/bleak: BLE platform-Agnostic Klient (for Python)
What are some alternatives?
gatt-python - Bluetooth GATT SDK for Python
raspberry-pi-home-automation - Code examples, errata and additional tips and references to interesting projects for the book "Control Your Home with Raspberry Pi: Secure, Modular, Open-Source and Self-Sufficient"
micropython-umqtt.simple2
pc-ble-driver-py - Python bindings for the ble-driver library
blatann - Python BLE library for using Nordic nRF52 with Connectivity firmware
buzzer_music - RPI Pico / Micropython library to play music through one or more buzzers, can automatically replace chords with fast arpeggios to simulate polyphony with a single buzzer. Music can be easily taken from onlinesequencer.net
noble - A Node.js BLE (Bluetooth Low Energy) central module : Community maintained
pycopy-lib - Standard library of the Pycopy project, minimalist and light-weight Python language implementation
trezor-firmware - :lock: Trezor Firmware Monorepo
python-keyboard - A hand-wired USB & Bluetooth keyboard powered by Python and more
pycopy - Pycopy - a minimalist and memory-efficient Python dialect. Good for desktop, cloud, constrained systems, microcontrollers, and just everything.
picoweb - Really minimal web application framework for the Pycopy project (minimalist Python dialect) and its "uasyncio" async framework