gpiozero
pydantic-factories
Our great sponsors
gpiozero | pydantic-factories | |
---|---|---|
7 | 11 | |
1,823 | 8 | |
1.5% | - | |
8.0 | 7.6 | |
about 1 month ago | about 1 year 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.
gpiozero
-
Raspberry Pi, InfluxDB, Grafana, Docker
It was a bit tricky to get CPU temperature of a host machine (Raspberry Pi) from within the running docker container. This Issue on GitHub has helped me :
- Arduino/ESP32 project --> Raspberry Pi 4 programming/conversion/capability?
-
What can we do with python, exactly?
No. The pi 4 is not a microcontroller. However, I would recommend gpiozero for a regular pi4
-
mqtt-gpio: A service which connects MQTT topics to Raspberry Pi GPIO pins
I run it in K3s on Raspberry Pi OS. The service is built on gpiozero so should work on other devices. It is a very helpful building block in my DIY home automation system. It's a general purpose connector so it can be configured for many different uses. At present I use it to:
- Ask HN: Good Python projects to read for modern Python?
-
GPIO Programming on the Raspberry Pi: Python Libraries
Gpiozero is already installed in the current Raspberry Pi OS - if not, just run python3 -m pip gpiozero. The source code files can be accessed on Github. The official documentation on readthedocs.io provides rich information and plenty example code.
-
Build your SO their own "attention button" this Valentine's Day
The code we will write will be in Python. Let's start with just getting the button to register. We will be using the gpiozero library to do this:
pydantic-factories
-
Starlite: v1.27.0 updates
Last but not least, we moved pydantic-factories from my GitHub namespace (Goldziher) into the starlite-api GitHub organization, so its now an official package of the org.
-
Looking for contributors and maintainers
I'm the author and sole maintainer of a library called pydantic-factories.
-
Pydantic-Factories: Type Based mock data generation
You can see the docs here.
-
GitHub - Goldziher/pydantic-factories: Pydantic based mock data generation
Here is the link: https://github.com/Goldziher/pydantic-factories
- What is a normal pylint score and what is its significance?
-
pydantic-factories v1.0.0
I'm glad to say pydantic-factories is now at v1.0.0 and includes support for pydantic v1.9.0+.
- Ask HN: Good Python projects to read for modern Python?
-
pydantic-factories
So - some of you perhaps read my previous post regarding pydantic-factories, but for those who didn't- its a python package that allows you to generate mock data for your pydantic models and dataclasses. It also works for vanilla python dataclasses, so its actually not only for pydantic.
-
How to take off an open-source project?
looking at your badges - i don't care your "docs" pipeline is passing, what I am not seeing is test coverage. I suggest you checkout integrating sonar-cloud with your github repository. You can see how this looks here: https://github.com/Goldziher/pydantic-factories
-
Pydantic Factories
Here is a link to the repository - https://github.com/Goldziher/pydantic-factories, I would of course love getting more stars. But I would especially love getting more users and contributors - really do feel free to add PRs, write issues and suggestions etc.
What are some alternatives?
pigpio - pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
datamodel-code-generator - Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
WiringPi - Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings)
odmantic - Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
tkgpio - A Python library to simulate electronic devices connected to the GPIO on a Raspberry Pi, using TkInter.
fastapi-dramatiq-data-ingestion - Sample project showing reliable data ingestion application using FastAPI and dramatiq
pi-mqtt-gpio - Expose GPIO modules (Raspberry Pi, Beaglebone, PCF8754, PiFace2 etc.) and digital sensors (LM75 etc.) to an MQTT server for remote control and monitoring.
FastAPI-template - Feature rich robust FastAPI template.
WiringPi-Python - Unofficial Python-wrapped version of Gordon Henderson's WiringPi version 2.
PDM - A modern Python package and dependency manager supporting the latest PEP standards
w1thermsensor - A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.
asgi-correlation-id - Request ID propagation for ASGI apps