tyedit
Automated refactorings for Python projects, powered by ty — from the ruffedit fork.
This package installs a single tyedit binary, so it coexists with the
upstream ty and
ruff packages rather than replacing them.
tyedit <args> behaves like ty's edit subcommand from the fork:
tyedit renamerenames a symbol, module, or package and updates all references.tyedit movemoves a module-level function, class, or variable to another module, or moves a module or package to another package.
Usage
uvx tyedit rename mypkg.models.User Account # Rename a symbol and update its references.
uvx tyedit move mypkg.utils.parse_config mypkg.config # Move a function, class, or variable.
uvx tyedit rename mypkg.utils helpers # Rename a module (and its file on disk).
uvx tyedit move mypkg.utils otherpkg # Move a module into another package.
Targets can be a dotted path (as above) or a path/to/file.py:LINE:COLUMN
location (1-based). Pass --dry-run to show the changes without applying
them, and see tyedit help rename and tyedit help move for all options.
Type checking is not included — install ty
alongside for that.
Metadata
Release files for tyedit 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| tyedit-0.0.4-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| tyedit-0.0.4-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| tyedit-0.0.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| tyedit-0.0.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| tyedit-0.0.4-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| tyedit-0.0.4-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details |
Total release size: 72.8 MB
Release files / tyedit-0.0.4-py3-none-win_amd64.whl
| Download URL | tyedit-0.0.4-py3-none-win_amd64.whl |
|---|---|
| Size | 12.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d24db3a5dcc63e8ae68965c25b2792419a34da0cf056e3697608cbdc010a112d
|
|
BLAKE2b-256 checksum How to use checksums |
a55630aebe90eda840166e717d030fbef7de8cae26fcecfca39753b57b1e09ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tyedit-0.0.4-py3-none-musllinux_1_2_x86_64.whl
| Download URL | tyedit-0.0.4-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 12.5 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
606653b6a8770d90e4a752f578486dae3f6e6f672549c1784634e649cd3bddd6
|
|
BLAKE2b-256 checksum How to use checksums |
e7105d96ab317cf12fbb18fca5b787cefce71698ab70e8ba2f13cf4a8b50e7a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tyedit-0.0.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | tyedit-0.0.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 12.4 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
9e204bfd4d5a7f3512cc429733af51168664fab8d112c3997dda88b9c2f38ba5
|
|
BLAKE2b-256 checksum How to use checksums |
617df657fe02637c461d127ef792b843d88f874941e2e85ebca8f3c6fc7f9a4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tyedit-0.0.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | tyedit-0.0.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 11.8 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
2d77ecdb20458cab1fd5bbbadcd784ef8b7a59cc353c8b14e62cd20116c347f4
|
|
BLAKE2b-256 checksum How to use checksums |
af732bff0a28609fd485c55e90522dc14f9894ec7d9982224e29d0a0e0d5f3ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tyedit-0.0.4-py3-none-macosx_11_0_arm64.whl
| Download URL | tyedit-0.0.4-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 11.4 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c55759fc1012ea192e14029c25e3394a830f98dcacfc44d4a0ab7d4acdb615fa
|
|
BLAKE2b-256 checksum How to use checksums |
13404190c71af72a25112d60c55de5b510b918bfabd774308dd8d7272ba3b11c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tyedit-0.0.4-py3-none-macosx_10_12_x86_64.whl
| Download URL | tyedit-0.0.4-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 11.9 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
6b8c2513c7bfe79e2b3e2aa57f836b11cc15abd9cb264a8ff2eaba78313911d8
|
|
BLAKE2b-256 checksum How to use checksums |
ca4ce8b62ecd0856c685c5b822cca9a6424d68c6c8db72b99d5cb8c867a85664
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|