Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Biason::Julio::new(); boosted
Riverfount :python_logo:
@riverfount@bolha.us  ·  activity timestamp last week

📢 Ei desenvolvedores Python! Já pensou em rodar scripts que trazem suas dependências junto no próprio arquivo? 🤯

Com o UV, isso é realidade! Basta um cabeçalho especial # /// script no seu .py, listar as libs e pronto: uv run script.py e tudo funciona, sem instalação manual. 🚀🐍

Quer aprender como criar scripts autocontidos, portáteis e super fáceis de compartilhar? Confira meu artigo com guia passo a passo e exemplos reais:

👉 https://bolha.blog/riverfount/scripts-python-autocontidos-como-rodar-qualquer-py-com-dependencias-embutidas

Liberte-se do velho venv e pip install e dê uma acelerada no seu desenvolvimento! 🔥

#Python #UV #DevTools #Automacao

  • Copy link
  • Flag this post
  • Block
Riverfount :python_logo:
@riverfount@bolha.us  ·  activity timestamp last week

📢 Ei desenvolvedores Python! Já pensou em rodar scripts que trazem suas dependências junto no próprio arquivo? 🤯

Com o UV, isso é realidade! Basta um cabeçalho especial # /// script no seu .py, listar as libs e pronto: uv run script.py e tudo funciona, sem instalação manual. 🚀🐍

Quer aprender como criar scripts autocontidos, portáteis e super fáceis de compartilhar? Confira meu artigo com guia passo a passo e exemplos reais:

👉 https://bolha.blog/riverfount/scripts-python-autocontidos-como-rodar-qualquer-py-com-dependencias-embutidas

Liberte-se do velho venv e pip install e dê uma acelerada no seu desenvolvimento! 🔥

#Python #UV #DevTools #Automacao

  • Copy link
  • Flag this post
  • Block
Aral Balkan
@aral@mastodon.ar.al  ·  activity timestamp 3 weeks ago

A feature that’s currently missing from @forgejo (and thus @Codeberg) is the ability to move issues between repositories (see https://codeberg.org/forgejo/forgejo/issues/1280).

Thankfully, Benjamin Melançon created Forego Helpers with a move_issue.py script that does this using the Forgejo API. Sadly, the script has a bug in it (a tiny regression introduced during a refactor) and their Forgejo instance doesn’t have signups so I couldn’t create a pull request, so here is a fork for the time being that you can use:

https://codeberg.org/aral/forgego-helpers

While fixing the bug, I also updated the project to use uv (https://docs.astral.sh/uv/) – think of it as a single tool that’s the equivalent of nvm and npm in Node.js that makes Python, well, usable out of the box.

So to move issue #299 from kitten/app to kitten/site on Codeberg, for example, you’d run the following in your terminal:

```shell
uv run move_issue.py kitten app 299 kitten site
```

That will move the issue (including comments), comment on both the old and new issues to link them together, and then close the old issue.

Enjoy!

#forgejo #codeberg #issues #repositories #git #movingIssues #python #uv #tools

Codeberg.org

forgego-helpers

Fork of Forgejo Helpers by Agaric with bug fix and uv support.

uv

uv is an extremely fast Python package and project manager, written in Rust.
  • Copy link
  • Flag this post
  • Block
Aral Balkan boosted
jbz
@jbz@indieweb.social  ·  activity timestamp 4 weeks ago

🐍 uv is the best thing to happen to the Python ecosystem in a decade - Blog - Dr. Emily L. Hunt

「 uv is a free, open-source tool built by Astral, a small startup that has been churning out Python tools (like the excellent linter Ruff) for the past few years. uv can:
- Install any Python version for you
- Install packages
- Manage virtual environments
- Solve dependency conflicts extremely quickly (very important for big projects.) 」

#uv #python #programming #rust
https://emily.space/posts/251023-uv

uv is the best thing to happen to the Python ecosystem in a decade - Blog - Dr. Emily L. Hunt

Released in 2024, uv is hands-down the best tool for managing Python installations and dependencies. Here's why.
  • Copy link
  • Flag this post
  • Block
jbz
@jbz@indieweb.social  ·  activity timestamp 4 weeks ago

🐍 uv is the best thing to happen to the Python ecosystem in a decade - Blog - Dr. Emily L. Hunt

「 uv is a free, open-source tool built by Astral, a small startup that has been churning out Python tools (like the excellent linter Ruff) for the past few years. uv can:
- Install any Python version for you
- Install packages
- Manage virtual environments
- Solve dependency conflicts extremely quickly (very important for big projects.) 」

#uv #python #programming #rust
https://emily.space/posts/251023-uv

uv is the best thing to happen to the Python ecosystem in a decade - Blog - Dr. Emily L. Hunt

Released in 2024, uv is hands-down the best tool for managing Python installations and dependencies. Here's why.
  • Copy link
  • Flag this post
  • Block
Hacker News
@h4ckernews@mastodon.social  ·  activity timestamp last month

Uv is the best thing to happen to the Python ecosystem in a decade

https://emily.space/posts/251023-uv

#HackerNews #Uv #Python #Ecosystem #Best #Thing #Decade #HackerNews

uv is the best thing to happen to the Python ecosystem in a decade - Blog - Dr. Emily L. Hunt

Released in 2024, uv is hands-down the best tool for managing Python installations and dependencies. Here's why.
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login