Registry / serialization / adf-lib

adf-lib

JSON →
library0.2.1pypypi✓ verified 44d ago

A Python library for creating and manipulating ADF (Atlassian Document Format) documents. Current version 0.2.1, requires Python >=3.8. Early stage development with infrequent releases.

serializationcommunication
pip install adf-lib
Install & Compatibility
Where this runs
tested against v0.2.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ADF
from adf_lib import ADF
from adf_lib import ADFDocument

Create an ADF document with a paragraph and output the dictionary representation.

from adf_lib import ADFDocument, ADFParagraph doc = ADFDocument() p = ADFParagraph(text='Hello, world!') doc.add(p) print(doc.to_dict())
Debug
Known issues
gotchaAll classes are prefixed with 'ADF'. Using names like 'Document' or 'Paragraph' will cause ImportError.
fix
Use the full prefixed class names: ADFDocument, ADFParagraph, etc.
affects: >=0.1.0
gotchaThe library is in early alpha stage (v0.2.1). APIs may break without notice.
fix
Pin the exact version in requirements and test upgrades thoroughly.
affects: >=0.1.0
Upgrade
Version history
0.2.1latest on PyPI
Audit
Dependencies

No dependency data recorded yet.

Agent activity
92 hits · last 30 days
node
10
amazonbot
4
ahrefsbot
3
Resources