Cookie Consent by Free Privacy Policy Generator

The Best Of

Go to the Best Of the SEO Community.

Noah
Noah
Jan 19, 2025, 10:21 AM
Forwarded from another channel:
Forwarded thread from another channel:
Elias
Elias
Dec 28, 2024, 5:49 AM
*How to share Python apps (Dash, Streamlit, etc.) without deploying them*
There is a magical feature in `uv`, which allows you run remote scripts hosted online. As a consequence, you can have the app code in a file online, and simply run:
Then uv will:

???? Temporarily download the script
???? Create a virtual environment using the inline metadata (Python version and package dependencies)
???? Activate the environment
???? Run the Python code

Even with a non-technical audience, you can guide them to install uv (30 seconds), and share the uv run... command.

You can keep updating the online version, and they can periodically check the changes.

You can include data files (also online), by slightly modifying your code. For example:
df = pd.read_csv("")```
YouTube short demo:
Code file:
Running Python scripts with uv tutorial:
An introduction to running Python scripts with the uv library, what problems it solves, and how to use it for self-contained scripts, massively simplifying the process of running your scripts.

Our Values

What we believe in

Building friendships

Kindness

Giving

Elevating others

Creating Signal

Discussing ideas respectfully

What has no home here

Diminishing others

Gatekeeping

Taking without giving back

Spamming others

Arguing

Selling links and guest posts


Sign up for our Newsletter

Join our mailing list for updates

By signing up, you agree to our Privacy Policy and Terms of Service. We may send you occasional newsletters and promotional emails about our products and services. You can opt-out at any time.

Apply now to join our amazing community.

Powered by MODXModx Logo
the blazing fast + secure open source CMS.