Skip to main content

A suite of tools for the creation of information packages for archival purposes.

Project description

eatb - eArchiving Tool Box

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 defined by the E-ARK specification for information packages (CSIP available at https://earkcsip.dilcis.eu).

,-------------------------------------------------------.
| 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-v2-2.xsd                                 |
|     - xlink.xsd                                       |
|-------------------------------------------------------|
| - METS.xml                                            | <--- Root METS file (structural metadata)
`-------------------------------------------------------'

The archiving toolbox allows creating an information package based on files which are organized according to the structure of a CSIP. It will validate the structure and create METS metadata representing the structure of the package and PREMIS metadata which allows recording the provenance of it.

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


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

Installation

Install python packages (in virtual environment):

pip install -r requirements.txt

Use

Create information packages:

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

Unit tests

Install py.test

pip install -U pytest

Run tests:

py.test tests

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

eatb-0.1.8.tar.gz (152.2 kB view details)

Uploaded Source

Built Distribution

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

eatb-0.1.8-py3-none-any.whl (91.8 kB view details)

Uploaded Python 3

File details

Details for the file eatb-0.1.8.tar.gz.

File metadata

  • Download URL: eatb-0.1.8.tar.gz
  • Upload date:
  • Size: 152.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for eatb-0.1.8.tar.gz
Algorithm Hash digest
SHA256 521c6962347a770ddf988e8f10a560ce2702b9938bfc9aa01e069d0efc98f6ab
MD5 842efab2dbe494352e052d1d50c326fa
BLAKE2b-256 8e0a7cf2a861cd85fca7f48a2a737084f0b19b6a551e24ff7b5486e0d61b7360

See more details on using hashes here.

File details

Details for the file eatb-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: eatb-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 91.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for eatb-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 390ae3e04563c50268e744c9b89f6d663a913fa2988c14b5780ce1f2d8ce4fa9
MD5 e96644b42143be77426bad0f80ee6945
BLAKE2b-256 99bd5e0e1c23637c695e9bf8f8826d8c0d48fc586a5ff0ee359cf8c688850e45

See more details on using hashes here.

Supported by

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