"id=1 name='John Doe' email='[email protected]'"
and
"John Doe"
"id=1 name='John Doe' email='[email protected]'"
and
"John Doe"
Especially if the json is tricky...
Especially if the json is tricky...
#ty found at buff.ly/rJg94P5 is created by astral-sh (creators of #ruff and #uv) and is also written in rust. Note: this isn't ready for production yet.
Have you tried any of the new kids on the block?
#ty found at buff.ly/rJg94P5 is created by astral-sh (creators of #ruff and #uv) and is also written in rust. Note: this isn't ready for production yet.
Have you tried any of the new kids on the block?
In case you run into challenges, don't hesitate to reach out.
In case you run into challenges, don't hesitate to reach out.
To do the actual migration, just `uvx convert-poetry2uv pyproject.toml`. (Your original file will be backed up)
To do the actual migration, just `uvx convert-poetry2uv pyproject.toml`. (Your original file will be backed up)
I looked for existing ones, but didn't find any that met my requirements or desires. So, nothing to do than creating my own. And so it was born. buff.ly/zmp2ptg
to make it really easy to use, when you already have uv installed is just calling it directly: `uvx convert-poetry2uv -n pyproject.toml`
I looked for existing ones, but didn't find any that met my requirements or desires. So, nothing to do than creating my own. And so it was born. buff.ly/zmp2ptg
to make it really easy to use, when you already have uv installed is just calling it directly: `uvx convert-poetry2uv -n pyproject.toml`
After I did that once, and imaging other would be in the same pickle. I thought it would be useful to have a migration script to convert the existing #poetry `pyproject.toml` to one that can be consumed by #uv.
Even loading libraries from your requirements file is easy, `uv add -r requirements.txt`.
Now, you might want to migrate other repositories to have some consistency. How to migrate your existing repo's to uv.
Even loading libraries from your requirements file is easy, `uv add -r requirements.txt`.
Now, you might want to migrate other repositories to have some consistency. How to migrate your existing repo's to uv.
Have a read on my complete article
buff.ly/KQ8kqVN
Have a read on my complete article
buff.ly/KQ8kqVN
So, let's improve that by changing the shebang.
`#!/usr/bin/env -S uv run --script`
So, let's improve that by changing the shebang.
`#!/usr/bin/env -S uv run --script`
Are you already using this?
Are you already using this?
`source ./.venv/bin/activate` and vscode picks it up automatically
Still want to migrate, use a conversion tool, like pypi.org/project/conv...
`source ./.venv/bin/activate` and vscode picks it up automatically
Still want to migrate, use a conversion tool, like pypi.org/project/conv...