Skip to main content

simple-archive

PyPI version PyPI - Python Version PyPI - Downloads

Maturity badge - level 2 Stage

Code Coverage

CI(check) CI(release) CI(scheduled) CI(test)

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:

  1. Clone repo
  2. Run pdm install in repo root
  3. 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 can be specified by namespace.element[language] or namespace.element.qualifier[language]

Example: dc.description[sv_SE]

Supported namespaces:

  • dc (required)
  • local
  • metashare
  • dcterms
files,dc.title,dc.date.issued,...
filename1||filename2,Title,2023-03-14,...
``

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.3.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_archive-0.3.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

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

Hashes for simple_archive-0.3.0.tar.gz
Algorithm Hash digest
SHA256 17030418d4c2f476391d5a2a642bd9526b025228a0211cc384eb2e1161820304
MD5 6322ea392019e931ae0cec1785518ecc
BLAKE2b-256 88f04174038026eefd6e4f9e7af36ce65960b79850dd694b8175d0a84f55620e

See more details on using hashes here.

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

Hashes for simple_archive-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aaaab5379a2b03518ff9c8c9162c8b0a4f94593483aa7754d61df77dddf8117b
MD5 f8e23ef2f401de91b0fa2cbe82bb0dc6
BLAKE2b-256 a06c50db1893edace4ff392a0a7d8f6bfe4f6952d3c5347b7ba77a97081b7d8b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page