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

Authentication

from pyaps.auth import AuthClient, Scopes

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

Data Management

from pyaps.datamanagement import DataManagementClient

dm = DataManagementClient(token_provider=lambda: token.access_token)

# List hubs and projects
hubs = list(dm.hubs.list())
projects = list(dm.hubs.list_projects(hub_id))

# Browse folders
contents = list(dm.folders.contents(project_id, folder_id))

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

Project Status

Current version: v0.0.3 - Data Management API support added

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

Version History

  • v0.0.3 - Added Data Management API client (Hubs, Projects, Folders, Items, Versions, Buckets, Objects)
  • 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.3.tar.gz (23.2 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.3-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_aps-0.0.3.tar.gz
  • Upload date:
  • Size: 23.2 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.3.tar.gz
Algorithm Hash digest
SHA256 660b88d138707327d4e73235ea23927b103aa488b66fcd1548c0e07ef809aacb
MD5 56f86eba0747b492e61888a733481727
BLAKE2b-256 d585e585c7f13c77cfbedc2b409946b2aed81200ed766a31c0a976a8ad3b91d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_aps-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 26.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 29303ae88a856994d3a61c07312c1e5f1126037fa98dc11c9748ec24052f6056
MD5 21f1c7d08231a8b7503719bf78b4456e
BLAKE2b-256 4e493a736308df0bf563a65c1c99f101afa8dcdbbbf91eb1d1d2a5d14581bb81

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