【.NET 10】C#がスクリプト言語になった? `dotnet run script.cs` で NuGet パッケージごと即実行できる新機能を試してみた
https://qiita.com/syaryn/items/334edee6b2c2811a99b2?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items

#qiita #Python #C #NET #nuget #pep723

【.NET 10】C# がスクリプト言語になった? `dotnet run script.cs` で NuGet パッケージごと即実行できる新機能を試してみた - Qiita

【.NET 10】C# がスクリプト言語になった? dotnet run script.cs で NuGet パッケージごと即実行できる新機能を試してみた はじめに Python では PEP 723 により、スクリプトファイル内に依存パッケージを記述して uv run...

Qiita
Fun with uv and PEP 723

How to use uv and the Python inline script metadata proposal PEP 723 to run scripts seamlessly.

Cottongeeks

- https://thisdavej.com/share-python-scripts-like-a-pro-uv-and-pep-723-for-easy-deployment/

Sharing single-file Python scripts with external dependencies is now easy thanks to uv and PEP 723, which enable embedding dependency metadata directly within scripts. This approach eliminates the need for complex setup tools like requirements.txt or package managers, making script distribution and execution seamless and simplifying deployment while maintaining flexibility and efficiency.

#python #uv #Pep723

✨🔍 Oh, rejoice! Another #Python savior has arrived to rescue us from the depths of #dependency #hell with some arcane UV and PEP 723 magic, only for us to be greeted by the ever-illuminating wisdom of a 406 #error page from #ModSecurity. 🚫🐍 Because who needs actual content when you can have a good old "not acceptable" server scolding? 🙄
https://thisdavej.com/share-python-scripts-like-a-pro-uv-and-pep-723-for-easy-deployment/ #PEP723 #Development #HackerNews #ngated

@ofek Hello and welcome to Mastodon!

#Python people: give @ofek a follow, he's the author of the #Hatch project manager and the #Hatchling build backend, plus cool tools like https://github.com/ofek/pypinfo, and wrote #PEP723 "Inline script metadata"!

GitHub - ofek/pypinfo: Easily view PyPI download statistics via Google's BigQuery.

Easily view PyPI download statistics via Google's BigQuery. - ofek/pypinfo

GitHub

If I remember correctly, I couldn't get a file dependency working like `pipx run` for local development purposes, but the newest version of `uv` seems to work as I would expect.

#Python #PEP723 #uv #pip #pipx

I need to check how https://astral.sh/blog/uv-unified-python-packaging works with https://pypi.org/project/django-unicorn-playground/ now. When I tried it a month or so ago I ran into some snags, but maybe the issues have been smoothed over at this point.

#Python #PEP723 #uv

uv: Unified Python packaging

Manage entire Python projects and even Python itself with a single unified tool.

El PEP-723 ha sido aceptado. Con este PEP se permite añadir a los scripts de python información sobre el entorno de ejecución que, hasta ahora, había que especificar externamente con un fichero pyproject.toml o similar.

https://realpython.com/python-news-october-2023/#pep-723-embedding-dependencies-in-single-file-scripts

Este modo de integrar dependencias en un único fichero de script sigue la tendencia de algunos otros lenguajes. La más notable serían las "directivas" de scala, con las que se puede controlar no sólo las dependencias, sino también las versiones de la máquina virtual jvm, las implementaciones del lenguaje, el testing y el building final.

#scripting #python #pep723

Python News: What's New From October 2023 – Real Python

A natural highlight in October 2023 is the release of Python 3.12. However, the community doesn't rest, and nominations for a new Python Steering Council are underway, while a Documentation Editorial Board and a Typing Council are about to be established.