Metadata-Version: 2.1
Name: fast-dev-cli
Version: 0.9.2
Summary: Python project development tool.
Author-Email: Waket Zheng <waketzheng@gmail.com>>
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development
Classifier: Typing :: Typed
Classifier: License :: OSI Approved :: MIT License
Project-URL: Homepage, https://github.com/waketzheng/fast-dev-cli
Requires-Python: <4,>=3.10
Requires-Dist: typer<0.13,>=0.12.3
Requires-Dist: tomli<3,>=2.0.1; python_version < "3.11"
Requires-Dist: coverage<8,>=7.5.1
Requires-Dist: ruff<0.6,>=0.4.4
Requires-Dist: mypy<2,>=1.10.0
Requires-Dist: bumpversion2<2,>=1.4.0
Requires-Dist: pytest<9,>=8.2.0
Requires-Dist: ipython<9,>=8.24.0; extra == "all"
Requires-Dist: pytest-mock<4,>=3.14.0; extra == "all"
Provides-Extra: all
Description-Content-Type: text/markdown

<p align="center">
  <img src="https://fastdevcli.waketzheng.top/img/logo-margin/logo-teal.png" alt="FastDevCli">
</p>
<p align="center">
    <em>Toolkit for python code lint/test/bump ...</em>
</p>
<p align="center">
<a href="https://pypi.org/project/fast-dev-cli" target="_blank">
    <img src="https://img.shields.io/pypi/v/fast-dev-cli?color=%2334D058&label=pypi%20package" alt="Package version">
</a>
<a href="https://pypi.org/project/fast-dev-cli" target="_blank">
    <img src="https://img.shields.io/pypi/pyversions/fast-dev-cli.svg" alt="Supported Python versions">
</a>
<a href="https://github.com/waketzheng/fast-dev-cli/actions?query=workflow:ci" target="_blank">
    <img src="https://github.com/waketzheng/fast-dev-cli/workflows/ci/badge.svg" alt="GithubActionResult">
</a>
<a href="https://coveralls.io/github/waketzheng/fast-dev-cli?branch=main" target="_blank">
    <img src="https://coveralls.io/repos/github/waketzheng/fast-dev-cli/badge.svg?branch=main" alt="Coverage Status">
</a>
<a href="https://github.com/astral-sh/ruff" target="_blank">
    <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff">
</a>
<a href="https://github.com/python/mypy" target="_blank">
    <img src="https://img.shields.io/badge/mypy-100%25-green.svg" alt="Mypy Coverage">
</a>
<a href="https://github.com/PyCQA/bandit" target="_blank">
    <img src="https://img.shields.io/badge/security-bandit-yellow.svg" alt="security: bandit">
</a>
</p>

---

**Source Code**: <a href="https://github.com/waketzheng/fast-dev-cli" target="_blank">https://github.com/waketzheng/fast-dev-cli</a>

**English** | [中文](./README.zh.md)

## Requirements

Python 3.10+

## Installation

<div class="termy">

```bash
pip install "fast-dev-cli"
```
*Will install: fast-dev-cli typer ruff mypy bumpversion pytest coverage*

</div>

## Usage

- Lint py code:
```bash
fast lint /path/to/file-or-directory
```
- Check only
```bash
fast check
```
- Bump up version in pyproject.toml
```bash
fast bump
```
- Run unittest and report coverage
```bash
fast test
```
- Export requirement file and install `pip install -r `
```bash
fast sync
```
- Upgrade main/dev dependencies to latest version
```bash
fast upgrade
```
- Start a fastapi server in development mode
```bash
fast dev
```
