Toolkit for python code lint/test/bump ...
Source Code: https://github.com/waketzheng/fast-dev-cli
English | 中文
Requirements
Python 3.10+
Features
- Support uv/pdm/poetry
- Support MacOS/Linux/Windows
Installation
- Global install
uv tool install fast-dev-cli
# Or: pipx install fast-dev-cli
*Will create a fast command in ~/.local/bin
- Install in project
pip install "fast-dev-cli[standard]"
Will install: fast-dev-cli emoji typer packaging pytest coverage
Usage
- Lint py code:
fast lint [/path/to/file-or-directory]
- Check only
fast check
- Bump up version in pyproject.toml(or package.json)
fast bump patch # 0.1.0 -> 0.1.1
fast bump minor # 0.1.0 -> 0.2.0
fast bump major # 0.1.0 -> 1.0.0
fast bump <part> --commit # bump version and run `git commit`
- Run unittest and report coverage
fast test
- Install dependencies, support pip/pdm/uv/poetry
fast deps
- Start a fastapi server in development mode
fast dev
- Change register of uv.lock to be pypi.org
fast pypi
Note: all command support the --dry option
Use it without installed
uvx --from fast-dev-cli fast
Lint/Check by ty instead of mypy
fast lint --ty
fast check --ty
Release files for fast-dev-cli 0.25.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fast_dev_cli-0.25.8.tar.gz | 24.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_dev_cli-0.25.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.6 kB
Release files / fast_dev_cli-0.25.8.tar.gz
| Download URL | fast_dev_cli-0.25.8.tar.gz |
|---|---|
| Size | 24.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad8f6776d2b738d6c69a102b9773bdc36e6396a069762038af4fd528cda51b15
|
|
BLAKE2b-256 checksum How to use checksums |
d77ddcaf0efb16f3ee6c9ced879d177a8b683f7bdefb5b5ec91dcfe0e2e5cbe0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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 / fast_dev_cli-0.25.8-py3-none-any.whl
| Download URL | fast_dev_cli-0.25.8-py3-none-any.whl |
|---|---|
| Size | 23.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7eac78cb8e8f666ccd2e30749a28d24ee05745898e0eef5bf51dd4f2d9e50c69
|
|
BLAKE2b-256 checksum How to use checksums |
2a653b674cdc7a79adc2105d2c3697e7516103c250ab497129ba65325e38d4b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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}
|