First FastAPI thing from @savannah.dev ! 🙌
Also, @crmarsh.com 's uv is awesome, use it. 😎
Install uv: docs.astral.sh/uv/getting-s...
Run:
uvx fastapi-new awesomeapp
✨ Done! ✨
Thanks @savannah.dev ! 🙌
github.com/fastapi/fast...
First FastAPI thing from @savannah.dev ! 🙌
Also, @crmarsh.com 's uv is awesome, use it. 😎
We think of pyx as an optimized backend for uv: it’s a package registry, but it also solves problems that go beyond the scope of a traditional "package registry".
We think of pyx as an optimized backend for uv: it’s a package registry, but it also solves problems that go beyond the scope of a traditional "package registry".
An alternative to setuptools, hatchling, etc. for pure Python projects, with a focus on good defaults, user-friendly error messages, and performance.
When used with uv, it's 10-35x faster.
An alternative to setuptools, hatchling, etc. for pure Python projects, with a focus on good defaults, user-friendly error messages, and performance.
When used with uv, it's 10-35x faster.
In early testing, it's 10x, 50x, even 100x faster than existing type checkers. (We've seen >600x speed-ups over Mypy in some real-world projects.)
In early testing, it's 10x, 50x, even 100x faster than existing type checkers. (We've seen >600x speed-ups over Mypy in some real-world projects.)
uv is the extremely fast Python package & project manager with over 200M requests/day.
Not only are we happy about the adoption but also grateful for Astral and @crmarsh.com stepping up and supporting us through a GitHub sponsorship. Thanks!
uv is the extremely fast Python package & project manager with over 200M requests/day.
Not only are we happy about the adoption but also grateful for Astral and @crmarsh.com stepping up and supporting us through a GitHub sponsorship. Thanks!
On M3 macOS
On M3 macOS
Happy birthday, uv! 🥳
Happy birthday, uv! 🥳
1. Install uv
2. Init project with `uv init --app --package mycli`
3. Write code
4. Install with `uv tool install . -e`
5. Use `mycli` anywhere in your computer
1. Install uv
2. Init project with `uv init --app --package mycli`
3. Write code
4. Install with `uv tool install . -e`
5. Use `mycli` anywhere in your computer
How is the Rust programming language being used to speed up Python tools? This week on the show, we speak with @crmarsh.com about his company, Astral, and their tools, uv and Ruff.
https://realpython.com/podcasts/rpp/238/
How is the Rust programming language being used to speed up Python tools? This week on the show, we speak with @crmarsh.com about his company, Astral, and their tools, uv and Ruff.
https://realpython.com/podcasts/rpp/238/
realpython.com/podcasts/rpp...
realpython.com/podcasts/rpp...
From a technical perspective, it’s probably our most ambitious project yet. We’re about 800 PRs deep!
From a technical perspective, it’s probably our most ambitious project yet. We’re about 800 PRs deep!
This time, it's @gankra.bsky.social! Most recently CTO at Axo, author of cargo-dist, author of The Rustonomicon, Rust 1.0 team member, and more.
This time, it's @gankra.bsky.social! Most recently CTO at Axo, author of cargo-dist, author of The Rustonomicon, Rust 1.0 team member, and more.
It takes a few years for this to play out but IMO it's an important part of engineering growth.
It takes a few years for this to play out but IMO it's an important part of engineering growth.
socket.dev/blog/socket-...
socket.dev/blog/socket-...
For example: infrastructure-as-code means that I can get an LLM to generate CDK, then run the generated CDK, paste back errors, and iterate. No need for any other form interaction.
For example: infrastructure-as-code means that I can get an LLM to generate CDK, then run the generated CDK, paste back errors, and iterate. No need for any other form interaction.
Rust 1.0 was almost 10 years ago (2015). Graydon Hoare started working on it almost 20 years ago (2006).
Rust 1.0 was almost 10 years ago (2015). Graydon Hoare started working on it almost 20 years ago (2006).
It's fun. And it makes things that are often un-fun (installing the toolchain, adding dependencies) easy.
It's fun. And it makes things that are often un-fun (installing the toolchain, adding dependencies) easy.
But most importantly: they did it! 2604 commits over ~two years of work across > 200 authors. Ship ship ship!
fishshell.com/blog/rustport/
But most importantly: they did it! 2604 commits over ~two years of work across > 200 authors. Ship ship ship!
fishshell.com/blog/rustport/
You'll be able to create lockfiles for PEP 723 scripts, export them to requirements.txt, view the dependencies with uv tree, and more.
You'll be able to create lockfiles for PEP 723 scripts, export them to requirements.txt, view the dependencies with uv tree, and more.