returns
uv
returns | uv | |
---|---|---|
20 | 11 | |
3,290 | 11,453 | |
1.9% | 16.2% | |
9.1 | 10.0 | |
6 days ago | 3 days ago | |
Python | Rust | |
BSD 2-clause "Simplified" License | 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.
returns
-
This Week in Python (February 23, 2024)
returns – Make your functions return something meaningful, typed, and safe
- Python Functional Programming with returns library (type-safety, monads, etc.)
- GitHub - dry-python/returns: Make your functions return something meaningful, typed, and safe!
-
[Media] Rust Results in Python :D
you haven’t heard of https://github.com/dry-python/returns
-
Unleash the Power of Python Monads: A Design Pattern for Elegant Code!
returns from the DRY python group appears to offer similar functionality.
-
Rust's Option and Result. In Python.
Not to diminish this at all, but https://github.com/dry-python/returns also exists. The scope is wider, but the look and feel of the types feels very similar.
- Functional python for data process
-
Faif/Python-patterns: A collection of design patterns/idioms in Python
https://github.com/dry-python/returns#maybe-container
You can decide for yourself what is more readable: all these lambdas or the `None and f()` code.
- Show HN: Koda, a Typesafe Functional Toolkit for Python
-
Python/Pandas equivalent of CTE in SQL?
There is a Python library called returns (https://github.com/dry-python/returns) that allows you to write functional code in Python
uv
-
Trying Out Rye
It’s worth calling out that it’s still early days for Rye. The ownership recently transitioned from Armin Ronacher to the team that develops ruff (https://astral.sh). No doubt limitations exist today, but it’s going to look a lot more like cargo as they put out more releases.
-
Uv saves Home Assistant 215 compute hours per month
Happy to report that this definitely isn't a paid ad. The Home Assistant team did this on their own. I helped out by building uv for some of the architectures they needed: https://github.com/astral-sh/uv/pull/2417
-
Pyenv – lets you easily switch between multiple versions of Python
https://github.com/astral-sh/uv
So fast it finally made virtual environments usable for me.
- Python's pip on steroids
-
This Week in Python (February 23, 2024)
uv – An extremely fast Python package installer and resolver, written in Rust
-
Multi-Stage Docker Builds for Pyton Projects using uv
Charlie Marsh and the brillant guys at Astral have helped the python ecosystem a lot with ruff and now they have released a new tool: uv.
-
Ask HN: How to determine company's long term dependability? (Ello, Astral)
[2] https://github.com/astral-sh/uv
- Astral – fast Python package installer and resolver written in Rust
- An fast Python package installer and resolver, written in Rust
-
Uv: Python Packaging in Rust
https://github.com/astral-sh/uv?tab=readme-ov-file#multi-ver...
says:
> uv does not yet produce a machine-agnostic lockfile.
so maybe the non-portable requirements.txt is just a first milestone
What are some alternatives?
Toolz - A functional standard library for Python.
rye - a Hassle-Free Python Experience
CyToolz - Cython implementation of Toolz: High performance functional utilities
pyflow - An installation and dependency system for Python
Deal - 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.
hatch - Modern, extensible Python project management
Coconut - Simple, elegant, Pythonic functional programming.
flower - Flower: A Friendly Federated Learning Framework
fn.py - Functional programming in Python: implementation of missing features to enjoy FP
rfcs - RFCs for changes to Rust
funcy - A fancy and practical functional tools
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more