Skip to main content

pynewsml

A NewsML parsing library

Installation

pip install pynewsml

Usage

from pynewsml import NewsML

with open('path/to/newsml.xml', mode='r') as fp:
    xml_content = fp.read()

newsml = NewsML(xml_content)
news = newsml.news_items[0]

print(news.news_lines.headline)

Metadata

Release files for pynewsml 1.4.0

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

Source distribution (sdist)

Source distribution for pynewsml 1.4.0
File Size Uploaded
pynewsml-1.4.0.tar.gz 2.5 kB Details

Built distribution (wheel)

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

Total release size: 5.5 kB

Release files / pynewsml-1.4.0.tar.gz

Download URL pynewsml-1.4.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6bccfb22c00da03c2973e1fe3b4d6bcf60893675f3a97495b5941825d9b1add1
BLAKE2b-256 checksum
How to use checksums
e2c1b545869e49c51d634e4cc56ec8eed377ec090b4fab63a7028746c2708431
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 2, 2025.

Transparency log

Release files / pynewsml-1.4.0-py3-none-any.whl

Download URL pynewsml-1.4.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cf2127841f23a832f9205e0f9d9c2807ca82880dce8f8b6d4d3dc93f4794d59
BLAKE2b-256 checksum
How to use checksums
1ce4360c04d27fa12d3c1cf7f9fb6b7c78caeef7f2466cdbaae85ddbfc8262dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 2, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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