pydantic
mathesar
Our great sponsors
pydantic | mathesar | |
---|---|---|
167 | 53 | |
18,617 | 2,196 | |
4.3% | 5.6% | |
9.8 | 9.9 | |
4 days ago | 8 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
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
-
Advanced RAG with guided generation
First, note the method prefix_allowed_tokens_fn. This method applies a Pydantic model to constrain/guide how the LLM generates tokens. Next, see how that constrain can be applied to txtai's LLM pipeline.
-
utype VS pydantic - a user suggested alternative
2 projects | 15 Feb 2024
utype is a concise alternative of pydantic with simplified parameters and usages, supporting both sync/async functions and generators parsing, and capable of using native logic operators to define logical types like AND/OR/NOT, also provides custom type parsing by register mechanism that supports libraries like pydantic, attrs and dataclasses
- Pydantic v2 ruined the elegance of Pydantic v1
-
Ask HN: Pydantic has too much deprecation. Why is it popular?
I like some of the changes from v1 to v2. But then you have something like this [0] removed from the library without proper documentation or replacement, resulting in ugly workarounds in the link that wont' work properly.
[0]: https://github.com/pydantic/pydantic/discussions/6337
- OpenAI uses Pydantic for their ChatCompletions API
-
🍹GinAI - Cocktails mixed with generative AI
The easiest implementation I found was to use a PyDantic class for my target schema — and use that as a parameter for the method call to “ChatCompletion.create()”. Here’s a fragment of the GinAI Python classes used.
-
FastStream: Python's framework for Efficient Message Queue Handling
Also, FastStream uses Pydantic to parse input JSON-encoded data into Python objects, making it easy to work with structured data in your applications, so you can serialize your input messages just using type annotations.
-
Introducing FastStream: the easiest way to write microservices for Apache Kafka and RabbitMQ in Python
Pydantic Validation: Leverage Pydantic's validation capabilities to serialize and validate incoming messages
-
Cannot get Langchain to work
Not sure if it is exactly related, but there is an open issue on Github for that exact message.
-
FastAPI 0.100.0:Release Notes
Well the performance increase is so huge because pydantic1 is really really slow. And for using rust, I'd have expected more tbh…
I've been benchmarking pydantic v2 against typedload (which I write) and despite the rust, it still manages to be slower than pure python in some benchmarks.
The ones on the website are still about comparing to v1 because v2 was not out yet at the time of the last release.
pydantic's author will refuse to benchmark any library that is faster (https://github.com/pydantic/pydantic/pull/3264 https://github.com/pydantic/pydantic/pull/1525 https://github.com/pydantic/pydantic/pull/1810) and keep boasting about amazing performances.
On pypy, v2 beta was really really really slow.
mathesar
-
Show HN: Teable – Open-Source No-Code Database Fusion of Postgres and Airtable
Congratulations on launching, it's nice to see more open source products in this area (I work on https://mathesar.org/). Feel free to reach out if you'd like to talk and compare notes.
-
A modern, open-source spreadsheet that goes beyond the grid
This is what we're trying to do with [Mathesar](https://github.com/centerofci/mathesar). We probably don't meet your needs yet because we don't support real-time concurrent editing, but we're actively working on the project and it is early days.
-
Show HN: Visual DB – Airtable alternative for your own database
I'm an engineer on the Mathesar core team and I'd just like to clarify that Mathesar does support grouping to some extent. Here is a screenshot[1] that demonstrates the grouping functionality. Grouping levels are unlimited. You can play with this functionality on our live demo[2]. It's worth mentioning that Mathesar does not yet have the capability to expand and collapse groups, but that feature is planned[3].
Best of luck building Visual DB! Nice to see more innovation in this space!
[1]: https://mathesar.org/assets/crm-table-zoomed.png
[2]: https://demo.mathesar.org/
[3]: https://github.com/centerofci/mathesar/issues/475
-
Ask HN: What’s the best GUI you’ve ever used for managing/querying databases?
I’m not sure if it’s okay to plug my project, but I work on Mathesar (https://github.com/centerofci/mathesar) which can be used as a Postgres GUI. We’re putting a lot of product/design effort into making it nice to use for non technical users.
Otherwise, I just use the command line.
-
I'm So Frustrated Finding a NocoDB Alternative (Need a Postgres / SQL-Based Spreadsheet)
We're trying to do this with Mathesar: https://github.com/centerofci/mathesar. Some feedback would be great!
-
Undb – open-source airtable alternative
We're trying to build a community driven project in this space - https://github.com/centerofci/mathesar. We just did our alpha release a couple of months ago.
I'm philosophically opposed to open core (Mathesar is run out of a non-profit), but I can see why other projects do it – finding funding for a big project like this is difficult without VCs (who expect returns).
-
MS Access alternative?
I'm working on https://mathesar.org/ – it's an open source database solution built on Postgres, you can import data, connect to multiple databases, edit data and build reports. It can't connect to non-Postgres databases, so it may not work for you.
-
Release announcement: Mathesar v0.1.2
We've just released Mathesar v0.1.2. Major new features are support for multiple databases in the UI and more options for installing Mathesar. We also made a bunch of smaller UX improvements and fixed a few bugs. Our full release notes are here: https://github.com/centerofci/mathesar/releases/tag/0.1.2
-
I want to create sheets that work like Airtable (www.airtable.com) and use it in my django application any suggestions on how it can be done.
We did this for our open source project, Mathesar (https://github.com/centerofci/mathesar), which also uses Django. It's a lot of work. You can take a look at our code if it's helpful.
- Ask HN: What are Airtable alternatives with higher rate limits?
What are some alternatives?
Cerberus - Lightweight, extensible data validation library for Python
nocodb - 🔥 🔥 🔥 Open Source Airtable Alternative
nexe - 🎉 create a single executable out of your node.js apps
mito - The mitosheet package, trymito.io, and other public Mito code.
msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
Mattermost - Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
SQLAlchemy - The Database Toolkit for Python
apitable - 🚀🎉📚 APITable, an API-oriented low-code platform for building collaborative apps and better than all other Airtable open-source alternatives.
sqlmodel - SQL databases in Python, designed for simplicity, compatibility, and robustness.
budibase - Budibase is an open-source low code platform that helps you build internal tools in minutes 🚀
mypy - Optional static typing for Python
trivy - Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more