Skip to main content

Autodesk Platform Service APIs Python SDK

Project description

py-aps

Python SDK for Autodesk Platform Service APIs

Installation

pip install py-aps

Overview

py-aps is a Python SDK that provides a simple and intuitive interface for interacting with Autodesk Platform Services (formerly known as Forge) APIs. This SDK simplifies authentication, data management, and automation workflows for APS-powered applications.

Features

  • Authentication: Easy OAuth2 authentication flow
  • Data Management: Access and manage files in BIM 360, ACC, and other Autodesk cloud storage
  • Automation: Automate design and engineering workflows

Quick Start

from pyaps.auth import AuthClient, Scopes

# 2-legged OAuth
client = AuthClient(client_id="...", client_secret="...")
token = client.two_legged.get_token([Scopes.DATA_READ])

# 3-legged OAuth with PKCE
verifier, challenge = client.three_legged.generate_pkce_pair()
auth_url = client.three_legged.build_authorize_url(
    scopes=[Scopes.DATA_READ, Scopes.USER_PROFILE_READ],
    code_challenge=challenge
)
# After user authorizes: token = client.three_legged.exchange_code(code, code_verifier=verifier)

For more examples, see src/pyaps/auth/example.py.

Project Status

Current version: v0.0.2 - Authentication API support added

This package is currently in early development. Active development is underway by voidbox.

Version History

  • v0.0.2 - Added OAuth 2.0 authentication client with 2-legged/3-legged flows, PKCE support, and token management
  • v0.0.1 - Initial package release (placeholder)

Contributing

We welcome bug reports and feature requests through GitHub Issues.

This project is primarily developed by voidbox. External pull requests have limited review capacity.

License

Apache-2.0 License - see the LICENSE file for details.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_aps-0.0.2.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_aps-0.0.2-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file py_aps-0.0.2.tar.gz.

File metadata

  • Download URL: py_aps-0.0.2.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.2

File hashes

Hashes for py_aps-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f7a7731e91d91073dc5ed6d0f7f8705494400ee258e69b2c1f0cff385a430780
MD5 02be689c23d21a2711c0b7701cffe1ac
BLAKE2b-256 c071416961a48123db6b7057c4af885c5b4a074d57b59cdc5d50ba20bb1de66d

See more details on using hashes here.

File details

Details for the file py_aps-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: py_aps-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.2

File hashes

Hashes for py_aps-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4a734fe80ac268aaae8fe585a423b3dd6e90f3fa0262c6d2ecb8f0103dfe51f2
MD5 e29a5fa345223e9750d3695418585a88
BLAKE2b-256 bcf4f7d376acb78eac0aa6638f840a8cc6a76ccebdb274813ad95ff44155ebfd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page