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.9+

Features

  • Support poetry/pdm/uv
  • Support Windows/MacOS/Linux

Installation

pip install fast-dev-cli

Will install: fast-dev-cli emoji typer ruff mypy bumpversion2 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
  • Export requirement file and install pip install -r
fast sync
  • Upgrade main/dev dependencies to latest version (only for poetry project)
fast upgrade
  • Start a fastapi server in development mode
fast dev
  • Publish to pypi
fast upload

Note: all command support the --dry option

Use it without installed

uvx --from fastdevcli-slim fast

Install global

pipx install fastdevcli-slim

Or:

uv tool install fastdevcli-slim

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.19.0.tar.gz (182.3 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.19.0-py3-none-any.whl (184.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fast_dev_cli-0.19.0.tar.gz
  • Upload date:
  • Size: 182.3 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.19.0.tar.gz
Algorithm Hash digest
SHA256 10621212c0e196ae7f153b1e238fb1ef7ec60769344aeb0ac302357931b67b88
MD5 cee1552c6b4872d5ca349d84e644912c
BLAKE2b-256 176dea55b75760dc22b8bac9f5604eba3f79dae2ae8e3b3b4992dbe683a767f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fast_dev_cli-0.19.0-py3-none-any.whl
  • Upload date:
  • Size: 184.9 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.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 154a7e56fd21767d670dc523430b75d19122cd3129ffdf33180a3cfc8d8adfe0
MD5 4346ec2be6394b5d994958ad8f7ce723
BLAKE2b-256 50aee71bc9cfad00b3f4e4dac9addad3ac4bd07f786808d87ff87e6c5d5f21a5

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