CLI and library for working with Simple Archive Format
Project description
simple-archive
CLI and library for managing DSpace's Simple Archive Format (SAF)
Install
- Clone repo
- Run
poetry install
in repo root
Usage
- Run
poetry shell
to enter virtual environment - Run
safar <path/to/csv>
- Use
--zip
if you want to create a zip-archive.
- Use
- By default all archives is written to
./output
but you can give--output dir
to change that.
CSV Format
The expected CSV format is shown below where the metadata is given in the form namespace.element[.qualifier[.language]]
.
NOTE Currently only the dc
namespace is handled.
files,dc.title,dc.date.issued,...
filename1||filename2,Title,2023-03-14,...
``
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simple_archive-0.1.0.tar.gz
(13.2 kB
view hashes)
Built Distribution
Close
Hashes for simple_archive-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54c50bb5b8b6da1c60ba78d29d9f8b0053561786ab558315aaace066cafcd57c |
|
MD5 | f8f63d7dbb0232a20a542438cb1565fe |
|
BLAKE2b-256 | 72cd8b67f3ce4f6be5663022b5a8852248a7ea250415440f05d501d461aa8296 |