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 Provenance Actions
pynewsml-1.4.0.tar.gz 2.5 kB With provenance Details for pynewsml-1.4.0.tar.gz

Built distribution (wheel)

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

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

Security for pynewsml 1.4.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pynewsml-1.4.0.tar.gz

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

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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