nexus
trio
nexus | trio | |
---|---|---|
10 | 19 | |
99 | 5,883 | |
- | 0.8% | |
6.0 | 9.5 | |
3 months ago | 6 days ago | |
Nim | Python | |
Apache License 2.0 | 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.
nexus
-
Ask HN: Who's an open source maintainer/project that needs sponsorship or help?
Nexus: https://github.com/jfilby/nexus
This is a web framework + ORM for Nim. It's in desperate need of more work to support DBs other than PostgreSQL and make the ORM more flexible. The web side also needs more work.
- Ask HN: Should I learn more languages?
-
Ask HN: Companies of one, what is your tech stack?
I use it mainly for high-performance backend engines. E.g. I'm writing an automated trading system and the trading engine is written in Nim.
I wrote a Nim web framework that has an ORM: https://github.com/jfilby/nexus. However I mainly use the ORM with the back-end engines. You could write a Django-style web app with Nexus + Nimja, but it's difficult to compete with the huge ecosystems of React and Flutter.
-
Ask HN: What is the job market like, for niche languages (Nim, crystal)?
It's not good for Nim, unfortunately. The language is great, but the community isn't that big.
If you're looking for a web framework with an ORM for Nim, check out Nexus: https://github.com/jfilby/nexus
-
Mastering Nim – now available on Amazon
There's no Discord yet, just GitHub issues. Here's an issue to track this request: https://github.com/jfilby/nexus/issues/14
I'll email you regarding what/how to help.
-
Building a personal blog using Django
Django is a great MVC framework. It might be overkill for a blog as another poster wrote, but it's still a good way to learn Django.
If you ever want to learn Nim, please consider Nexus (https://github.com/jfilby/nexus) as I'm building it to be something like Django for Nim.
- Show HN: Nexus Development Framework (Nim)
-
Show HN: Nexus Development Framework
Nexus is a Nim development framework.
https://github.com/jfilby/nexus
The aim to create a web framework similar to Django, with a built-in ORM. The view layer needs work, and is mostly built out of available libraries with Jester for routing and Nimja for templating.
-
Nexus Development Framework
Nexus Development Framework, for Nim, is now available: https://github.com/jfilby/nexus
-
Ask HN: What are some examples of elegant software?
Nim. It's just so quick and easy to write high performance code. That's why I'm writing a web framework for it, soon to be released: https://github.com/jfilby/nexus
trio
-
trio VS awaits - a user suggested alternative
2 projects | 9 Dec 2023
-
In what ways are channels are better than the traditional await?
Incidentally, the alternative event loop implementation trio in python does not have "gather", you also need channels, and it's a deliberate design choice - there is some discussion about that in this ticket https://github.com/python-trio/trio/issues/2188
- Polyphony: Fine-Grained Concurrency for Ruby
-
This Week In Python
trio – a friendly Python library for async concurrency and I/O
-
Python projects with best practices on Github?
trio. the best code, the best documentation, awesome community.
- Trio: Structured Concurrency for Python
-
The Heisenbug lurking in your async code (Python)
I'll +1 the Trio shoutout [1], but it's worth emphasizing that the core concept of Trio (nurseries) now exists in the stdlib in the form of task groups [2]. The article mentions this very briefly, but it's easy to miss, and I wouldn't describe it as a solution to this bug, anyways. Rather, it's more of a different way of writing multitasking code, which happens to make this class of bug impossible.
[1] https://github.com/python-trio/trio
[2] https://docs.python.org/3/library/asyncio-task.html#task-gro...
-
The gotcha of unhandled promise rejections
It's similar to manual memory management.
Structured concurrency is one approach to solving this problem. In a structured concurrency a promise would not go out of scope unhandled. Not sure how you would add APIs for it though.
See Python's trio nurseries idea which uses a python context manager.
https://github.com/python-trio/trio
I'm working on a syntax for state machines and it could be used as a DSL for promises. It looks similar to a bash pipeline but it matches predicates similar to prolog.
In theory you could wire up a tree of structured concurrency with this DSL.
https://github.com/samsquire/ideas4#558-assign-location-mult...
-
Python Asyncio: The Complete Guide
Not complete - doesn't include Task Groups [1]
In fairness they were only included in asyncio as of Python 3.11, which was released a couple of weeks ago.
These were an idea originally from Trio [2] where they're called "nurseries" instead of "task groups". My view is that you're better off using Trio, or at least anyio [3] which gives a Trio-like interface to asyncio. One particularly nice thing about Trio (and anyio) is that there's no way to spawn background tasks except to use task groups i.e. there's no analogue of asyncio's create_task() function. That is good because it guarantees that no task is ever left accidentally running in the background and no exception left silently uncaught.
[1] https://docs.python.org/3/library/asyncio-task.html#task-gro...
[2] https://github.com/python-trio/trio
[3] https://anyio.readthedocs.io/en/latest/
- Anyone here able to help with a python issue?
What are some alternatives?
NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.
uvloop - Ultra fast asyncio event loop.
src - Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.
curio - Good Curio!
Turbo Vision - A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
asyncio
Stockfish - A free and strong UCI chess engine
Twisted - Event-driven networking engine written in Python.
TiddlyWiki - A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
LDAP3 - a strictly RFC 4510 conforming LDAP V3 pure Python client. The same codebase works with Python 2. Python 3, PyPy and PyPy3
Boost.Asio - Asio C++ Library
DearPyGui - Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies