Skip to main content

Python Auth SDK for smbCloud, built from Rust.

Project description

smbCloud SDK Auth

Python auth SDK for smbCloud.

About

smbcloud-sdk-auth wraps the shared Rust auth crate through PyO3 so Python apps can use the same auth API as the browser SDK.

Current exported Python APIs include:

  • signup_with_client
  • login_with_client
  • logout_with_client
  • me_with_client
  • remove_with_client
  • Environment
  • AuthClient

Install

pip install smbcloud-sdk-auth

Usage

from smbcloud_auth import AuthClient, Environment

client = AuthClient(
    env=Environment.PRODUCTION,
    app_id="app-id",
    app_secret="app-secret",
)

signup = client.signup("name@example.com", "password123")
login = client.login("name@example.com", "password123")
user = client.me(login["access_token"])

Local packaging

From sdk/python:

maturin build

For the wider platform and docs, see smbCloud and the developer guides.

License

Apache-2.0

Copyright

© 2026 smbCloud (Splitfire AB).

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

smbcloud_sdk_auth-0.4.0-cp38-abi3-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.8+Windows x86-64

smbcloud_sdk_auth-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

smbcloud_sdk_auth-0.4.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

smbcloud_sdk_auth-0.4.0-cp38-abi3-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

smbcloud_sdk_auth-0.4.0-cp38-abi3-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file smbcloud_sdk_auth-0.4.0-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1bc1bcc45e117417fd041a4641c71eb5e37c1249156725dcd3d87ae62e35f359
MD5 080216f3d631083dc98b071e2326fe5e
BLAKE2b-256 cd2c227b08559781689e2d5cd6dc50f8a32cbede37cd2f59ee6f01a0c0ee8834

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.0-cp38-abi3-win_amd64.whl:

Publisher: release-sdk-pypi.yml on smbcloudXYZ/smbcloud-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smbcloud_sdk_auth-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4bd3321eb1ebd6a003d8bc673648e0cbd29b8b4bed1cb2b892b5462985418b7f
MD5 1d39fa4b7eb8496e6a3c2bdd3db044c7
BLAKE2b-256 fa027f0fb05810222552a954b6c56012f4a343d71e297b82aa5a96d37bc43d5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-sdk-pypi.yml on smbcloudXYZ/smbcloud-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smbcloud_sdk_auth-0.4.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f18a9bc1a2bf8558cfe7039621733bc8460ddc631cf1b569cc4e9cca1bd0a165
MD5 f964c12f92ec573284ba9aa02ac0f137
BLAKE2b-256 ee6720b265fec058dfe0c61a6cf8d606b55c4252a70f24c078b9dae8d1fff489

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release-sdk-pypi.yml on smbcloudXYZ/smbcloud-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smbcloud_sdk_auth-0.4.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd383fd16e2d455445fe43b306886cfff610524bd901ec42a5756b51bb693b77
MD5 bdd825ba4181247bfa10e89add9ed230
BLAKE2b-256 2a9f69c5124a7d9e072da78f250fcc0bf2b10c479f10338e602a4e716f613b15

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.0-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: release-sdk-pypi.yml on smbcloudXYZ/smbcloud-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smbcloud_sdk_auth-0.4.0-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7c4f120f60fcd55593fd9630c83d4f1a770a1ea684819e638a870dec2c772012
MD5 45883b26581bd0bb06c750a9c62652fd
BLAKE2b-256 89244c1df9edeefba15d3b49e0287a33b86b40309b781aa59f184313f9231fa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.0-cp38-abi3-macosx_10_12_x86_64.whl:

Publisher: release-sdk-pypi.yml on smbcloudXYZ/smbcloud-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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