Skip to main content

A Python library for working with Encoded Archival Description (EAD) XML files

Project description

EADPy

PyPI - Version License: MIT

A Python library for working with Encoded Archival Description (EAD) XML documents.

Features

  • Parse and manipulate EAD XML documents
  • Convert EAD to various formats (JSON, CSV, etc.)
  • Validate EAD documents against schemas
  • Tools for batch processing of EAD files

Installation

Install EADPy using pip:

pip install eadpy

Usage

from eadpy import Ead

# Load an EAD file and process it
ead = Ead("path/to/finding_aid.xml")
ead.create_and_save_chunks("path/to/output.json")

Development

Setting up the development environment

EADPy uses uv for dependency management and virtual environment setup.

  1. Clone the repository:
git clone https://github.com/yourusername/eadpy.git
cd eadpy
  1. Create and activate a virtual environment:
uv venv --python 3.13
source .venv/bin/activate  # On Unix/macOS
# or
.venv\Scripts\activate  # On Windows
  1. Install development dependencies:
uv pip install -e ".[dev]"

Running tests

pytest

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgements

Special thanks to the ArcLight project, which inspired the EAD processing approach taken here. Thank you to the developers and contributors of ArcLight for their work in the archival community!

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

eadpy-0.1.1.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

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

eadpy-0.1.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file eadpy-0.1.1.tar.gz.

File metadata

  • Download URL: eadpy-0.1.1.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for eadpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d5a6c6f7f867933ed845e10c1c41f903ab0ebb8bf302ac4440fd3872a66c9e24
MD5 6b3fa3d1f970a2a0920be7963c47e2d4
BLAKE2b-256 5efa3375c1e66bc1c327445b5c137f600eb77ffbaac4a762ddf142ed3c9f3484

See more details on using hashes here.

File details

Details for the file eadpy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: eadpy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for eadpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c75f5802ef48747de25514da216ce0b3eef353478e3f3bb95c5443d21c49412a
MD5 3f25b21eefba1f1cff6c0a6de70ff6e8
BLAKE2b-256 604e72ac407a65d0cd28613a92fe517d35b59ce92570f66cf06cf6739b349fa7

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