Skip to main content

Pogodoc Python SDK

The Pogodoc Python SDK enables developers to seamlessly generate documents and manage templates using Pogodoc’s API.

Installation

To install the Python SDK, just execute the following command

$ pip install pogodoc

Setup

To use the SDK you will need an API key which can be obtained from the Pogodoc Dashboard

Example

from pogodoc import PogodocClient, RenderConfig

def main():
    client = PogodocClient(
        token="YOUR_POGODOC_API_TOKEN",
    )

    response = client.generate_document(
        template_id = "your-template-id",
        data = {"name": "John Doe"},
        render_config = RenderConfig(
            type = "html",
            target = "pdf",
            format_opts = InitializeRenderJobRequestFormatOpts(
                from_page = 1,
            ),
        ),
    )

    print("Generated document url:\n", response.output.data.url)

if __name__ == "__main__":
    main()

License

MIT License

Metadata

Release files for pogodoc 0.5.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pogodoc 0.5.10
File Size Uploaded
pogodoc-0.5.10.tar.gz 31.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pogodoc 0.5.10
File Interpreter ABI Platform
pogodoc-0.5.10-py3-none-any.whl Python 3 none any Details

Total release size: 94.0 kB

Release files / pogodoc-0.5.10.tar.gz

Download URL pogodoc-0.5.10.tar.gz
Size 31.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e424696ea619f5c6ba55f1a2f55546a515c10a62301dad73805a14a990ffb253
BLAKE2b-256 checksum
How to use checksums
ce3444ca55683016b0586b887fa1ff54d2018cd969695dbbf59e3beafeaba94c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.

Transparency log

Release files / pogodoc-0.5.10-py3-none-any.whl

Download URL pogodoc-0.5.10-py3-none-any.whl
Size 62.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b787ab3cb1326817df3b58e948588345dca2e1cf0271c1b83f0218c6fd41124
BLAKE2b-256 checksum
How to use checksums
ea42943975b54e7c04bcd294902da448db96be07359a74640053cb4ca172e69b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 26, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.10 This release

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page