A Python library for working with Encoded Archival Description (EAD) XML files
Project description
EADPy
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.
- Clone the repository:
git clone https://github.com/yourusername/eadpy.git
cd eadpy
- Create and activate a virtual environment:
uv venv --python 3.13
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5a6c6f7f867933ed845e10c1c41f903ab0ebb8bf302ac4440fd3872a66c9e24
|
|
| MD5 |
6b3fa3d1f970a2a0920be7963c47e2d4
|
|
| BLAKE2b-256 |
5efa3375c1e66bc1c327445b5c137f600eb77ffbaac4a762ddf142ed3c9f3484
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c75f5802ef48747de25514da216ce0b3eef353478e3f3bb95c5443d21c49412a
|
|
| MD5 |
3f25b21eefba1f1cff6c0a6de70ff6e8
|
|
| BLAKE2b-256 |
604e72ac407a65d0cd28613a92fe517d35b59ce92570f66cf06cf6739b349fa7
|