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,...
``

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)

Source distribution for simple-archive 0.3.0
File Size Uploaded
simple_archive-0.3.0.tar.gz 19.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-archive 0.3.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page