Box
Nim
Box | Nim | |
---|---|---|
13 | 358 | |
2,733 | 17,139 | |
0.7% | 0.7% | |
3.5 | 9.9 | |
about 2 months ago | 2 days ago | |
Python | Nim | |
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.
Box
- Box: Python dictionaries with advanced dot notation access
-
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.
Nim
- Show HN: Chawan TUI web browser 0.2.0
-
I built a hardware processor that runs Python
> I'm interested to see whether the final feature set will be larger than what you'd get by creating a type-safe language with a pythonic syntax and compiling that to native, rather than building custom hardware.
It almost sounds like you're asking for Nim ( https://nim-lang.org/ ); and there are some projects using it for microcontroller programming, since it compiles down to C (for ESP32, last I saw).
-
Transfinite Nim
FWIW, Nim (the programming language) is certainly interesting and possibly underrated.
https://nim-lang.org/
-
Zig's Comptime Is Bonkers Good
All these organizations[1] using nim in production must disagree with you then.
[1]: https://github.com/nim-lang/Nim/wiki/Organizations-using-Nim
-
Rust traits are a local maxima
With function overloading and templates
You just use a `hash` function in your library code and user has to implement a version of it that accepts the Foo type.
To resolve the scope problem, Nim uses templates[1] with `dirty` pragma (makes template unhygienic), but there is also a `mixin`[2] statement for later static binding.
0 - https://github.com/nim-lang/Nim/lib/pure/collections/tables....
1 - https://github.com/nim-lang/Nim/blob/78983f1876726a49c69d656...
2 - https://nim-lang.org/docs/manual.html#generics-mixin-stateme...
- Nim for Python Programmers
-
My first experience with Gleam Language
Check out Nim[0] - it's strongly typed, with good type inference, clean elegant syntax, memory management is automatic (optional gc, default is ARC + small footprint cycle collector), compiles to small single binaries (Hello World is less than 100 kb), has powerful metaprogramming and lsp support.
Nim compiles to C/C++ and then to native code, so performance is on the same level as Rust/C/C++. You can also compile Nim to js/wasm and run the same code in the web.
[0] - https://nim-lang.org
-
tohray - microblogging application in nim
Programming Language: Nim
-
Recent Performance Improvements in Function Calls in CPython
Take a look at Nim.
You get C performance, with the readability of Python.
https://nim-lang.org/
-
Nim 2.2 release candidate is available for testing
It’s not exhaustive/definitive yet (should be for the actual release), but this might be helpful:
https://github.com/nim-lang/Nim/blob/devel/changelog.md
What are some alternatives?
bidict - The bidirectional mapping library for Python.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
dataclasses
Odin - Odin Programming Language
DottedDict - Python library that provides a method of accessing lists and dicts with a dotted path notation.
go - The Go programming language