dotlocalslashbin → Download to ~/.local/bin/
Features
Uses a TOML configuration file, by default bin.toml and has no dependencies
beyond the Python standard library. Supports the following actions after
downloading the URL* to a cache:
- extract to the output directory — from zip or tar files — or
- create a symbolic link in the output directory or
- run a command for example to correct the shebang line in a zipapp or
- copy the downloaded file
Guesses the correct action if none is specified. By default caches downloads to
~/.cache/dotlocalslashbin/.
Optionally can:
- run a command after download for example to correct a shebang line
- confirm a SHA256 or SHA512 hex-digest of the downloaded file
- invoke the target with an argument, for example
--version - strip a prefix while extracting
- ignore certain files while extracting
- clear the cache beforehand
* if the URL is an absolute path on the local file system; it is not downloaded to the cache.
Installation
The recommended way to run dotlocalslashbin is with uv.
Command to install the latest released dotlocalslashbin from PyPI:
uv tool install dotlocalslashbin
Command to run latest development version of dotlocalslashbin directly from
GitHub:
uv tool run git+https://github.com/maxwell-k/dotlocalslashbin --version
Example
For example to download tofu to the current working directory, first save the
following as tofu.toml then run the command below.
[tofu]
url = "https://github.com/opentofu/opentofu/releases/download/v1.10.3/tofu_1.10.3_linux_amd64.zip"
expected = "acf330602ec6ae29ba68dd5d8eb1f645811ae9809231ecdccd4774b21d5c79bc"
version = "version"
ignore = ["LICENSE", "README.md", "CHANGELOG.md"]
Command:
uv tool run dotlocalslashbin --output=. tofu.toml
Further examples are available in files like linux-amd64.toml and
github.toml in the bin directory of
maxwell-k/dotfiles.
See also
Metadata
Release files for dotlocalslashbin 0.0.28
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dotlocalslashbin-0.0.28.tar.gz | 41.0 kB | With provenance | Details for dotlocalslashbin-0.0.28.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dotlocalslashbin-0.0.28-py3-none-any.whl | Python 3 | none | any | Details for dotlocalslashbin-0.0.28-py3-none-any.whl |
Total release size: 70.5 kB
Release files / dotlocalslashbin-0.0.28.tar.gz
| Download URL | dotlocalslashbin-0.0.28.tar.gz |
|---|---|
| Size | 41.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca8f0af1e683922bac65099126742684ba82502ef8b779ed965ca17804257665
|
|
BLAKE2b-256 checksum How to use checksums |
b21bdeef455770d2d8d17cd31af47c9503997389bd2df69bf08a2a1185675bac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logRelease files / dotlocalslashbin-0.0.28-py3-none-any.whl
| Download URL | dotlocalslashbin-0.0.28-py3-none-any.whl |
|---|---|
| Size | 29.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a479c8a33cc8c1222005a082ee4156a2853287c4f4456f8500e8907d265b38f1
|
|
BLAKE2b-256 checksum How to use checksums |
8069fff4036bbf8303f573f76eac04490b91e1110ca9b674386985e056e72a0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logSecurity for dotlocalslashbin 0.0.28
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for dotlocalslashbin-0.0.28.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.