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

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

fastdevcli_slim-0.13.0.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

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

fastdevcli_slim-0.13.0-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

Details for the file fastdevcli_slim-0.13.0.tar.gz.

File metadata

  • Download URL: fastdevcli_slim-0.13.0.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for fastdevcli_slim-0.13.0.tar.gz
Algorithm Hash digest
SHA256 aa0e0d1d82d9ca18c32f76ca6ee610f025c1f2b704f7dd1cc37a1fc8dcc0a7d8
MD5 3715c215c4bf89382ea4b816dfd80b8a
BLAKE2b-256 36da9d91f84e7b00befe11a662e356396037e54602eb194c660439ca80a118d9

See more details on using hashes here.

File details

Details for the file fastdevcli_slim-0.13.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastdevcli_slim-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 314bfb4f96d3ba4b1a562d7ae0ee04efdee7ccf247b43b9ed771b7b8b50cf85e
MD5 e458cc61859d84be04aad4739cc3d6be
BLAKE2b-256 8b144ab64e4b87809478654d07fb9a3e0e2dbe435677ae316c13068559fbdfba

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