Skip to main content

autodesk-forge-sdk

Unofficial Autodesk Forge SDK for Python (3.*).

Usage

Install the package from PyPI:

pip3 install autodesk-forge-sdk

Authentication

import os
from autodesk_forge_sdk import AuthenticationClient, Scope

client = AuthenticationClient()
auth = client.authenticate(os.environ["FORGE_CLIENT_ID"], os.environ["FORGE_CLIENT_SECRET"], [Scope.VIEWABLES_READ])
print(auth["access_token"])

Data Management

import os
from autodesk_forge_sdk import OSSClient, OAuthTokenProvider

client = OSSClient(OAuthTokenProvider(os.environ["FORGE_CLIENT_ID"], os.environ["FORGE_CLIENT_SECRET"]))
buckets = client.get_all_buckets()
print(buckets)

Or, if you already have an access token:

import os
from autodesk_forge_sdk import OSSClient, SimpleTokenProvider

client = OSSClient(SimpleTokenProvider(os.environ["FORGE_ACCESS_TOKEN"]))
buckets = client.get_all_buckets()
print(buckets)

Metadata

Release files for autodesk-forge-sdk 0.1.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 autodesk-forge-sdk 0.1.2
File Size Uploaded
autodesk-forge-sdk-0.1.2.tar.gz 12.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autodesk-forge-sdk 0.1.2
File Interpreter ABI Platform
autodesk_forge_sdk-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 26.4 kB

Release files / autodesk-forge-sdk-0.1.2.tar.gz

Download URL autodesk-forge-sdk-0.1.2.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
22e9d6856d3ef46bdd54ec07f875ef5c1a98fdf45dd391a1bacff12ac9f1bb83
BLAKE2b-256 checksum
How to use checksums
10b3e63f3ee9e6e7fe9e3292638f50903f881b22a6318e52982b0524dd542f36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / autodesk_forge_sdk-0.1.2-py3-none-any.whl

Download URL autodesk_forge_sdk-0.1.2-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4e2ad37d94f51a58179fe638ceea1cca1cf7d43968539fbf0780ea319674d1e
BLAKE2b-256 checksum
How to use checksums
4dc188d159312bc1d4bccb6c39ad542002961c8497b936e2601fd31048f3035c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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