Skip to main content

Tools for using article data in Python.

Project description


Tools for using article data in Python


  • Python >=3.5

Non-Python dependencies

  • libxml2 (Ubuntu, Arch)

Install for users

Install via pip:

$ pip install elifetools

You might need to install libxml manually first

$ sudo STATIC_DEPS=true pip install lxml==3.4.1

To install the latest version directly from git

$ pip install git+

or you can add it to your project’s requirements.txt file


Install for developers

Clone the git repo

Make a virtualenv (optional)


$ python install

Example usage

>>> from elifetools import parseJATS as parser
>>> soup = parser.parse_document('tests/sample-xml/elife-kitchen-sink.xml')
>>> print(parser.doi(soup))

More code examples can be found in tests/


You can run the full automated test suite from the base folder with:

$ python -m unittest discover tests

or you can run tests with coverage:

$ coverage run -m unittest discover tests

and then view the coverage report:

$ coverage report -m


The MIT License

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

elifetools-0.17.0.tar.gz (59.7 kB view hashes)

Uploaded source

Built Distribution

elifetools-0.17.0-py3-none-any.whl (62.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page