trio
@blueprintjs/core
Our great sponsors
trio | @blueprintjs/core | |
---|---|---|
19 | 36 | |
5,883 | 20,409 | |
1.3% | 0.5% | |
9.5 | 9.5 | |
about 5 hours ago | 1 day ago | |
Python | TypeScript | |
GNU General Public License v3.0 or later | 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.
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?
@blueprintjs/core
-
React Component Libraries
Official Website: https://blueprintjs.com/
-
An Overview of 25+ UI Component Libraries in 2023
Blueprint : A collection of components for building data-intensive interfaces for desktops. It specifically states that it is not designed to work for mobile. It is most likely better for building internal tools, dashboards, and Electron apps. Blueprint is one of the few libs in this list that has a Date Picker component.
-
13 Must Know Libraries for a React Developer
Blueprint is a React-based UI toolkit for the web. It is optimised for building complex, data-dense web interfaces for desktop applications that run in modern browsers and IE11. (Source: Blueprint GitHub)
-
10 Best Free React UI Libraries in 2023
Blueprint is a UI toolkit for React that is designed to build data-rich interfaces for web applications. The core Blueprint NPM package contains 30+ common and unique React components like Button, Card, Menu, Form Group, File Input, etc.
-
Aleph or fresh?
Blueprintjs seem to not work in SSR. https://github.com/palantir/blueprint/issues/131
-
Tabler: Free and open source dashboard HTML/CSS framework
Maybe https://blueprintjs.com/ for you, although last time I checked it did not have explicit mobile or tablet support. (They don’t aim to break mobile or tablet but they don’t endeavour to support it.)
- AWS open sourced the AWS console design system
-
How to style React components using CSS
There are other libraries as well like tailwind, and component libraries like Semantic UI, React Bootstrap, Ant Design, Chakra UI, BluePrint, Material UI, etc., which you can try out.
-
Consider These 8 Amazing React Component Libraries for Your Next Big Project (I mean it)
7) Blueprint
-
Ask HN: What are some examples of elegant software?
I figured I'd get some downvotes mentioning PLTR here. ;-)
GPalantir is definitely being more open with their demo now, so there are some good ones on their youtube channel.
You can skim through.
https://www.youtube.com/watch?v=uF-GSj-Exms
I'm impressed by how polished everything looks. As a person who does UX / product design, their working software looks better than most designer's portfolio mockups.
I'm impressed by how fast and snappy everything works or feels.
I'm impressed by how rich and custom tailored their UI component library is.
I'm impressed by how focused and tailored their UI for job at hand.
I'm impressed by how every single page in their application looks beautiful, not just a handful.
They actually have all their React UI library published as opensource here. https://blueprintjs.com/
If there's anyone from pltr reading this, good job. Your design people are amazing.
What are some alternatives?
uvloop - Ultra fast asyncio event loop.
antd - An enterprise-class UI design language and React UI library
curio - Good Curio!
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
asyncio
chakra-ui - ⚡️ Simple, Modular & Accessible UI Components for your React Applications
Twisted - Event-driven networking engine written in Python.
react-admin - A frontend Framework for building data-driven applications running on top of REST/GraphQL APIs, using TypeScript, React and Material Design
LDAP3 - a strictly RFC 4510 conforming LDAP V3 pure Python client. The same codebase works with Python 2. Python 3, PyPy and PyPy3
fluent-ui - 🌈 React components that inspired by Microsoft's Fluent Design System.
DearPyGui - Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
react-grid-layout - A draggable and resizable grid layout with responsive breakpoints, for React.