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 Pyright Checked ty Checked Ruff pdm-managed security: bandit


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

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.22.0.tar.gz (271.5 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.22.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fast_dev_cli-0.22.0.tar.gz
  • Upload date:
  • Size: 271.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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

Hashes for fast_dev_cli-0.22.0.tar.gz
Algorithm Hash digest
SHA256 d5658092a9dca9a36a8b1c4d4147c60c38c38b3a96fbf0fdad05dce3f3b68e70
MD5 2410a8647c9055166dfc96e0888ed0a9
BLAKE2b-256 e0a6747987f57c199ab6f9f6ef79a28bcc14dd7cc8d376e66a2b1b88e038bfd5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fast_dev_cli-0.22.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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

Hashes for fast_dev_cli-0.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17398ac942cd86e9560bd1f29a24883c9378701b8a5acf0465c2cb702aedf6e1
MD5 caa8c4404be37e26f6b0fee17c1fb5b9
BLAKE2b-256 c53e38a3808af7a005528dd46fe8f5d347ca285e58d90780ee116288d71e1a5b

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