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.7
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.7.tar.gz | 24.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_dev_cli-0.25.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.4 kB
Release files / fast_dev_cli-0.25.7.tar.gz
| Download URL | fast_dev_cli-0.25.7.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d94089d8cb1e758a52b51d208c964f53ced19c49564a4279c285c9ef9885503
|
|
BLAKE2b-256 checksum How to use checksums |
a9ef18547395e52837167ede76f9a2cf32d2dda8cfcd56242e986964db1047a9
|
| 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.7-py3-none-any.whl
| Download URL | fast_dev_cli-0.25.7-py3-none-any.whl |
|---|---|
| Size | 23.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ce0cd80be9d69f7a33cc7cf613e60995ee4877f29db6634593436c5c939e340
|
|
BLAKE2b-256 checksum How to use checksums |
cae1208f0a76020c29781b2d2641558d79e04ec2c806f5b1113525514d693a8e
|
| 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}
|