gpiozero
fastapi-azure-auth
Our great sponsors
gpiozero | fastapi-azure-auth | |
---|---|---|
7 | 17 | |
1,821 | 387 | |
1.4% | 3.1% | |
8.0 | 7.8 | |
23 days ago | 17 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.
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.
fastapi-azure-auth
-
FastUI: Build Better UIs Faster
I'm under the impression that you work for a company that sells services related to FastAPI? https://github.com/Intility/fastapi-azure-auth
I maintain an open source library in my spare time for free, that you are welcome to ignore if you find better alternatives.
-
FastAPI Azure Auth đź”’ Now supports B2C (as well as single- and multi-tenant applications)
The documentation has a full tutorial in “Tiangolo-style”, which means it guided through setting up a project from scratch, and how to configure Azure appregs from scratch.
-
Ask HN: Good Python projects to read for modern Python?
I think, in general, most FastAPI and Pydantic related libraries are heavily typed, use poetry, GitHub pipelines, black, isort, flake8 etc. so if you want to look at the ecosystem around a package I’ll recommend a few here, that has a smaller scope than the huge libraries Pydantic/FastAPI are. All packages listed below has all these things.
FastAPI-Azure-Auth [0] is a library to do authentication and authorization through Azure AD using tokens.
ASGI—Correlation-ID[1] is a package that utilizes contextvars to store information through the asyncio stack, in order to attach correlation/request ID to every log message from a request. Available for Django in [2].
Pydantic-factories [3] is an awesome library to mock data for your pydantic models.
-
OAuth2 authorization with other flows beyond password.
If you want to use an external auth provider, I have written a library called FastAPI-Azure-Auth for authentication and authorization using Azure AD (which is free for something like 10.000 users). The tutorial should get you up and running quickly. Please note that this library is only intended to use for APIs (such as I sing a SPA frontend), so if you use jinja templates or render HTML from FastAPI this might not be the solution for you.
The tutorial can be found here.
-
FastAPI Azure AD Authentication đź”’ Now supports both single- and multi-tenants applications
Hi! I’m the author of FastAPI-Azure-Auth, a package to handle Azure AD authentication and authorization for your FastAPI APIs. It’s a heavily tested package, supports trio, and the documentation has a full tutorial on how to set up both Azure and FastAPI from scratch.
-
Tips for Making a Popular Open-Source Project in 2021 [Ultimate Guide]
I agree with you. Most my packages are around ~100 stars, and I'm met with a lot of respect and appreciatio.n[1][2]
My library for Correlation-IDs in Django[3] got implemented by AWX, which also was a nice experience![4] I maintain a lot of small packages, and maybe it is the Django/FastAPI community, but "you'll get a load of entitled users" is straight up not true in my experience.
[1] https://github.com/Intility/fastapi-azure-auth/issues/24
-
Show HN: Implement Azure AD auth for your FastAPI
The documentation[1] contains a full tutorial on how to configure Azure AD and FastAPI for both single- and multi-tenant applications. It includes examples on how to lock down your APIs to certain scopes, tenants, roles etc.
What are some alternatives?
pigpio - pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
WiringPi - Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings)
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
tkgpio - A Python library to simulate electronic devices connected to the GPIO on a Raspberry Pi, using TkInter.
azure-functions-python-samples - Azure Functions Python Sample Codes. NOTE: The project, hosted in a repository, is no longer actively maintained by its creators or contributors. There won't be any further updates, bug fixes, or support from the original developers in the project.
best-of-web-python - 🏆 A ranked list of awesome python libraries for web development. Updated weekly.
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.
WiringPi-Python - Unofficial Python-wrapped version of Gordon Henderson's WiringPi version 2.
uvicorn-gunicorn-fastapi-docker - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.
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
systemd-gpio - A systemd unit template that does things when gpio events happen.