Skip to content

Commit f3c572c

Browse files
committed
more links
1 parent fe86388 commit f3c572c

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# PyO3 Asyncio
22

3-
[![Actions Status](https://github.com/davidhewitt/pyo3-asyncio/workflows/CI/badge.svg)](https://github.com/davidhewitt/pyo3-asyncio/actions)
4-
[![codecov](https://codecov.io/gh/davidhewitt/pyo3-asyncio/branch/master/graph/badge.svg)](https://codecov.io/gh/davidhewitt/pyo3-asyncio)
5-
[![crates.io](https://img.shields.io/crates/v/pyo3-asyncio-0-21)](https://crates.io/crates/pyo3-asyncio-0-21)
3+
[![Actions Status](https://github.com/PyO3/pyo3-async-runtimes/workflows/CI/badge.svg)](https://github.com/PyO3/pyo3-async-runtimes)
4+
[![codecov](https://codecov.io/gh/davidhewitt/pyo3-async-runtimes/branch/main/graph/badge.svg)](https://codecov.io/gh/PyO3/pyo3-async-runtimes)
5+
[![crates.io](https://img.shields.io/crates/v/pyo3-async-runtimes)](https://crates.io/crates/pyo3-async-runtimes)
66
[![minimum rustc 1.63](https://img.shields.io/badge/rustc-1.63+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
77

88
***This is a fork of [`pyo3-asyncio`](https://github.com/awestlake87/pyo3-asyncio/) to deliver compatibility for PyO3 0.21. This may be the base for a permanent fork in the future, depending on the status of the original `pyo3-asyncio` maintainer.***
@@ -11,11 +11,11 @@
1111

1212
- PyO3 Project: [Homepage](https://pyo3.rs/) | [GitHub](https://github.com/PyO3/pyo3)
1313

14-
- PyO3 Asyncio API Documentation: [stable](https://docs.rs/pyo3-asyncio/) | [master](https://awestlake87.github.io/pyo3-asyncio/master/doc)
14+
- PyO3 Async Runtimes API Documentation: [stable](https://docs.rs/pyo3-async-runtimes/)
1515

1616
- Guide for Async / Await [stable](https://pyo3.rs/latest/ecosystem/async-await.html) | [main](https://pyo3.rs/main/ecosystem/async-await.html)
1717

18-
- Contributing Notes: [github](https://github.com/davidhewitt/pyo3-asyncio/blob/master/Contributing.md)
18+
- Contributing Notes: [github](https://github.com/PyO3/pyo3-async-runtimes/blob/main/Contributing.md)
1919

2020
> PyO3 Asyncio is a _brand new_ part of the broader PyO3 ecosystem. Feel free to open any issues for feature requests or bugfixes for this crate.
2121
@@ -31,7 +31,7 @@ Like PyO3, PyO3 Asyncio supports the following software versions:
3131
## PyO3 Asyncio Primer
3232

3333
If you are working with a Python library that makes use of async functions or wish to provide
34-
Python bindings for an async Rust library, [`pyo3-asyncio`](https://github.com/davidhewitt/pyo3-asyncio)
34+
Python bindings for an async Rust library, [`pyo3-async-runtimes`](https://github.com/PyO3/pyo3-async-runtimes)
3535
likely has the tools you need. It provides conversions between async functions in both Python and
3636
Rust and was designed with first-class support for popular Rust runtimes such as
3737
[`tokio`](https://tokio.rs/) and [`async-std`](https://async.rs/). In addition, all async Python
@@ -108,7 +108,8 @@ async fn main() -> PyResult<()> {
108108
}
109109
```
110110

111-
More details on the usage of this library can be found in the [API docs](https://awestlake87.github.io/pyo3-asyncio/master/doc) and the primer below.
111+
More details on the usage of this library can be found in the API docs
112+
and the primer below.
112113

113114
#### PyO3 Native Rust Modules
114115

@@ -423,7 +424,7 @@ Python allows you to use alternatives to the default `asyncio` event loop. One
423424
popular alternative is `uvloop`. In `v0.13` using non-standard event loops was
424425
a bit of an ordeal, but in `v0.14` it's trivial.
425426

426-
#### Using `uvloop` in a PyO3 Asyncio Native Extensions
427+
#### Using `uvloop` in a PyO3 Native Extensions
427428

428429
```toml
429430
# Cargo.toml
@@ -534,7 +535,7 @@ fn main() -> PyResult<()> {
534535

535536
### Additional Information
536537

537-
- Managing event loop references can be tricky with pyo3-asyncio. See [Event Loop References and ContextVars](https://awestlake87.github.io/pyo3-asyncio/master/doc/pyo3_async_runtimes/#event-loop-references-and-contextvars) in the API docs to get a better intuition for how event loop references are managed in this library.
538+
- Managing event loop references can be tricky with pyo3-async-runtimes. See [Event Loop References and ContextVars](https://awestlake87.github.io/pyo3-asyncio/master/doc/pyo3_async_runtimes/#event-loop-references-and-contextvars) in the API docs to get a better intuition for how event loop references are managed in this library.
538539
- Testing pyo3-asyncio libraries and applications requires a custom test harness since Python requires control over the main thread. You can find a testing guide in the [API docs for the `testing` module](https://awestlake87.github.io/pyo3-asyncio/master/doc/pyo3_async_runtimes/testing)
539540

540541
## Migration Guide

src/tokio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
//! >are only available when the `unstable-streams` Cargo feature is enabled:
99
//!
1010
//! ```toml
11-
//! [dependencies.pyo3-asyncio-0-21]
12-
//! version = "0.21"
11+
//! [dependencies.pyo3-async-runtimes]
12+
//! version = "0.22"
1313
//! features = ["unstable-streams"]
1414
//! ```
1515

0 commit comments

Comments
 (0)