Metadata-Version: 2.4
Name: readmescore
Version: 0.1.0
Summary: Score a README and say what is missing.
Author: episodely
License: MIT
Project-URL: Homepage, https://github.com/episodely/readmescore
Project-URL: Issues, https://github.com/episodely/readmescore/issues
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# readmescore

Score a README out of 100 and get a list of what to add, ranked by points. Pure Python, no dependencies, runs offline.

```
$ python readmescore.py README.md
README score: 65/100 (grade C)
  -20  A usage section or code examples
  -10  A license mention
   -5  How to run tests
```

Use it in CI to keep docs from rotting:

```
python readmescore.py README.md --min 80
```

## Install

```
pip install readmescore
```

Or copy `readmescore.py` into your project, it has no dependencies.

## Checks (points)

title 10, short description 10, install 15, usage 20, code block 10, license 10, tests 5, contributing 5, 3+ sections 10, sensible length 5.

It measures structure, not writing quality. A high score means a reader can find the basics, not that the prose is good. Use `--json` for tooling.

```
python -m pytest
```

MIT licensed.
