Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidcellis/inlinescripts
A loose collection of utility python scripts with inline dependencies
https://github.com/davidcellis/inlinescripts
Last synced: 1 day ago
JSON representation
A loose collection of utility python scripts with inline dependencies
- Host: GitHub
- URL: https://github.com/davidcellis/inlinescripts
- Owner: DavidCEllis
- Created: 2024-10-03T17:04:33.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-23T17:52:59.000Z (14 days ago)
- Last Synced: 2024-10-25T02:59:11.003Z (13 days ago)
- Language: Python
- Size: 1.86 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Inline Scripts #
A collection of scripts for various tasks that use Python
[Inline script metadata](https://packaging.python.org/en/latest/specifications/inline-script-metadata/#inline-script-metadata)
to declare dependencies as originally specified in PEP-723.## How to use .py scripts ##
These scripts are designed to be used with an inline dependency script runner.
The `build_zipapps.py` script requires `uv` be installed on `PATH` and will generate
bundled zipapps with [ducktools-env](https://github.com/DavidCEllis/ducktools-env) that
can be used from any Python install of 3.10 or later.It puts the scripts in `~/bin` on Linux/MacOS and `%USERPROFILE%\bin` on Windows.
## Included Scripts ##
These scripts are just a random collection of tools I find useful
* run_tests
* A script that will run pytest in the current folder for the latest patch of every
minor Python release available via `uv` that satisfies `requires-python` in the
current path's pyproject.toml
* find_low_bitrate_music
* Finds and lists any albums of MP3 tracks that were ripped below a specified bitrate
(If only I'd ripped everything to flac years ago)