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.1-cp38-abi3-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.8+Windows x86-64

smbcloud_sdk_auth-0.4.1-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.1-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.1-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.1-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.1-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4556b114259a53555cce821bd9571de41da91dab767f8a2a1ca82d457da0bf42
MD5 b6c7757ede6ff75939ab71d0f850ada6
BLAKE2b-256 8819ef46a5f2c7f01bb1c19918a8b892fcc530710ad46bc7ce4a24ec95c74939

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.1-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.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c7a8a3fc9818a1520f973f8bb7ca3dfa337c9b0be1748fac5aed8a8b94067f8
MD5 d474e2467f597ca63082be60ffe111be
BLAKE2b-256 52b21f375048b748f36262be3939630954b03f7df8bc7bd29dfe35d675043c35

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.1-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.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ffd1b9cfdaf88edde1575b1cdd827b3bb646aad1ef1a39db6061dfd1873c7cd7
MD5 358c7db7f604cb825c2f15ca197a035d
BLAKE2b-256 7e99b3e4c7375eb8688f3fd77c7df49e6184b52b8c7eb13949167212a6c55e56

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.1-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.1-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 250c00b1e4c7656971ff587c3b2d50326f5b56b901861b1ad175eae6154f5945
MD5 eb750c3342a24bba48d50a110cee0cca
BLAKE2b-256 bd8b603be15c14c22cb7b7ae7ae7270fc2dba7d64863dba590c2c37ac95240f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.1-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.1-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.1-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cafeb957f5f3657b51bac1e06fe1a8f887467da98cd2761144800ceda0677628
MD5 74da9c94a7703490908441cf7c592ea3
BLAKE2b-256 d810ba33378d8c91ea8175482a2dad5eab2d89784d264292aa6bc0ac11a15c15

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.1-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