Skip to main content

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

  1. Clone repo
  2. Run poetry install in repo root

Usage

  1. Run poetry shell to enter virtual environment
  2. Run safar <path/to/csv>
    • Use --zip if you want to create a zip-archive.
  3. 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)

Uploaded Source

Built Distribution

simple_archive-0.1.0-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page