Episode #332 A Python, a Slurpee, and Some Chaos - [Python Bytes Podcast]
source link: https://pythonbytes.fm/episodes/show/332/a-python-a-slurpee-and-some-chaos
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
#332: A Python, a Slurpee, and Some Chaos
About the show
Sponsored by InfluxDB from Influxdata.
Connect with the hosts
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays at 11am PT. Older video versions available there too.
Brian #1: huak - A Python package manager written in Rust. Inspired by Cargo
- Suggested by Owen
- Tons of workflows
activate
- activate a virtual environmentadd
add a dependency to a project- pip install it into your virtual environment, and add it to the dependency list in
pyproject.toml
- pip install it into your virtual environment, and add it to the dependency list in
test
- run pytestupdate
update dependencieslint
- runruff
, installing it first if necessaryfix
- autofix fixable lint conflictsbuild
- build wheel in isolated virtual environment usinghatchling
- Honestly
- I was considering building my own workflow tool, but this is darned close to what I want.
- Even though it’s still “in an experimental state”.
- There are rough edges (ruff edges, get it), but still, way cool.
- I just don’t know how to pronounce it. Is it like “walk”, or more like “whack”?
- After reviewing the proposed Cyber Resilience Act and Product Liability Act, the PSF has found issues that put the mission of our organization and the health of the open-source software community at risk.
- As currently written, the authors of open-source components might bear legal and financial responsibility for the way their components are applied in someone else’s commercial product.
- The risk of huge potential costs would make it impossible in practice for us to continue to provide Python and PyPI to the European public.
Brian #3: ChaosToolkit
- Suggested by the maintainer, Sylvain Hellegouarch
- Declare and store your Chaos Engineering experiments as JSON/YAML files so you can collaborate and orchestrate them as any other piece of code.
- Extensible through an Open API
- Can be automated in CI/CD pipeline
Michael #4: PEP 711 – PyBI: a standard format for distributing Python Binaries
- “Like wheels, but instead of a pre-built python package, it’s a pre-built python interpreter”
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK