Skip to main content

RAPS Python Bindings

Native Python bindings for RAPS - programmatic access to Autodesk Platform Services.

Installation

pip install raps-bindings

Quick Start

from raps import Client

# Create client from environment variables
client = Client.from_env()

# Or with explicit credentials
client = Client(client_id="your_id", client_secret="your_secret")

# Test authentication
client.test_auth()

# List buckets
for bucket in client.buckets.list():
    print(f"{bucket.key}: {bucket.policy}")

# Create a bucket
bucket = client.buckets.create("my-bucket", policy="transient", region="US")

# Upload a file
obj = client.objects("my-bucket").upload("model.rvt")
print(f"Uploaded: {obj.urn}")

# Start translation
job = client.translate(obj.urn, output_format="svf2")
job = job.wait()
print(f"Translation {job.status}: {job.progress}")

Features

Authentication

  • 2-legged OAuth (Client Credentials)
  • Environment variable support (APS_CLIENT_ID, APS_CLIENT_SECRET)

Object Storage (OSS)

  • List, create, get, delete buckets
  • Upload, download, list, delete objects
  • Signed URL generation
  • Multipart upload for large files

Model Derivative

  • Start translation jobs
  • Check translation status
  • Wait for completion with polling

Data Management (requires 3-legged auth)

  • List hubs (requires prior raps auth login via CLI)

API Reference

Client

# Create from environment
client = Client.from_env()

# Create with explicit credentials
client = Client(client_id, client_secret, base_url=None)

# Test authentication
client.test_auth() -> bool

# Access managers
client.buckets -> BucketsManager
client.hubs -> HubsManager  # requires 3-legged auth
client.objects(bucket_key) -> ObjectsManager

# Translation
client.translate(urn, output_format="svf2", force=False) -> TranslationJob
client.get_translation_status(urn) -> TranslationJob
client.get_urn(bucket_key, object_key) -> str

BucketsManager

buckets.list(region=None, limit=None) -> List[Bucket]
buckets.create(key, policy="transient", region="US") -> Bucket
buckets.get(key) -> Bucket
buckets.delete(key) -> None

ObjectsManager

objects.list(limit=None) -> List[Object]
objects.upload(path, object_key=None) -> Object
objects.download(object_key, path) -> str
objects.delete(object_key) -> None
objects.signed_url(object_key, minutes=2) -> str

TranslationJob

job.urn: str
job.status: str  # pending, inprogress, success, failed, timeout
job.progress: str
job.wait(timeout=600, poll_interval=5) -> TranslationJob

Exceptions

  • RapsError - Base exception
  • AuthenticationError - Authentication failures
  • NotFoundError - Resource not found
  • RateLimitError - API rate limit exceeded
  • ValidationError - Invalid parameters

Requirements

Environment Variables

export APS_CLIENT_ID="your_client_id"
export APS_CLIENT_SECRET="your_client_secret"

License

Apache 2.0

Metadata

Release files for raps-bindings 4.17.0

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

Built distributions (wheels)

Table of built distributions (wheels) for raps-bindings 4.17.0
File Actions
raps_bindings-4.17.0-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for raps_bindings-4.17.0-cp38-abi3-win_amd64.whl
raps_bindings-4.17.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details for raps_bindings-4.17.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
raps_bindings-4.17.0-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details for raps_bindings-4.17.0-cp38-abi3-macosx_11_0_arm64.whl
raps_bindings-4.17.0-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details for raps_bindings-4.17.0-cp38-abi3-macosx_10_12_x86_64.whl

Total release size: 15.1 MB

Release files / raps_bindings-4.17.0-cp38-abi3-win_amd64.whl

Download URL raps_bindings-4.17.0-cp38-abi3-win_amd64.whl
Size 3.5 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d5b23483c125bc6d4397942927cc2e52e7c138b8befbc041951ae8a48b8ffe71
BLAKE2b-256 checksum
How to use checksums
a30e1bf5324318d44b76291575126f499689379d4a28d70742848333ad361f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 6, 2026.

Transparency log

Release files / raps_bindings-4.17.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL raps_bindings-4.17.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.1 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
5ac04777a9e05962eb14b472b33a1d35e2c61ec685475121237c332b6a9c95e8
BLAKE2b-256 checksum
How to use checksums
b944429528cb809a3fc24e28f8fd75ebdf839e6c4db8a40c9023f74251253c73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 6, 2026.

Transparency log

Release files / raps_bindings-4.17.0-cp38-abi3-macosx_11_0_arm64.whl

Download URL raps_bindings-4.17.0-cp38-abi3-macosx_11_0_arm64.whl
Size 3.7 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4e56cd5dcbf8cc9c4115d34f41a02d3288617dd56b558b631549953a015b7360
BLAKE2b-256 checksum
How to use checksums
36cdf925d11bcb757ae9e3493f455fba0393ff24b3fcb08447551c3e0611731b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 6, 2026.

Transparency log

Release files / raps_bindings-4.17.0-cp38-abi3-macosx_10_12_x86_64.whl

Download URL raps_bindings-4.17.0-cp38-abi3-macosx_10_12_x86_64.whl
Size 3.8 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c54dde5aac83b7af925a4dd9c1c6d3f190321fd954f771321726ac0d836c4568
BLAKE2b-256 checksum
How to use checksums
e0faf05cdb75c46b100e74e7c36c2a0b9ab1e2be15ea98eae742ae580b6d7c41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 6, 2026.

Transparency log

Security for raps-bindings 4.17.0

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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for raps_bindings-4.17.0-cp38-abi3-win_amd64.whl

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 Mar 6, 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.

Release history Release notifications | RSS feed

This release

4.17.0 This release

4 release files Full provenance

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