Django app supporting EAD3 data import, editing, and XML serialisation.
Documentation
The full documentation is at https://autharch-base.readthedocs.io.
Quickstart
Install EAD and EAC-CPF Django Package:
pip install autharch-base
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'ead.apps.EADConfig',
...
)
Add EAD and EAC-CPF Django Package’s URL patterns:
from ead import urls as ead_urls
urlpatterns = [
...
url(r'^', include(ead_urls)),
...
]
Features
Models for almost all of EAD3 (dsc and @entityref unsupported).
Import script for EAD3 XML.
Serialisation to EAD3 XML.
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Development commands
pip install -r requirements_dev.txt invoke -l
Credits
Tools used in rendering this package:
History
0.8.1 (2021-05-20)
Update MANIFEST.in to include XSL files.
0.8.0 (2021-05-17)
Changed import to store complex EAD3 as XHTML annotated with data-* attributes, and changed serialiser to convert back to EAD3.
0.7.0 (2021-02-04)
Replaced existing migrations with new migration (borking existing databases) to fix error with non-proxy model that migrations would not handle.
0.6.0 (2021-02-01)
Removed all attempts to reuse Django model instances sharing the same details (names, repositories, language declarations).
The above change is handled in a single migration; this will break existing installations that contain data.
0.5.0 (2020-12-03)
Added validation for some models.
Added blank=True to some fields that must sometimes be empty.
0.4.0 (2020-11-23)
Corrected bugs in validators.
Updated models to properly mark some fields as optional.
Added model validation to XML import script.
0.3.1 (2020-11-16)
No changes; clean rebuild for PyPI.
0.3.0 (2020-11-16)
Added django-reversion support.
Corrected some model and import bugs. Unfortunately caused problems with Django migrations, and these have been reset.
0.2.0 (2020-10-20)
Added test (and associated code fixes) of round-trip import and serialisation of EAD3 XML.
0.1.2 (2020-10-16)
Added XSD files to MANIFEST.in, so that the EAD3 XSD is included in the package.
0.1.1 (2020-10-13)
Added dependency on lxml.
0.1.0 (2020-10-09)
First release on PyPI.
Metadata
Release files for django-ead 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-ead-0.8.1.tar.gz | 58.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_ead-0.8.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 115.8 kB
Release files / django-ead-0.8.1.tar.gz
| Download URL | django-ead-0.8.1.tar.gz |
|---|---|
| Size | 58.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc1f5cdc9ac7316f50d920456a6e9b01c366df61cfa62deae3578e3a476da3cf
|
|
BLAKE2b-256 checksum How to use checksums |
c0f1ddf13487f7c2aaa166b3f22452b9b4380f4b0a25b650cbf5ca8719048a87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / django_ead-0.8.1-py2.py3-none-any.whl
| Download URL | django_ead-0.8.1-py2.py3-none-any.whl |
|---|---|
| Size | 57.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7cc6a667ed4ac913c688e07669b8eaf3bd57b1bddc9bb8de719501e907817bdf
|
|
BLAKE2b-256 checksum How to use checksums |
eaac46b9f517325b9720f42922a9ee9a15bafda055eb7226ce4ac479e9aabdcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|