Skip to main content

PyJATS

This is a quick and dirty python tool to deserialise JATS xml into something more useable inside python.

It ain't fast, and probably ain't pretty, but it gets text out of the XML and for now that's enough.

To use it:

from pyjats.parser import parse_xml

article_sections = parse_xml(file_path)

This will only work with a file object because reasons, you should wrap a string (e.g. one you got from an xml request to the EuropePMC API) in a io.StringIO to have it work.

Metadata

Release files for pyjats 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyjats 0.0.2
File Size Uploaded Provenance
pyjats-0.0.2.tar.gz 169.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyjats 0.0.2
File Interpreter ABI Platform
pyjats-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 338.8 kB

Release files / pyjats-0.0.2.tar.gz

Download URL pyjats-0.0.2.tar.gz
Size 169.2 kB
Tags Source
SHA-256 checksum
How to use checksums
361bf2fcba56ee1a47eef270b9f6f93991254c18baeb024a8466707b446756f3
BLAKE2b-256 checksum
How to use checksums
facf211316d6acb84cd57a086120ecb8d2c87257b241d183128ee6686bdc0389
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release files / pyjats-0.0.2-py3-none-any.whl

Download URL pyjats-0.0.2-py3-none-any.whl
Size 169.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0faf88dbe3fd0878959a6c2388e6cc1e5dbdc625f1f165ce333bd31922414552
BLAKE2b-256 checksum
How to use checksums
17ed1e1e8d065cd0520eb8e985992e8a9b15a22fdf9fe11acdaaad9440a2ef12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Security for pyjats 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page