Skip to main content

A NewsML parsing library

Project description

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)

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

pynewsml-1.3.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynewsml-1.3.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file pynewsml-1.3.0.tar.gz.

File metadata

  • Download URL: pynewsml-1.3.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pynewsml-1.3.0.tar.gz
Algorithm Hash digest
SHA256 9c0d0e73b7a476be387bd258e590e7fa342cbef96f680d193ae93a99533f7f88
MD5 f2ef2d823dfa5a47c9d2925ab6102780
BLAKE2b-256 f5820227c5bb2cc678660098895a5e64ae0be79867b39d5a3479f3d889155cd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pynewsml-1.3.0.tar.gz:

Publisher: publish.yml on jcoelho93/pynewsml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pynewsml-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: pynewsml-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pynewsml-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3918a2fc385fe0f92e8b483d52a2aea302c4069d60dc2295ee0c1ba21c9e3c5b
MD5 05f7316505e4dd42f551a98e346046ef
BLAKE2b-256 375c330332ceef17b44838aef8356f8aeed85e65df6c6dfb7c2538aeb797a086

See more details on using hashes here.

Provenance

The following attestation bundles were made for pynewsml-1.3.0-py3-none-any.whl:

Publisher: publish.yml on jcoelho93/pynewsml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page