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 installin repo root - Activate the virtual environment.
Use as a library: pdm add simple-archive.
Usage
Run safar <path/to/csv>
- Use
--zipif you want to create a zip-archive. - By default all archives is written to
./outputbut you can give--output dirto change that.
CSV Format
The expected CSV format is shown below where the metadata is given in the form namespace.element[.qualifier].
Language can be specified by namespace.element[language] or namespace.element.qualifier[language]
Example: dc.description[sv_SE]
Supported namespaces:
dc(required)localmetasharedcterms
files,dc.title,dc.date.issued,...
filename1||filename2,Title,2023-03-14,...
``
Metadata
Release files for simple-archive 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simple_archive-0.3.0.tar.gz | 19.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_archive-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.0 kB
Release files / simple_archive-0.3.0.tar.gz
| Download URL | simple_archive-0.3.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17030418d4c2f476391d5a2a642bd9526b025228a0211cc384eb2e1161820304
|
|
BLAKE2b-256 checksum How to use checksums |
88f04174038026eefd6e4f9e7af36ce65960b79850dd694b8175d0a84f55620e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / simple_archive-0.3.0-py3-none-any.whl
| Download URL | simple_archive-0.3.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aaaab5379a2b03518ff9c8c9162c8b0a4f94593483aa7754d61df77dddf8117b
|
|
BLAKE2b-256 checksum How to use checksums |
a06c50db1893edace4ff392a0a7d8f6bfe4f6952d3c5347b7ba77a97081b7d8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|