A Bitwarden Client for python
Project description
Build locally
Requirements
- Python 3
- Rust
maturin(install withpip install maturin, orpip install maturin[patchelf]on Linux)npmuv(recommended; used in test automation)
Build
npm install
npm run schemas # generate schemas.py
cd languages/python/
You will need to build and run the script using a virtual environment. This will be slightly different depending on the OS you are using:
# --- Linux/macOS ---
python3 -m venv .venv
source .venv/bin/activate
# --- Windows ---
python -m venv venv
venv\Scripts\activate.bat # cmd.exe
venv\Scripts\Activate.ps1 # Powershell
Run
maturin develop
python3 ./example.py
deactivate # run this to close the virtual session
You can now import BitwardenClient in your Python code with:
from bitwarden_sdk import BitwardenClient
Use without building locally
pip install bitwarden-sdk
Run
Set the ORGANIZATION_ID and ACCESS_TOKEN environment variables to your organization ID and
access token, respectively.
python3 ./example.py
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bitwarden_sdk-2.0.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: bitwarden_sdk-2.0.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b9a523dab81cca56151481bd0dce07bd58695fd14b4c5bcab520c7a24fc16c3
|
|
| MD5 |
fae27292a3d35d42b6ad4b6d7ce54f21
|
|
| BLAKE2b-256 |
bf17a96033bc9a55521a9d2a4022d69f72da302df4ac83eb182379fec9df102c
|
Provenance
The following attestation bundles were made for bitwarden_sdk-2.0.0-cp39-abi3-win_amd64.whl:
Publisher:
publish-python.yml on bitwarden/sdk-sm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bitwarden_sdk-2.0.0-cp39-abi3-win_amd64.whl -
Subject digest:
9b9a523dab81cca56151481bd0dce07bd58695fd14b4c5bcab520c7a24fc16c3 - Sigstore transparency entry: 920613896
- Sigstore integration time:
-
Permalink:
bitwarden/sdk-sm@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bitwarden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bitwarden_sdk-2.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: bitwarden_sdk-2.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c0e2dd8d8a3db2f0cb29d6dcd55fd578bd66839f666b8e1712712b6e9791021
|
|
| MD5 |
8842af2b1bbbcc7de4a3748d279c607d
|
|
| BLAKE2b-256 |
550355ea33d637e74bf7e50f39c361b82c8f03630d6f35ae8944d3a4a8399585
|
Provenance
The following attestation bundles were made for bitwarden_sdk-2.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
publish-python.yml on bitwarden/sdk-sm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bitwarden_sdk-2.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
1c0e2dd8d8a3db2f0cb29d6dcd55fd578bd66839f666b8e1712712b6e9791021 - Sigstore transparency entry: 920613865
- Sigstore integration time:
-
Permalink:
bitwarden/sdk-sm@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bitwarden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bitwarden_sdk-2.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: bitwarden_sdk-2.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a49739ebe37103df677e263637fdabc61682f10a5f4518fb22b130d530fffbcd
|
|
| MD5 |
dd74c8a8507e8b16965e8810274683db
|
|
| BLAKE2b-256 |
77938905bd312f40a0c1c7fabd939a3271380ccad959b9f99eda452f254fabfa
|
Provenance
The following attestation bundles were made for bitwarden_sdk-2.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
publish-python.yml on bitwarden/sdk-sm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bitwarden_sdk-2.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
a49739ebe37103df677e263637fdabc61682f10a5f4518fb22b130d530fffbcd - Sigstore transparency entry: 920613922
- Sigstore integration time:
-
Permalink:
bitwarden/sdk-sm@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bitwarden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bitwarden_sdk-2.0.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: bitwarden_sdk-2.0.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cc41cae078d086b1eaeb9e4f781454cfba7b77119f70908d074bed259dce8a6
|
|
| MD5 |
2c31b46fef9b9234feabdb3d73445268
|
|
| BLAKE2b-256 |
42b188c0d624b16d974bbcc3636d68cee15d9908980dc05c881b1ff46a19509d
|
Provenance
The following attestation bundles were made for bitwarden_sdk-2.0.0-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
publish-python.yml on bitwarden/sdk-sm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bitwarden_sdk-2.0.0-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
3cc41cae078d086b1eaeb9e4f781454cfba7b77119f70908d074bed259dce8a6 - Sigstore transparency entry: 920613797
- Sigstore integration time:
-
Permalink:
bitwarden/sdk-sm@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bitwarden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file bitwarden_sdk-2.0.0-cp39-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: bitwarden_sdk-2.0.0-cp39-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.6 MB
- Tags: CPython 3.9+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
054ccdda8fbf615d0e582e1e75c7c316bf291ed03b27efd774325ecc3b0fb0b8
|
|
| MD5 |
b394f1e803b265b9041142ddafb70d93
|
|
| BLAKE2b-256 |
c866177264df153e6714fa3d18fcac45374cc7ff481dd347acb5b02592f9d45a
|
Provenance
The following attestation bundles were made for bitwarden_sdk-2.0.0-cp39-abi3-macosx_10_12_x86_64.whl:
Publisher:
publish-python.yml on bitwarden/sdk-sm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bitwarden_sdk-2.0.0-cp39-abi3-macosx_10_12_x86_64.whl -
Subject digest:
054ccdda8fbf615d0e582e1e75c7c316bf291ed03b27efd774325ecc3b0fb0b8 - Sigstore transparency entry: 920613832
- Sigstore integration time:
-
Permalink:
bitwarden/sdk-sm@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bitwarden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@62a9c68497c6e073bd9c22762c35db021c0c0419 -
Trigger Event:
workflow_dispatch
-
Statement type: