dataclasses
Box
dataclasses | Box | |
---|---|---|
3 | 12 | |
584 | 2,553 | |
- | - | |
0.0 | 2.9 | |
3 months ago | 4 months ago | |
Python | Python | |
Apache License 2.0 | MIT License |
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.
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)
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.
What are some alternatives?
DottedDict - Python library that provides a method of accessing lists and dicts with a dotted path notation.
bidict - The bidirectional mapping library for Python.
pydantic - Data validation using Python type hints
algorithms - Minimal examples of data structures and algorithms in Python
traits - Observable typed attributes for Python classes
awesome-python - An opinionated list of awesome Python frameworks, libraries, software and resources.
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