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.
Metadata
Release files for opyml 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opyml-0.1.2.tar.gz | 10.7 kB | Without provenance | Details for opyml-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opyml-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for opyml-0.1.2-py3-none-any.whl |
Total release size: 18.3 kB
Release files / opyml-0.1.2.tar.gz
| Download URL | opyml-0.1.2.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fac8515fcf8ec580a4de0ee7fc11f5b6807748fe46cf7d383a53be7843b06ddb
|
|
BLAKE2b-256 checksum How to use checksums |
426b6aa1379541c57bb1138fbdd78a69ebb905bd6d2f200fd93db501af5af6d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-48-generic
|
Release files / opyml-0.1.2-py3-none-any.whl
| Download URL | opyml-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f75ce4dc53ec88cee7985cda39d606f531773e930ba123ce117c37efa0f4c999
|
|
BLAKE2b-256 checksum How to use checksums |
3583343afb480958e234995db789fd9d51a8197825013a4f9d49a30803d02d60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-48-generic
|
Security for opyml 0.1.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.