Metadata-Version: 2.4
Name: dirtygit
Version: 0.1.0
Summary: A simple Python library for detecting unclean git states.
Author: Mitchell DeHaven
License-Expression: MIT
License-File: LICENSE
Keywords: experiments,git,reproducibility
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# dirtygit

Assert your git repo is clean and get the current commit hash. Useful for ensuring experiment reproducibility.

## Install

```
pip install dirtygit
```

## Usage

```python
import dirtygit

commit = dirtygit.check()  # returns commit hash if clean, asserts if dirty
```
