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
Metadata
Release files for fast-dev-cli 0.26.0
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.26.0.tar.gz | 24.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fast_dev_cli-0.26.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.9 kB
Release files / fast_dev_cli-0.26.0.tar.gz
| Download URL | fast_dev_cli-0.26.0.tar.gz |
|---|---|
| Size | 24.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4a328e0fc915d515814c519b263b7df8dd4740c8a619f7335dde1c7a83b0bdb
|
|
BLAKE2b-256 checksum How to use checksums |
08323c522e3c7ca9f2d3011e07cbf43c1bcc3093275b754bd46b890007c8c52f
|
| 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.26.0-py3-none-any.whl
| Download URL | fast_dev_cli-0.26.0-py3-none-any.whl |
|---|---|
| Size | 24.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ddf096554e1b5d26560c70f959f2e823e80cb1e69e1c3418f4c73da02e66d6a
|
|
BLAKE2b-256 checksum How to use checksums |
a364317fcd49e57e5927f3df61a5c240792f18bd6e229589fdbc275f561b51f4
|
| 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}
|