pydantic
Home Assistant
| pydantic | Home Assistant | |
|---|---|---|
| 183 | 1,434 | |
| 26,209 | 83,311 | |
| 2.3% | 1.4% | |
| 9.8 | 10.0 | |
| 5 days ago | 2 days ago | |
| Python | Python | |
| MIT License | Apache License 2.0 |
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.
pydantic
- Python Design Patterns for Clean Architecture
Pydantic Documentation
- I built binary serializer for Pydantic models that's up to 7× smaller than JSON
Found in issue where maintainer answered that they are only going to support JSON
https://github.com/pydantic/pydantic/discussions/4097
- Dict Unpacking in Python
- A Practical Guide on Structuring LLM Outputs with Pydantic
The solution? Leverage Pydantic, a Python library that enables runtime data validation using type annotations.
- Loading Pydantic models from JSON without running out of memory
Pydantic author here. We have plans for an improvement to pydantic where JSON is parsed iteratively, which will make way for reading a file as we parse it. Details in https://github.com/pydantic/pydantic/issues/10032.
Our JSON parser, jiter (https://github.com/pydantic/jiter) already supports iterative parsing, so it's "just" a matter of solving the lifetimes in pydantic-core to validate as we parse.
This should make pydantic around 3x faster at parsing JSON and significantly reduce the memory overhead.
- Advanced Pydantic: Generic Models, Custom Types, and Performance Tricks
Across this five-post series, we’ve journeyed from Pydantic’s basics—type validation and nested models—to advanced integrations with FastAPI, SQLAlchemy, and scalable techniques. You’ve learned how to build declarative, type-safe models, handle complex APIs, and optimize performance. To deepen your knowledge, explore the Pydantic documentation, contribute to the open-source project, or experiment with real-world use cases. Check out our GitHub repo for code samples and a Pydantic cheat sheet. Thank you for joining us—happy coding!
- Getting Started with Pydantic: Type-Safe Data Models in Python
To dive deeper, check out the Pydantic documentation for advanced features like nested models, custom validators, and settings management. Happy coding!
- Resumindo características da linguagem Python
- FastAPI, Pydantic, Psycopg3: the holy trinity for Python web APIs
Pydantic is bundled with FastAPI and is excellent for modelling, validating, and serialising API responses.
- Pydantic Settings + AWS the easy way
Pydantic Settings is a python library that extends 🚀 Pydantic for dealing with settings management.
Home Assistant
- Building a Transparent LAGG (LACP) Bridge with OPNsense, UDM, and UniFi — A Practical Guide
That host and the BACKUP bay are part of a Home Assistant installation I did with their HAOS system. If you'd like to know more about it let me know.
- IKEA launches new smart home range with 21 Matter-compatible products
The solution is home assistant [0] it lets you manage and control all kinds of smart devices with a lot of customizable, hackable things. And it runs locally, so if you buy the right types of devices that don’t phone home to the cloud (or you shitcan their internet access) you can fully manage your own system.
[0] https://www.home-assistant.io/
- Code, community, and copilot. AI is changing the way we contribute
Hacktoberfest is always one of my favourite times of year. It's a month filled with learning, sharing, and connecting through open source. Every year, I try to dive into a few new projects, meet new communities, and stretch my technical skills. This year, my main contribution highlights were to Appwrite, ToolJet, and for the first time, Home Assistant's Core, and I learned tonnes along the way.
- Samsung makes ads on $3,499 smart fridges official with upcoming software update
I was out when they decided to change their authentication, with only two weeks notice, and (from what I read) incorrect documentation, causing it all to not work with HomeAssistant for a month [1].
[1] https://github.com/home-assistant/core/issues/133623#issueco...
- Ring to partner with Flock, a network of cameras used by ICE, feds, and police
- Home Assistant Core Copilot and Claude Instructions
- A Linux kernel developer plays with Home Assistant: case studies
- DIY Smart home project: Presence-activated lights
I also recently began to use Home Assistant. Think of it as an open-source and more powerful alternative to Google Home/Amazon Alexa/Apple HomeKit/Samsung SmartThings. With those vendor platforms, you're limited to what they support. With Home Assistant, you can build your own setups and connect things as you wish, whether it's totally DIY or consumer-ready products from vendors.
- How I Use Home Assistant in 2025
https://github.com/home-assistant/core/blob/dev/requirements... lists all the direct dependencies installed in the container.
It's enough for just a single direct or indirect dependency to be compromised to have a botnet or turn it into something used for surveillance against the users.
Preventing it from exfiltrating data by isolating it from the network with Internet access is the only option if you want to run it. This requires local only devices.
Accessing it through the web UI or through the mobile app will still load icons from https://brands.home-assistant.io. The details are in this ticket https://github.com/home-assistant/frontend/issues/18549
- The Home Assistant model
Home Assistant
What are some alternatives?
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
Domoticz - Open source Home Automation System
pyparsing - Python library for creating PEG parsers
Node RED - Low-code programming for event-driven applications
typeguard - Run-time type checker for Python
CasaOS - CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.