Metadata-Version: 2.1
Name: tamu_crossref
Version: 0.1.1
Summary: 
License: MIT
Author: Mark Baggett
Author-email: markpbaggett@gmail.com
Requires-Python: >=3.12,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: habanero (>=1.2.6,<2.0.0)
Requires-Dist: lxml (>=5.3.0,<6.0.0)
Requires-Dist: pytest (>=8.3.3,<9.0.0)
Description-Content-Type: text/markdown

# Crossref DOI Generator

Scripts to aid in minting Crossref DOIs

## Install

```
pipx install tamu_crossref
```

## Running

You can generate DOIS like this:

```
crossref generate -c myrecords.csv -o briefs.xml -d reports
```

Or find DOIs like this:

```
crossref find -m "mark@example.com"
```

## Testing DOIs before Upload to Crossref

You can test files before you upload to Crossref.  To do this, mkdir called `dois` and cp your xml to it:

```
mkdir dois
cp my.xml dois
```

Then, run pytest:

```
pytest
```

