dotwiz
glom
dotwiz | glom | |
---|---|---|
2 | 3 | |
51 | 1,919 | |
- | - | |
0.0 | 6.0 | |
4 days ago | 9 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
dotwiz
-
Introducing dotwiz: a blazing fast dict subclass which enables dot access
This week I was working on initial release and prep for a library I been working on recently called dotwiz. Its based on a post on stackoverflow I had added, since someone else was asking for this, so I thought it would be a cool side project to work on. I got it released on pypi and everything; so i'm pretty glad actually.
-
Sunday Daily Thread: What's everyone working on this week?
Just came out with new release of a new library I been working on called dotwiz, which aims to provide dot (attribute style) access for dicts. Im pretty pleased also since I was able to get performance to where I wanted it :-)
glom
-
Box: Python dictionaries with advanced dot notation access
I didn't see anything in the README about type inference, which would make the later example more desirable in my opinion. Otherwise I would prefer not to introduce a new container class to my code (Box) if avoidable.
[1] https://github.com/mahmoud/glom
- 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).
What are some alternatives?
addict - The Python Dict that's better than heroin.
python-lenses - A python lens library for manipulating deeply nested immutable structures
google-maps-at-88-mph - Google Maps keeps old satellite imagery around for a while – this tool collects what's available for a user-specified region in the form of a GIF.
best-of-python - 🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.
tweetyfly - Retweet bot made by Exifly
cuphic - Transform or scrape Hiccup with a declarative DSL.
attrs - Python Classes Without Boilerplate
dir-watcher - watch folder for changes and copy or move files to another distination folder.
traits - Observable typed attributes for Python classes
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
sections - Easy Python tree data structures
flyte - Scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks.