Summary
The Trio project's goal is to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections at the same time, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right. Trio was built from the ground up to take advantage of the latest Python features, and draws inspiration from many sources, in particular Dave Beazley's Curio. The resulting design is radically simpler than older competitors like asyncio and Twisted, yet just as capable. Trio is the Python I/O library I always wanted; I find it makes building I/O-oriented programs easier, less error-prone, and just plain more fun. Perhaps you'll find the same. This project is young and still somewhat experimental: the overall design is solid and the existing features are fully tested and documented, but you may encounter missing functionality or rough edges. We do encourage you to use it, but you should read and subscribe to issue #1 to get warning and a chance to give feedback about any compatibility-breaking changes.
Versions
v0.22.0-r1 :: 0 :: gentoo
- Modified
- License
- || ( Apache-2.0 MIT )
- Keywords
- amd64 arm arm64 ppc ppc64 sparc x86 ~loong ~mips ~riscv ~s390
- USE flags
- doc test
USE flags
General
- doc
- Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
python_targets
- pypy3
- Build with PyPy3
- python3_10
- Build with Python 3.10
- python3_11
- Build with Python 3.11
Runtime Dependencies
dev-lang / python : An interpreted, interactive, object-oriented programming language
dev-python / async_generator : Making it easy to write async iterators in Python 3.5
dev-python / attrs : Attributes without boilerplate
dev-python / exceptiongroup : Backport of PEP 654 (exception groups)
dev-python / idna : Internationalized Domain Names in Applications (IDNA)
dev-python / outcome : Capture the outcome of Python function calls
dev-python / pypy3 : A fast, compliant alternative implementation of the Python (3.10) language
dev-python / sniffio : Sniff out which async library your code is running under
dev-python / sortedcontainers : Python library to sort collections and containers
Depending packages
dev-python / pyfuse3 : Python 3 bindings for libfuse 3 with asynchronous API
dev-python / pytest-trio : This is a pytest plugin to help you test projects that use Trio
dev-python / selenium : Python language binding for Selenium Remote Control
dev-python / trio-websocket : WebSocket client and server implementation for Python Trio
Bugs
- 901401
- dev-python/trio-0.22.0-r1 failed to emerge
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
Rename dev-python/{sphinx_rtd_theme → sphinx-rtd-theme}
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/trio: Fix incorrect version in metadata
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/trio: Clear keywords to match newer
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/trio: Stabilize 0.22.0 ALLARCHES, #879373
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Ammerlaan · gentoo
dev-python/trio: add missing test dep
Closes: https://bugs.gentoo.org/873283 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Ammerlaan · gentoo
dev-python/trio: add 0.22.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Stabilize 0.21.0 ALLARCHES, #857435
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/trio: Bump to 0.21.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/trio: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Jakov Smolić · gentoo
dev-python/trio: Keyword 0.20.0 mips, #837098
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/trio: Keyword 0.20.0 alpha, #808273
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - WANG Xuerui · gentoo
dev-python/trio: keyword 0.20.0 for ~loong
Signed-off-by: WANG Xuerui <xen0n@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Keyword 0.20.0 s390, #840785
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/trio: Fix HOMEPAGE
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
dev-python/trio: Enable pypy3
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
dev-python/trio: Fix tests
Closes: https://bugs.gentoo.org/834954 Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
dev-python/trio: Remove optional test dep on dev-python/ipython
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
dev-python/trio: Remove unused deps on jedi & pylint
The jedi and pylint dependencies are used in one test only, and the ebuild has been skipping this test anyway. While at it, skip it using upstream marker instead of explicitly by name. Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/trio: drop 0.19.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Arthur Zamarin · gentoo
dev-python/trio: revert drop 0.20.0
Reverts: 466dac8987b99f0b1f0da2631dbae459a413db26 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/trio: drop 0.20.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/trio: Stabilize 0.20.0 ALLARCHES, #836175
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Ammerlaan · gentoo
dev-python/trio: add version 0.20.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/trio: Use EPYTEST_IGNORE for Internet tests
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
dev-python/trio: Remove unused SSL test deps
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 arm, #811000
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 ppc, #811000
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 hppa, #811000
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: add Python 3.10
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Keyword 0.19.0 hppa, #808273
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: skip test that times out on ia64
Doesn't seem to be an easy knob to tweak for timeouts, so let's just skip this one. Bug: https://bugs.gentoo.org/808273 Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Keyword 0.19.0 ia64, #808273
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Rolf Eike Beer · gentoo
dev-python/trio: stable 0.19.0 for sparc, bug #811000
Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 arm64, #811000
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 x86, #811000
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Agostino Sarubbo · gentoo
dev-python/trio: amd64 stable wrt bug #811000
Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 ppc64, #811000
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/trio: keyword 0.19.0 for ~riscv
Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Keyword 0.19.0 ppc64, #801520
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Keyword 0.19.0 sparc, #801520
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Keyword 0.19.0 x86, #801520
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Keyword 0.19.0 ppc, #801520
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/trio: Keyword 0.19.0 arm, #801520
Signed-off-by: Sam James <sam@gentoo.org> - Sam James · gentoo
dev-python/trio: Keyword 0.19.0 arm64, #801520
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Ammerlaan · gentoo
dev-python/trio: import from ::guru
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>