Skip to main content

Python project development tool.

Project description

FastDevCli

Toolkit for python code lint/test/bump ...

Supported Python versions Package version GithubActionResult Coverage Status Mypy Coverage Ruff pdm-managed security: bandit


Source Code: https://github.com/waketzheng/fast-dev-cli

English | 中文

Requirements

Python 3.10+

Features

  • Support uv/pd/mpoetry
  • Support MacOS/Linux/Windows

Installation

  • Global install
uv tool install --python 3.14 fastdevcli-slim
# Or: pipx install fastdevcli-slim

*Will create a fast command in ~/.local/bin

  • Install in project
pip install fast-dev-cli

Will install: fast-dev-cli emoji typer-slim pytest coverage

Usage

  • Lint py code:
fast lint [/path/to/file-or-directory]
  • Check only
fast check
  • Bump up version in pyproject.toml
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 fastdevcli-slim fast

Lint/Check by ty instead of mypy

fast lint --ty
fast check --ty

Project details


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.20.1.tar.gz (272.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fast_dev_cli-0.20.1-py3-none-any.whl (276.7 kB view details)

Uploaded Python 3

File details

Details for the file fast_dev_cli-0.20.1.tar.gz.

File metadata

  • Download URL: fast_dev_cli-0.20.1.tar.gz
  • Upload date:
  • Size: 272.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fast_dev_cli-0.20.1.tar.gz
Algorithm Hash digest
SHA256 16fbaf3c5b54543ded7613f577c9952629319274c437be57df2f472cd0f71037
MD5 d27761656df79ce06618e161aed7a5fa
BLAKE2b-256 6477f95ca385077ecba7d2976ca3ca026cc79bcca272b71c4f71dae370e4de81

See more details on using hashes here.

File details

Details for the file fast_dev_cli-0.20.1-py3-none-any.whl.

File metadata

  • Download URL: fast_dev_cli-0.20.1-py3-none-any.whl
  • Upload date:
  • Size: 276.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fast_dev_cli-0.20.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d966686d256e7368b6a2703fb40a51c8af0aa34e1ee6f956c559c928faff5864
MD5 5040f095bd2cef1d8880acc4b9b23272
BLAKE2b-256 6e3cd9c4b353ca8c45626192ff47efcd056a1383b1714cb00c0e485b05ec60fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page