Box
dataclasses
Box | dataclasses | |
---|---|---|
12 | 3 | |
2,552 | 584 | |
- | - | |
2.9 | 0.0 | |
4 months ago | 3 months 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.
Box
-
DotDict: A simple Python library to make chained attributes possible
This seems similar to the functionality exposed by Box.
https://github.com/cdgriffith/Box/wiki/Types-of-Boxes#defaul...
- Best way to get a dict-like object with dot notations? Class attributes, or other options?
- I've built a PathDict, a library that makes it easy to work with dicts!
- GitHub - cdgriffith/Box: Python dictionaries with advanced dot notation access
- Box – Python dictionaries with advanced dot notation access
- Box – Python dictionary with dot notation
- What would you want to see in Python?
-
I am a proficient Python coder whose learning has plateaued. Any really useful libraries I should look into learning? Taking recommendations.
Here are some that might answer your question: - algorithms is a library which contains many of the most useful algorithms for sorting, searching, working with trees, math algorithms like factorials, prime finders and many more - data classes to save you the trouble of writing everytime special methods in a class like init, repr, set, get - box allows the use of dot on dictionaries to access the keys - more-itertools for more routines to operate on iterables than those itertools provide.
dataclasses
-
Attrs – The One Python Library Everyone Needs
dataclasses was explicitly inspired by attrs. https://github.com/ericvsmith/dataclasses/issues/1
-
What is the expression “!r” in Python?
I have only just encountered this expression — the “!r” appended to a variable or class attribute, as in the following example from the Dataclasses backports repo for Python 3.6:
- What is the expression “!r” in Python (without quotes)? What does it mean? (See linked example in Dataclasses backports repo)
What are some alternatives?
bidict - The bidirectional mapping library for Python.
DottedDict - Python library that provides a method of accessing lists and dicts with a dotted path notation.
algorithms - Minimal examples of data structures and algorithms in Python
pydantic - Data validation using Python type hints
awesome-python - An opinionated list of awesome Python frameworks, libraries, software and resources.
traits - Observable typed attributes for Python classes
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
nimpy - Nim - Python bridge
best-of-python - 🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI