|
2 | 2 | neuxml |
3 | 3 | ====== |
4 | 4 |
|
5 | | -**package** |
6 | | - .. image:: https://img.shields.io/pypi/v/neuxml.svg |
7 | | - :target: https://pypi.python.org/pypi/neuxml |
8 | | - :alt: PyPI |
| 5 | +.. image:: https://img.shields.io/pypi/v/neuxml.svg |
| 6 | + :target: https://pypi.python.org/pypi/neuxml |
| 7 | + :alt: PyPI |
9 | 8 |
|
10 | | - .. image:: https://img.shields.io/github/license/Princeton-CDH/neuxml.svg |
11 | | - :alt: License |
| 9 | +.. image:: https://img.shields.io/github/license/Princeton-CDH/neuxml.svg |
| 10 | + :alt: License |
12 | 11 |
|
13 | | - .. image:: https://img.shields.io/pypi/dm/neuxml.svg |
14 | | - :alt: PyPI downloads |
| 12 | +.. image:: https://img.shields.io/pypi/pyversions/neuxml |
| 13 | + :alt: PyPI - Python Version |
15 | 14 |
|
16 | | -neuxml is a `Python <http://www.python.org/>`_ module that provides |
17 | | -utilities and classes for interacting with XML that allow the |
18 | | -definition of re-usable XML objects that can be accessed, updated and |
19 | | -created as standard Python types. |
| 15 | +.. image:: https://img.shields.io/pypi/dm/neuxml.svg |
| 16 | + :alt: PyPI downloads |
20 | 17 |
|
21 | | -**neuxml.xpath** provides functions and classes for parsing XPath |
22 | | -expressions using `PLY <http://www.dabeaz.com/ply/>`_. |
| 18 | +`neuxml` is a Python library that provides utilities and classes for |
| 19 | +object-oriented access to XML. `neuxml` makes it possible to define reusable |
| 20 | +python classes to access, update, and create XML content as standard Python types. |
23 | 21 |
|
24 | | -**neuxml.xmlmap** makes it easier to map XML to Python objects in a |
25 | | -nicer, more pythonic and object-oriented way than typical DOM access |
26 | | -usually provides. XML can be read, modified, and even created from |
27 | | -scratch (in cases where the configured XPath is simple enough to |
28 | | -determine the nodes that should be constructed). |
| 22 | +**neuxml.xmlmap** makes it possible to map XML content to Python objects in a |
| 23 | +pythonic and object-oriented way, which is easier to use than typical DOM access. |
| 24 | +With the `neuxml.xmlmap.core.XmlObject` class, XML can be read, modified, and even |
| 25 | +created from scratch in some cases, as long as the configured XPath can |
| 26 | +be used to construct new nodes. |
29 | 27 |
|
30 | | -Dependencies |
31 | | -============ |
32 | | - |
33 | | -**neuxml** depends on `PLY <http://www.dabeaz.com/ply/>`_ and `lxml |
34 | | -<http://lxml.de/>`_. |
| 28 | +Object-oriented access depends on **neuxml.xpath**, which provides functions and |
| 29 | +classes for parsing XPath expressions using `PLY <http://www.dabeaz.com/ply/>`_. |
35 | 30 |
|
| 31 | +Installation |
| 32 | +============ |
36 | 33 |
|
37 | | -Contact Information |
38 | | -=================== |
| 34 | +We recommend using pip to install the officially released versions from PyPI: |
39 | 35 |
|
40 | | -**eulxml** was created by the `Center for Digital Humanities at Princeton <https://cdh.princeton.edu/>`_. |
| 36 | +```console |
| 37 | +pip install neuxml |
| 38 | +``` |
41 | 39 |
|
42 | | -cdhdevteam@princeton.edu |
| 40 | +It is also possible to install directly from GitHub. Use a branch or tag name, |
| 41 | +e.g. `@develop` or `@1.0` to install a specific tagged version or branch. |
43 | 42 |
|
| 43 | +```console |
| 44 | +pip install git+https://github.com/Princeton-CDH/neuxml.git@develop#egg=neuxml |
| 45 | +``` |
44 | 46 |
|
45 | 47 | License |
46 | 48 | ======= |
| 49 | + |
47 | 50 | **neuxml** is distributed under the Apache 2.0 License. |
48 | 51 |
|
49 | 52 |
|
50 | 53 | Development History |
51 | 54 | =================== |
52 | 55 |
|
53 | | -This codebase was forked from a package called **eulxml**, originally developed |
54 | | -by Emory University Libraries. To see and interact with the full development |
55 | | -history of **eulxml**, see `eulxml <https://github.com/emory-libraries/eulxml>`_. |
| 56 | +`neuxml` is a hard fork of `eulxml <https://github.com/emory-libraries/eulxml>`_, |
| 57 | +which was originally developed by Emory University Libraries from 2011-2016. |
| 58 | +`neuxml` has been updated for compatibility with current versions of Python |
| 59 | +and drops the support for Django form integration. The full development history |
| 60 | +for the `eulxml` package is available at the original repository: https://github.com/emory-libraries/eulxml |
| 61 | + |
| 62 | + |
| 63 | +Technical documentation |
| 64 | +======================= |
56 | 65 |
|
| 66 | +For instructions on developer setup, unit testing, XML catalog file management, |
| 67 | +and migrating from `eulxml`, refer to ``DEVNOTES.rst``. |
57 | 68 |
|
58 | | -Developer instructions |
59 | | -====================== |
| 69 | +Migration from ``eulxml`` |
| 70 | +========================= |
60 | 71 |
|
61 | | -For development instructions and notes, see ``DEVNOTES.rst``. |
| 72 | +If migrating from a previous ``eulxml`` installation, see ``MIGRATION.rst``. |
0 commit comments