Metadata-Version: 2.1
Name: django-ead
Version: 0.4.0
Summary: Django app supporting EAD3 data import, editing, and XML serialisation.
Home-page: https://github.com/kingsdigitallab/autharch-base
Author: Jamie Norrish
Author-email: jamie@artefact.org.nz
License: MIT
Keywords: django-ead
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django :: 2.1
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: django-controlled-vocabulary (>=0.10)
Requires-Dist: django-model-utils (>=2.0)
Requires-Dist: django-reversion
Requires-Dist: lxml (>=4.5.2)

==============================
EAD and EAC-CPF Django Package
==============================

.. image:: https://badge.fury.io/py/autharch-base.svg
    :target: https://badge.fury.io/py/autharch-base

.. image:: https://travis-ci.org/kingsdigitallab/autharch-base.svg?branch=master
    :target: https://travis-ci.org/kingsdigitallab/autharch-base

.. image:: https://codecov.io/gh/kingsdigitallab/autharch-base/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/kingsdigitallab/autharch-base

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`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'ead.apps.EADConfig',
        ...
    )

Add EAD and EAC-CPF Django Package's URL patterns:

.. code-block:: python

    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:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage




History
-------

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.


