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.2

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.2

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.2
File Size Uploaded Provenance
appforges-0.59.2.tar.gz 42.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 89.3 kB

Release files / appforges-0.59.2.tar.gz

Download URL appforges-0.59.2.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
594ff6e8e17e2f88ded9008f0f17d35fc48412e543e4617be2c6f10b59e0ce1c
BLAKE2b-256 checksum
How to use checksums
36bc50e202fdc969a2040c437fee51d7910036c7fa4df981784dd4e5c6db1dc8
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.2-py3-none-any.whl

Download URL appforges-0.59.2-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb32ef48bd78b2369855438baebd5aa5f87ad76b2d24bc4ace9e4bf4ed43cf92
BLAKE2b-256 checksum
How to use checksums
fae8f81edbac25c6018d3f6f28ef4787458f5c16f7ea8b0631200393b468e1ac
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.2

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.2.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