Skip to main content

dot-tools

A grab bag of small scripts I use to keep my dotfiles and projects in shape. Nothing fancy — just the stuff I got tired of rewriting.

Install it however you prefer (pip install dot-tools, uv tool install dot-tools, etc.) and you'll get the commands below on your PATH.

What's in the box

traefik_run

Spins up a local Traefik via docker-compose. Pass extra args after --.

traefik_run              # up -d
traefik_run -- ps -a
traefik_run -- down

handle_envrc

Keeps .envrc files synced across machines through a shared folder (set ENVRC_HOME, defaults to ~/.keys/envrc). handle_envrc migrate moves storage from the old location (--old, defaults to ~/Yandex.Disk/home/envrc) to ENVRC_HOME, re-points all symlinks under --root (default: ~/devel) and re-approves them with direnv allow. If the local .envrc isn't a symlink yet, it moves it into the shared dir and replaces it with a link. If a shared one exists but the link is missing, it restores it.

handle_envrc

add_dot_files

Drops common project boilerplate into the current directory: .editorconfig, pyproject.toml, .pre-commit-config.yaml, .yamllint, .projectile.

add_dot_files

cpuniq

Copy (or move) files into a directory without clobbering. If the name is taken and the content differs, it appends a short uuid suffix.

cpuniq photo.jpg ~/pictures/
cpuniq -m mv *.log ~/archive/

release.py

Bumps the version, tags, builds and uploads. Mostly for this repo's own release flow.

release.py master
release.py -v 1.2.3 master

License

MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dot_tools-1.11.0.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dot_tools-1.11.0-py2.py3-none-any.whl (14.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dot_tools-1.11.0.tar.gz.

File metadata

  • Download URL: dot_tools-1.11.0.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dot_tools-1.11.0.tar.gz
Algorithm Hash digest
SHA256 0b1e5e4aa14dbeb80906cf70969bf37ddbd986ee609494714233260f53f684ca
MD5 e368f12f9f1968ba1375da0a8abf77ac
BLAKE2b-256 3ee089ca18f4e6e8769b7e8ab56ffc11e17d81b7c69ac8c0927f29f7d9412767

See more details on using hashes here.

File details

Details for the file dot_tools-1.11.0-py2.py3-none-any.whl.

File metadata

  • Download URL: dot_tools-1.11.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for dot_tools-1.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a425e029098c0d5c8bcd87db2742e73eda647c8498fce762b30967c003681d99
MD5 ee2856e605747f618bd6a5272fb17b73
BLAKE2b-256 d73f9dba4908f88bb7665de9ced9cf4791f5819c8f369cb7252dea53a95dcbd9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.11.0 This release

2 files

1.10.3

2 files

1.10.2

2 files

1.10.1

2 files

1.10.0

2 files

1.9.0

2 files

1.8.0

2 files

1.6.0

2 files

1.5.0

2 files

1.4.4

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.0.0

2 files

0.9.0

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.1

2 files

0.7.0

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page