Metadata-Version: 2.4
Name: cpast
Version: 1.0.0
Summary: Git commit in the past
Author-email: skuzow <alex@skuzow.net>
Project-URL: Homepage, https://github.com/skuzow/cpast
Project-URL: Bug Reports, https://github.com/skuzow/cpast/issues
Project-URL: Source, https://github.com/skuzow/cpast
Keywords: git,commit,command,setuptools,development
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 🕓 Cpast

[![python](https://img.shields.io/badge/python->=%203.11%20-blue)](https://www.python.org/downloads)
[![pypi](https://img.shields.io/pypi/v/cpast)](https://pypi.org/project/cpast)
[![license](https://img.shields.io/github/license/skuzow/cpast.svg)](https://github.com/skuzow/cpast/blob/main/LICENSE)
[![release](https://github.com/skuzow/cpast/actions/workflows/release.yml/badge.svg)](https://github.com/skuzow/cpast/actions/workflows/release.yml)
[![test](https://github.com/skuzow/cpast/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/skuzow/cpast/actions/workflows/test.yml)

Git commit in the past.

## 🗿 Usage

```bash
python -m cpast -d DATE -t TIME -m MESSAGE
```

| Flag            | Description                | Example            |
|-----------------|----------------------------|--------------------|
| `-d, --date`    | Commit date (`YYYY-MM-DD`) | `2021-12-25`       |
| `-t, --time`    | Commit time (`HH:MM:SS`)   | `22:13:05`         |
| `-m, --message` | Commit message             | `"in the past :)"` |

## 🧩 Install

### [uv](https://docs.astral.sh/uv)

Global tool:

```bash
uv tool install cpast
```

Current project:

```bash
uv add cpast
```

### [pip](https://pip.pypa.io)

Global tool:

```bash
pip install --user cpast
```

Current project:

```bash
pip install cpast
```

## 🚀 Development

Install [uv](https://docs.astral.sh/uv/), then from the repository root:

Install project + dev tools:

```bash
uv sync
```

Build the distribution artifacts:

```bash
uv build
```

Verify package metadata and README rendering:

```bash
uv run twine check dist/*
```

Lint the source and tests:

```bash
uv run flake8 cpast tests
```

Run the test suite:

```bash
uv run pytest tests
```

## 💫 Contributors

[![Contributors](https://contrib.rocks/image?repo=skuzow/cpast&max=500&columns=20)](https://github.com/skuzow/cpast/graphs/contributors)
