Programming

## Python

### Tips and useful libraries for python developers

## Interesting libraries

### TQDM

From tqdm’s github repository:

> tqdm means “progress” in Arabic (taqadum, تقدّم) and an abbreviation for “I love you so much” in Spanish (te quiero demasiado).

## Tools

### uv

🚀 A single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more. ⚡️ 10-100x faster than pip.

- Provides comprehensive project management, with a universal lockfile.
- Runs scripts, with support for inline dependency metadata.
- Installs and manages Python versions.
- Runs and installs tools published as Python packages.
- Includes a pip-compatible interface for a performance boost with a familiar CLI.
- Supports Cargo-style workspaces for scalable projects.
- Disk-space efficient, with a global cache for dependency deduplication.
- Installable without Rust or Python via curl or pip.
- Supports macOS, Linux, and Windows.

### pipdeptree

A tool to generate a dependency tree from a virtualenv.

Useful to generate a clean `requirements.txt` or to clean up one that was generated with `pip freeze`. Usage:

    1
    2
    3
    4
    5
    6
    7

    $ pipdeptree --exclude pip,pipdeptree,setuptools,wheel --warn silence | grep -E '^\w+' | tee requirements-clean.txt
    Flask==0.10.1
    gnureadline==8.0.0
    Lookupy==0.1
    pipdeptree==2.0.0b1
    setuptools==47.1.1
    wheel==0.34.2

## Related content

## Bridging RDF, JSON-LD and Dataclasses

## uv - One rust tool to rule all pythons

## Nix Recipe for Python Projects

## Progress bars in python

## Proxies with Apache and python