Skip to content

deutsche-nationalbibliothek/mockils

Repository files navigation

MockILS

This is just meant for development and testing, not for production.

A fastapi implementation to mock parts of the ARAS REST API to test aras-py and to perform some item queries in context of the webarchive.

Installation

$ poetry install

Preparation

You need to create a directory data with the following abstract structure:

data:
- repositoryA
  - idn1
    - fileX.txt
    - fileY.gz
  - idn2
  - …
- repositoryB

You can create it with task testdata if you have task installed.

Run

Run it with task serve or poetry run fastapi dev mockils.py.

About

This is a mocked repository to provide files similar to aras

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages