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 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,...
``
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_archive-0.3.0.tar.gz.
File metadata
- Download URL: simple_archive-0.3.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17030418d4c2f476391d5a2a642bd9526b025228a0211cc384eb2e1161820304
|
|
| MD5 |
6322ea392019e931ae0cec1785518ecc
|
|
| BLAKE2b-256 |
88f04174038026eefd6e4f9e7af36ce65960b79850dd694b8175d0a84f55620e
|
File details
Details for the file simple_archive-0.3.0-py3-none-any.whl.
File metadata
- Download URL: simple_archive-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaaab5379a2b03518ff9c8c9162c8b0a4f94593483aa7754d61df77dddf8117b
|
|
| MD5 |
f8e23ef2f401de91b0fa2cbe82bb0dc6
|
|
| BLAKE2b-256 |
a06c50db1893edace4ff392a0a7d8f6bfe4f6952d3c5347b7ba77a97081b7d8b
|