This project facilitates the generation of compliant METS.xml files for Information Packages
python3 main.py
This will start the Flask application. Flask defaults to port 5000.
A valid http request can be made using software such as Postman.
Example using the sample input in repository:
POST http://localhost:5000/mets?filepath=sample_input/01538a96-c96e-4334-ad72-7934a7a22553
metsrw
- pip install metsrw
flask
- pip install flask
This project is a work in progress. Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.