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 Distribution

smbcloud_sdk_auth-0.4.2.tar.gz (49.8 kB view details)

Uploaded Source

Built Distributions

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

smbcloud_sdk_auth-0.4.2-cp38-abi3-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.8+Windows x86-64

smbcloud_sdk_auth-0.4.2-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.2-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.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: smbcloud_sdk_auth-0.4.2.tar.gz
  • Upload date:
  • Size: 49.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for smbcloud_sdk_auth-0.4.2.tar.gz
Algorithm Hash digest
SHA256 c8f5b62dc7b36ea00cc0c11b542385eeb7e9a3b6df72571d67f1c13ef5203a27
MD5 43c7573d7596bd35194700e28a3cebad
BLAKE2b-256 a708fe3695b65fcbafb4735b21f57ae97c9052bf7ac2099d880bf6483329bae4

See more details on using hashes here.

Provenance

The following attestation bundles were made for smbcloud_sdk_auth-0.4.2.tar.gz:

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.2-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3626d54f9df15bfd512aeb9f413621c71beb2d6e67bcee7cb6121fbe38a91a9b
MD5 fd2b1f228bfdeacd03a25151dc41fdbc
BLAKE2b-256 8cf1d81fc97d0a732ae328af3283f0d0b4169d523be3aa7cb485b55ebced3bfe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f21123a130a9d3b30040bbf68c83d82bda5ca14e3eb93b70ded15773d73c70e
MD5 2b53087b2aac7cce81c3c1d099727b5b
BLAKE2b-256 6b320ecae691abdad06dfa6cf66b1fa6ade83c86ba921faeeafc84654fdd709b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6427952eb92c0eb3ae115bf9c516caecb33cd8857eadd62e5d9af06a5b966e32
MD5 cb0bf064cfe2a89f1dc38db813942ec1
BLAKE2b-256 b800a8fd21f49df02179bfa19261e3324f9555a7da10efd87be4fc3b9fce66e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.2-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ba34eb9c13c3ead797105674f32fbdf595427361bad7a3908e9a0286d30d0f6f
MD5 2a783b2fed432ccbebe854b3e580d6a9
BLAKE2b-256 60d27121afb2ec7f4b576d3fd410fe1c24d8be4f53c3e05b61d5110f275da088

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for smbcloud_sdk_auth-0.4.2-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5991b3b04b5fd38c585b1d029ca0c17c9b4e91ea7592f19471348c806dd0b738
MD5 e0e98eb7b0bdf16a29c40c495c197525
BLAKE2b-256 469e4c4383a73ebf99ed70c0678f51218e673fa5471f13927dcd74469887dfd2

See more details on using hashes here.

Provenance

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