Skip to main content

folio-sdk

Publish HTML reports as shareable, hosted URLs — Folio Python SDK.

pip install folio-sdk

Usage

import folio

folio.configure("fol_your_key_here")  # or set FOLIO_API_KEY env var

url = folio.publish(html, title="Q2 Analysis")
print(url)  # → https://folio.ac/r/abc123

Get your API key at folio.ac/dashboard.

Options

url = folio.publish(
    html,
    title="Q2 Revenue",
    expires_in_days=30,   # 7 | 14 | 30 | 90 (default: 7)
    password="secret",    # optional gate
    custom_slug="q2-rev", # → folio.ac/you/r/q2-rev
)

Agent / LLM usage

import anthropic, folio

folio.configure("fol_your_key_here")
client = anthropic.Anthropic()

msg = client.messages.create(
    model="claude-opus-4-7",
    max_tokens=8096,
    messages=[{"role": "user", "content": "Analyse this data and return a full HTML report with charts."}],
)

url = folio.publish(msg.content[0].text, title="Analysis")
print(f"Report: {url}")

Metadata

Release files for folio-sdk 0.1.0

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

Source distribution (sdist)

Source distribution for folio-sdk 0.1.0
File Size Uploaded Provenance Actions
folio_sdk-0.1.0.tar.gz 2.4 kB Without provenance Details for folio_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for folio-sdk 0.1.0
File Interpreter ABI Platform Actions
folio_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for folio_sdk-0.1.0-py3-none-any.whl

Total release size: 5.2 kB

Release files / folio_sdk-0.1.0.tar.gz

Download URL folio_sdk-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
564d9206c39226312de1c64b1be3b821b02b9c0db4efbb419fc793122aa3ffc8
BLAKE2b-256 checksum
How to use checksums
005c510639232a982736786401b089eafb7d5d005820a4c3fe9799d60d098a0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / folio_sdk-0.1.0-py3-none-any.whl

Download URL folio_sdk-0.1.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c04628501dcf06e3425fcbab0ceb98c3cce0b3e0fa715e61300e8fea52566f7b
BLAKE2b-256 checksum
How to use checksums
9075b102195cb759370c4e5f1648fe797efd49f256880173b9d0a0fc45cb9123
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for folio-sdk 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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