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
To use as CLI:
pip install --user simple-archive
or with pipx
:
pipx install simple-archive
or:
- Clone repo
- Run
pdm install
in repo root - Activate the virtual environment.
Use as a library: pdm add simple-archive
.
Usage
Run safar <path/to/csv>
- Use
--zip
if you want to create a zip-archive. - 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.2.0.tar.gz
(15.9 kB
view hashes)
Built Distribution
Close
Hashes for simple_archive-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b29326b346482774d0c482a2f3fd67eb0b7f02a3b0ec3261e28b3095642963b |
|
MD5 | 438497f49793ddee05950325222270cf |
|
BLAKE2b-256 | 22c91541b9bebf2b89bb20a97bda2bfa01e802687273e94835042dca276b0a0e |