OAI-PMH Compatible provider for exposing PID related metadata. Specifically built for support for DataCite metadata. To use this service please go to https://oai.datacite.org.
Viringo is one of the names for the Peruvian hairless dog. Chosen to fit into a naming scheme within DataCite, it also represents an element of this mostly being about exposing what's underneath, i.e. no need for hair.
Using Docker.
docker run -p 8091:80 datacite/viringoor
docker compose upYou can now point your browser to http://localhost:8091 and use the application.
For development, FLASK_DEBUG=1 docker compose up enables Flask debug mode,
installs the dev dependencies and makes Passenger reload the app, so edits to
the (bind-mounted) source are picked up within about 10 seconds without
restarting the container.
Unit and Integration tests are split out to allow optional faster builds. Integration tests are higher level tests that will usually integrate or mock with other dependencies.
- Linter:
docker compose exec web uv run pylint **/*.py - All tests:
docker compose exec web uv run pytest - Only mocked tests:
docker compose exec web uv run pytest -v -m "not real" - Integration tests:
docker compose exec web uv run pytest tests/integration - Unit tests:
docker compose exec web uv run pytest tests/unit
Follow along via Github Issues.
With uv it is simple to configure a virtualenv for local development. This method allows full usage of the native flask development server.
Dependencies are declared in pyproject.toml and locked in uv.lock.
$ uv sync
$ uv run flask --app viringo run --debug
To add or upgrade a dependency, use uv add <package> or
uv lock --upgrade-package <package> and commit the updated uv.lock.
Access on: http://localhost:5000/
- Fork the project
- Write tests for your new feature or a test that reproduces a bug
- Implement your feature or make a bug fix
- Do not mess with version or history
- Commit, push and make a pull request. Bonus points for topical branches.
Viringo is released under the MIT License.