Skip to content

Commit 07ced1d

Browse files
committed
Merge branch 'main' into chore/10-gh-actions
1 parent f2b7672 commit 07ced1d

File tree

5 files changed

+52
-43
lines changed

5 files changed

+52
-43
lines changed

CHANGELOG.rst

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
Change & Version Information
22
============================
33

4-
The following is a summary of changes and improvements to
5-
:mod:`neuxml`. New features in each version should be listed, with
6-
any necessary information about installation or upgrade notes.
7-
8-
0.1.0
4+
1.0.0
95
-----
106

11-
* Fork `eulxml <https://github.com/emory-libraries/eulxml>`_
12-
package from version `1.1.3` with the new name `neuxml`
7+
Initial release of `neuxml.` This is a hard fork of `eulxml <https://github.com/emory-libraries/eulxml>`_
8+
version 1.1.3, which drops Django forms integration and support for older versions of Python.
9+
10+
* Rename `eulxml` to `neuxml` throughout
1311
* Remove `forms` submodule and drop Django requirements
14-
* Add GitHub workflow for pypi publication
12+
* Add GitHub Actions workflow for PyPI publication
1513
* Update for Python 3.12 compatibility
14+
* Store a default XML catalog and schemas in codebase and released package
15+
* Migrate build environment to Hatchling with `pypackage.toml`
16+
* Migrate test environment from Nose to Pytest
17+
18+
For a record of the pre-existing functionality, refer to the `eulxml changelog <https://github.com/emory-libraries/eulxml/blob/master/CHANGELOG.rst>`_.
File renamed without changes.

README.rst

+40-34
Original file line numberDiff line numberDiff line change
@@ -2,60 +2,66 @@
22
neuxml
33
======
44

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
98

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
1211

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
1514

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
2017

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.
2321

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.
2927

30-
Dependencies
31-
============
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/>`_.
3230

33-
**neuxml** depends on `PLY <http://www.dabeaz.com/ply/>`_ and `lxml
34-
<http://lxml.de/>`_.
31+
Installation
32+
============
3533

34+
We recommend using pip to install the officially released versions from PyPI:
3635

37-
Contact Information
38-
===================
36+
```console
37+
pip install neuxml
38+
```
3939

40-
**eulxml** was created by the `Center for Digital Humanities at Princeton <https://cdh.princeton.edu/>`_.
41-
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.
4342

43+
```console
44+
pip install git+https://github.com/Princeton-CDH/neuxml.git@develop#egg=neuxml
45+
```
4446

4547
License
4648
=======
49+
4750
**neuxml** is distributed under the Apache 2.0 License.
4851

4952

5053
Development History
5154
===================
5255

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
5661

5762

58-
Developer instructions
59-
======================
63+
Technical documentation
64+
=======================
6065

61-
For development instructions and notes, see ``DEVNOTES.rst``.
66+
For instructions on developer setup, unit testing, XML catalog file management,
67+
and migrating from `eulxml`, refer to ``DEVNOTES.rst``.

neuxml/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from importlib import resources
2020
from contextlib import ExitStack
2121

22-
__version__ = "0.1.0"
22+
__version__ = "1.0.0"
2323

2424
# Paths for XML catalog file & directory
2525

File renamed without changes.

0 commit comments

Comments
 (0)