Skip to main content

OPML library for Python.

Project description


OPML library for Python.


  • Supports all OPML versions.
  • Minimal use of dependencies.
  • 100% typed and tested.


from opyml import OPML, Outline

# Create OPML documents from scratch.
document = OPML()

# Convert documents to XML.
xml = document.to_xml()

# Parse OPML documents from XML.
document = OPML.from_xml(xml)


  • Install dependencies with poetry shell && poetry install.
  • Format code with black opyml tests.
  • Check types with mypy opyml.
  • Run tests and collect coverage with pytest --cov opyml --cov-report html.
  • Generate documentation with pdoc opyml.


Found a problem or want to request a new feature? Email and I'll see what I can do for you.


Distributed under the Apache License 2.0 and MIT licenses, see LICENSE-Apache and LICENSE-MIT for more information.

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

opyml-0.1.2.tar.gz (10.7 kB view hashes)

Uploaded source

Built Distribution

opyml-0.1.2-py3-none-any.whl (7.5 kB view hashes)

Uploaded py3

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