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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fast_dev_cli-0.24.3.tar.gz
(22.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fast_dev_cli-0.24.3.tar.gz.
File metadata
- Download URL: fast_dev_cli-0.24.3.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f604da039963dcb20c7ddfd0eaff142fa132b19b9fbf0f87af2a660ad8f2b20
|
|
| MD5 |
c2de5f2e443df81d3fb64d86c3a9c4c8
|
|
| BLAKE2b-256 |
7bbcc4015860b1ebe5a2d54f679b5edffa160276b401646e3b3134440ddf0a39
|
File details
Details for the file fast_dev_cli-0.24.3-py3-none-any.whl.
File metadata
- Download URL: fast_dev_cli-0.24.3-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81e5e30bad48ebc5688d645f42b20136e13be2c9644178874185c7a4465c19f3
|
|
| MD5 |
8254a3a8d6609aa6de6a7dea23313f52
|
|
| BLAKE2b-256 |
bf071c3abeea0aef28e1d17f54e819cae2f7ed7f02328e4191548bf2c7cce28b
|