Metadata-Version: 2.4
Name: dmtri
Version: 0.1.6
Summary: CLI tool for triggering datacenter metadata updates
Author-email: Nikos Sokos <nsokos@noa.gr>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/EIDA/dmtri
Project-URL: Repository, https://github.com/EIDA/dmtri
Project-URL: Issues, https://github.com/EIDA/dmtri/issues
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ansible>=6.7.0
Requires-Dist: ansible-runner>=2.3.6
Requires-Dist: appdirs>=1.4.4
Requires-Dist: pytest>=8.3.5
Requires-Dist: pytest-cov>=5.0.0
Requires-Dist: requests
Requires-Dist: tomli>=2.2.1; python_version < "3.11"
Dynamic: license-file

# dmtri

[![Run Tests](https://github.com/EIDA/dmtri/actions/workflows/pytest.yml/badge.svg)](https://github.com/EIDA/dmtri/actions/workflows/pytest.yml)
![Coverage](badges/coverage.svg)

`dmtri` is a command-line tool designed to trigger metadata and data refresh simulations across EIDA nodes using Ansible automation. It works across these components:

- `seedpsd`
- `wfcatalog`
- `availability`

It uses `.dmtri_jobs.json` per host to track async job state and integrates with `uv` and `ansible` for CLI automation.

## Documentation

The full documentation lives in [`docs/`](docs/):

- [Overview](docs/index.md)
- [Install](docs/install.md)
- [Usage](docs/usage.md) — refresh jobs, tracking, fixing inconsistencies, fixing missing PSDs
- [Configuration](docs/configuration.md) — inventory, PSD settings, customization
- [Troubleshooting](docs/troubleshooting.md)

## License

Copyright © 2026 EIDA (European Integrated Data Archive).

`dmtri` is free software: you can redistribute it and/or modify it under the terms of the
[GNU General Public License](LICENSE) as published by the Free Software Foundation, either
version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the [GNU General Public License](LICENSE) for more details.
