Skip to main content

eatb - eArchiving Tool Box Build Coverage

About

The archiving tool box is a suite of tools for the creation of information packages for archival purposes. The archival information package must follow the structure and comply with metadata requirements defined by the E-ARK specification for information packages (CSIP available at https://earkcsip.dilcis.eu).

Quick Start

Pre-requisites

Python 3.7+ is required.

Install latest package version from the Python Package Index (PyPi)

pip install eatb

Install from GitHub source code

Clone the project move into the directory:

git clone https://github.com/E-ARK-Software/eatb.git
cd eatb

Set up a local virtual environment:

virtualenv -p python3 venv
source venv/bin/activate

Update pip and install the application:

pip install -U pip
pip install .

Use

Create information packages:

python3 eatb/package_creator.py -n <packagename> -d <package_directory> -t SIP

The tool eatb allows creating an E-ARK information packages based on files which are organized according to the basic file system structure as defined by the CSIP (https://earkcsip.dilcis.eu).

A minimal example is the following information package data structured according to CSP with one data file test.txt as representation repr1 and an EAD.xml metadata file.

myip
├── metadata
│   └── EAD.xml
└── representations
    └── repr1
        └── data
            └── test.txt

Using the packaging command, the structural and preservation data, METS.xml and premis.xml is added to the package:

myip
├── metadata
│   ├── dc.xml
│   └── preservation
│       └── premis.xml
├── METS.xml
└── representations
    └── repr1
        ├── data
        │   └── test.txt
        ├── metadata
        │   └── preservation
        │       └── premis.xml
        └── METS.xml

A more complete example with two representations is shown in the example below.

,-------------------------------------------------------.
| Information package {Persistent Unique Identifier}    |
|-------------------------------------------------------|
| - metadata/                                           | <--- Descriptive metadata
|     - EAD.xml                                          |
|-------------------------------------------------------|
| - representations/                                    | <--- Representations
|     - text_representation/                            | 
|         - data/                                       |
|             - file1.txt                               |
|             - file2.txt                               |
|         - metadata/                                   |
|         - documentation/                              |
|     - csv_representation/                             | 
|         - data/                                       |
|             - file1.csv                               |
|             - file2.csv                               |
|         - metadata/                                   |
|         - documentation/                              |
|-------------------------------------------------------|
| - schemas/                                            | <--- Schema files for validation
|     - IP_CS_mets.xsd                                  |
|     - premis-v3-0.xsd                                 |
|     - xlink.xsd                                       |
|-------------------------------------------------------|
| - METS.xml                                            | <--- Root METS file (structural metadata)
`-------------------------------------------------------'

Set up a development environment for the project

Get source code and create virtual environment using pip

Clone the project and move into the directory:

git clone https://github.com/E-ARK-Software/eatb.git
cd eatb

Set up a local virtual environment:

virtualenv -p python3 venv
source venv/bin/activate

Unit tests

Install py.test

pip install -U pytest

Run tests:

py.test tests

Metadata

Release files for eatb 0.2.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eatb 0.2.9
File Size Uploaded
eatb-0.2.9.tar.gz 184.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for eatb 0.2.9
File Interpreter ABI Platform
eatb-0.2.9-py3-none-any.whl Python 3 none any Details

Total release size: 396.5 kB

Release files / eatb-0.2.9.tar.gz

Download URL eatb-0.2.9.tar.gz
Size 184.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cd7d8ca22296ce962fc2da76c825bca3408570334ba0cb745958d6529249a479
BLAKE2b-256 checksum
How to use checksums
1596a7dd7eb7446c7237800b4fb7aa9ba0d3b26a85848869e7fd906a8627972f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release files / eatb-0.2.9-py3-none-any.whl

Download URL eatb-0.2.9-py3-none-any.whl
Size 211.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45a9fe8ab0ee26fcde5440b192d121cd897886996a3be28da5c6f220751fa117
BLAKE2b-256 checksum
How to use checksums
018298f6d308f6e1b2738158abaa41f59864c742ecf79d78381fdd055d12634a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.21

Release history Release notifications | RSS feed

This release

0.2.9 This release

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

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