Skip to main content

Read, create, and modify Parla-Clarin XML files

Project description

Pyparlaclarin

This module includes functionality for reading, creating, and modifying Parla-Clarin XML files.

For instance, you can loop over all paragraphs in a Parla-Clarin file with a simple function:

from pyparlaclarin.read import paragraph_iterator

for paragraph in paragraph_iterator(root):
	print(paragraph)

or get all speeches by a speaker

from pyparlaclarin.read import speeches_with_name

for speech in speeches_with_name(root, name="barack_obama_1961"):
	print(speech)

Further documentation is available on GitHub pages.

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

pyparlaclarin-0.9.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

pyparlaclarin-0.9.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file pyparlaclarin-0.9.1.tar.gz.

File metadata

  • Download URL: pyparlaclarin-0.9.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Darwin/23.4.0

File hashes

Hashes for pyparlaclarin-0.9.1.tar.gz
Algorithm Hash digest
SHA256 c521aae6df2d102c32e69f03d20e13871ad4334ddf84fe6b86ae4b25342c30be
MD5 6d330c7f4109274c35f82de0a405b394
BLAKE2b-256 7b5ec1830540458fdfcb3fa6a119fb9de9a2a5c7ffb89e9a6ea0f2012d43483a

See more details on using hashes here.

File details

Details for the file pyparlaclarin-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: pyparlaclarin-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Darwin/23.4.0

File hashes

Hashes for pyparlaclarin-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c92d2661c9d42e71d1030e9a284160c2dc044f46b75f4e6442ff72091f6ca5c
MD5 6757c0e886e2f4805ec11a307abf13ee
BLAKE2b-256 b35f1ab9a28e9843d0127dde5c9f34e499dfa9c4eec9f7df286046018c9b660e

See more details on using hashes here.

Supported by

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