Skip to main content

AppForges Python SDK

Official synchronous and asynchronous Python SDK. Python 3.11 or newer. Generated from the same OpenAPI specification tag as the TypeScript SDK.

Install: pip install appforges==0.59.3

import os
from appforges import AppForges, BearerAuth, APIError

with AppForges(auth=BearerAuth(os.environ["APPFORGES_ACCESS_TOKEN"])) as client:
    try:
        profile = client.users.get_profile()
        print(profile.user_id)
    except APIError as error:
        print(error.http_status, error.reason, error.request_id, error.trace_id)
        raise
import asyncio
import os
from appforges import AsyncAppForges, BearerAuth

async def main() -> None:
    async with AsyncAppForges(auth=BearerAuth(os.environ["APPFORGES_ACCESS_TOKEN"])) as client:
        profile = await client.users.get_profile()
        print(profile.user_id)

asyncio.run(main())

The profile endpoint requires a user OAuth access token. Set base_url to https://api-staging.appforges.com for staging. Wire fields retain snake_case; unset fields are omitted, explicit None is sent only for nullable fields. Models use strict pydantic v2 validation. Both clients support Bearer/API key authentication, OAuth helpers, typed errors, bounded safe retries (default two), cursor iteration (*_all()) and SSE iterators where specified by the API. Resources expose endpoint-specific methods from the complete specification. Clients close owned HTTP transports; injected transports remain caller-owned. See https://developer.appforges.com for authentication and API reference.

Metadata

Release files for appforges 0.59.3

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

Source distribution (sdist)

Source distribution for appforges 0.59.3
File Size Uploaded Provenance
appforges-0.59.3.tar.gz 42.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 89.2 kB

Release files / appforges-0.59.3.tar.gz

Download URL appforges-0.59.3.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f92079d18dc3ee6ba2af969fbd770c88d31fd8e2866fb2f13954c5e8dafce5f6
BLAKE2b-256 checksum
How to use checksums
5c917eb040e6147356088befdd6506a93ce8e7f68705446f2dedcafd439f1630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 11, 2026.

Transparency log

Release files / appforges-0.59.3-py3-none-any.whl

Download URL appforges-0.59.3-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7589219a6a33173a7b1e2cd27a1755fd04546e91fe9d3d6cd0fb24d0fc009c4e
BLAKE2b-256 checksum
How to use checksums
2e97710c6a6882873bd0a3093b74033abc33e11a1ad0dc341124f828bdecada4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 11, 2026.

Transparency log

Security for appforges 0.59.3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for appforges-0.59.3.tar.gz

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 Oct 11, 2026.

Transparency log

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.

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