glom
☄️ Python's nested data operator (and CLI), for all your declarative restructuring needs. Got data? Glom it! ☄️ (by mahmoud)
curio
Good Curio! (by dabeaz)
glom | curio | |
---|---|---|
2 | 3 | |
1,829 | 3,998 | |
- | - | |
7.4 | 4.8 | |
3 months ago | 25 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
glom
Posts with mentions or reviews of glom.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-18.
- Ask HN: How can I get better at writing production-level Python?
-
Is there a quicker way to check if a attribute within an attribute exists?
If your project requires writing this sort of code a lot, there are third-party libraries that can make it a bit easier. One example that comes to mind is glom (take a look at their tutorial).
curio
Posts with mentions or reviews of curio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-18.
- Ask HN: How can I get better at writing production-level Python?
-
Piper: A proposal for a graphy pipe-based build system
Graph re-computation frameworks are all the rage! You could whip something up using itertools and curio.
-
asyncio and concurrent.futures
If you are doing heavy IO (1k or more tasks), then it makes sense to use asyncio. There is controversy over asyncio so there are alternatives, but they work fundamentally the same, just with different interfaces. Some argue that you're better off with curio or gevent (my preference).
What are some alternatives?
When comparing glom and curio you can also consider the following projects:
python-lenses - A python lens library for manipulating deeply nested immutable structures
trio - Trio – a friendly Python library for async concurrency and I/O
best-of-python - 🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.
asyncio
dotwiz - A blazing fast dict subclass that supports dot access notation.
uvloop - Ultra fast asyncio event loop.
cuphic - Transform or scrape Hiccup with a declarative DSL.
Twisted - Event-driven networking engine written in Python.
flyte - Scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks.
pyzmq - PyZMQ: Python bindings for zeromq
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
pulsar