Skip to main content

OPyML 🐍

OPML library for Python.

Features

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

Example

from opyml import OPML, Outline

# Create OPML documents from scratch.
document = OPML()
document.body.outlines.append(Outline(text="Example"))

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

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

Development

  • 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.

Feedback

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

License

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

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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file opyml-0.1.2.tar.gz.

File metadata

  • Download URL: opyml-0.1.2.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-48-generic

File hashes

Hashes for opyml-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fac8515fcf8ec580a4de0ee7fc11f5b6807748fe46cf7d383a53be7843b06ddb
MD5 cddb7754ae7322e11f30fb1fcb6aa520
BLAKE2b-256 426b6aa1379541c57bb1138fbdd78a69ebb905bd6d2f200fd93db501af5af6d5

See more details on using hashes here.

File details

Details for the file opyml-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: opyml-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-48-generic

File hashes

Hashes for opyml-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f75ce4dc53ec88cee7985cda39d606f531773e930ba123ce117c37efa0f4c999
MD5 9b14be49f4a7c60e9f191b90f19fbc01
BLAKE2b-256 3583343afb480958e234995db789fd9d51a8197825013a4f9d49a30803d02d60

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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