adf-lib
A Python library for creating and manipulating ADF (Atlassian Document Format) documents
Decision gist · record as of 2026-08-14
Yes, if you need to generate ADF documents programmatically. The package is actively maintained, has no dependencies, installs easily, and is MIT-licensed. However, it is in Alpha status with a short release history (since January 2025), so evaluate stability for production use and verify it covers the ADF features you need.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Active maintenance as of 2026-08-08, though the project is in Alpha status (Development Status :: 3) and relatively young (first release 2025-01-10).
License · maintenance · safety
permissive license (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions. You may use this in proprietary projects, though you must retain the copyright notice and license text.
last release 2025-01-28 (563 days) · last repo commit 2026-08-08 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 144,277 downloads/mo, #11,157 on PyPI
Alternatives
Verify before relying
pip install adf_lib
from adf_lib import ADF, Text
from adf_lib.constants.enums import HeadingLevel
doc = ADF()
doc.add(Text("My Document").heading(HeadingLevel.H1))
doc.add(Text("Paragraph text", "strong").paragraph())
adf_dict = doc.to_dict()- Whether the library handles all ADF spec features or only a subset of content types
- Performance characteristics with large documents or complex table structures
- Stability guarantees given Alpha status and limited release history
What it is and what it does
adf_lib is a Python library for programmatically building Atlassian Document Format documents. It wraps ADF's hierarchical structure (version, type, content) in a clean object-oriented API, letting you construct documents by adding typed content elements like headings, paragraphs, tables, and formatted text, then export them as dictionaries for use in Atlassian products or other systems that consume ADF.
The library provides classes for the main document container (ADF), text content with formatting marks (Text), tables with headers and cells (Table), and links. It supports text formatting through marks like bold, italic, code, strikethrough, and text color. Tables can be configured with different layouts and display modes. The package includes custom validation exceptions and is designed to catch common mistakes like empty text or invalid formatting marks.
Use it for
- Generate Jira issue descriptions or comments programmatically from application data
- Build Confluence page content dynamically without manual markup authoring
- Export structured reports or documentation as ADF for import into Atlassian tools
- Create templated documents with consistent formatting and structure
- Automate document generation for workflows that feed into Atlassian products
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to generate ADF documents programmatically.
The package is actively maintained, has no dependencies, installs easily, and is MIT-licensed. However, it is in Alpha status with a short release history (since January 2025), so evaluate stability for production use and verify it covers the ADF features you need.
Install
adf-lib on PyPI
Before you install
Low install friction with no runtime dependencies. Active maintenance as of 2026-08-08, though the project is in Alpha status (Development Status :: 3) and relatively young (first release 2025-01-10).
License in practice
MIT License permits free use, modification, and distribution with minimal restrictions. You may use this in proprietary projects, though you must retain the copyright notice and license text.
Quickstart
pip install adf_lib
from adf_lib import ADF, Text
from adf_lib.constants.enums import HeadingLevel
doc = ADF()
doc.add(Text("My Document").heading(HeadingLevel.H1))
doc.add(Text("Paragraph text", "strong").paragraph())
adf_dict = doc.to_dict()
Verify before relying
- Whether the library handles all ADF spec features or only a subset of content types
- Performance characteristics with large documents or complex table structures
- Stability guarantees given Alpha status and limited release history
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 563 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 144,277 / month, #11,157 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Markup |
Evidence: adf_lib-0.2.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “atlassian document format library”
- adf-libadf_lib creates and manipulates Atlassian Document Format (ADF)…
- atlassian-doc-builderProgrammatically generate and validate Atlassian Document Format…
- atlas-doc-parserConverts Atlassian Document Format (ADF) JSON from Confluence and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also atlassian-doc-builder · atlas-doc-parser · ezodf · spire-doc · pyexcel-ezodf · pandoc · odfdo · PyRTF3 · mammoth · opendataloader-pdf