Skip to content

Commit

Permalink
rename to "bitwarden_sdk"
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot committed Nov 30, 2023
1 parent d415251 commit ee2ce66
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: schemas.py
path: ${{ github.workspace }}/languages/python/BitwardenClient/
path: ${{ github.workspace }}/languages/python/bitwarden_sdk/

# - name: Setup Windows ARM64
# if: ${{ matrix.settings.target == 'aarch64-pc-windows-msvc' }}
Expand Down Expand Up @@ -122,12 +122,12 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: BitwardenClient-${{ env._PACKAGE_VERSION }}-${{ matrix.settings.target }}
path: ${{ github.workspace }}/target/wheels/BitwardenClient*.whl
name: bitwarden_sdk-${{ env._PACKAGE_VERSION }}-${{ matrix.settings.target }}
path: ${{ github.workspace }}/target/wheels/bitwarden_sdk*.whl

- name: Upload sdists
if: ${{ matrix.settings.target == 'x86_64-unknown-linux-gnu' }} # we only need one sdist
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: BitwardenClient-${{ env._PACKAGE_VERSION }}-sdist
path: ${{ github.workspace }}/target/wheels/BitwardenClient-*.tar.gz
name: bitwarden_sdk-${{ env._PACKAGE_VERSION }}-sdist
path: ${{ github.workspace }}/target/wheels/bitwarden_sdk-*.tar.gz
2 changes: 1 addition & 1 deletion .github/workflows/generate_schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: schemas.py
path: ${{ github.workspace }}/languages/python/BitwardenClient/schemas.py
path: ${{ github.workspace }}/languages/python/bitwarden_sdk/schemas.py
if-no-files-found: error

- name: Upload json schemas artifact
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ support/schemas
crates/bitwarden-napi/src-ts/bitwarden_client/schemas.ts
languages/csharp/Bitwarden.Sdk/schemas.cs
languages/js_webassembly/bitwarden_client/schemas.ts
languages/python/BitwardenClient/schemas.py
languages/python/bitwarden_sdk/schemas.py
languages/java/src/main/java/com/bitwarden/sdk/schema
File renamed without changes.
2 changes: 1 addition & 1 deletion languages/python/example.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
import os

from BitwardenClient import BitwardenClient, DeviceType, client_settings_from_dict
from bitwarden_sdk import BitwardenClient, DeviceType, client_settings_from_dict

# Create the BitwardenClient, which is used to interact with the SDK
client = BitwardenClient(client_settings_from_dict({
Expand Down
6 changes: 3 additions & 3 deletions languages/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ classifiers = [
]
dependencies = ["dateutils >= 0.6.6"]
description = "A Bitwarden Client for python"
name = "BitwardenClient"
name = "bitwarden_sdk"
readme = "README.md"
requires-python = ">=3.0"
version = "0.1.0"
Expand All @@ -23,7 +23,7 @@ version = "0.1.0"
bindings = "pyo3"
compatibility = "manylinux2014"
include = [
{ path = "BitwardenClient/*.py", format = ["sdist", "wheel"] }
{ path = "bitwarden_sdk/*.py", format = ["sdist", "wheel"] }
]
manifest-path = "../../crates/bitwarden-py/Cargo.toml"
python-packages = ["BitwardenClient"]
python-packages = ["bitwarden_sdk"]

0 comments on commit ee2ce66

Please sign in to comment.