Skip to content

Commit

Permalink
SM-1098: Update Python wrapper readme instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
coltonhurst committed Feb 7, 2024
1 parent 1595306 commit b762afd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions languages/python/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.egg-info
bitwarden_py*.so
__pycache__
.venv
4 changes: 4 additions & 0 deletions languages/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ From the root of the repository:
npm run schemas # generate schemas.py

cd languages/python/
python3 -m venv .venv
maturin develop
```

Expand All @@ -31,5 +32,8 @@ pip install bitwarden-sdk
Set the `ORGANIZATION_ID` and `ACCESS_TOKEN` environment variables to your organization ID and access token, respectively.

```bash
source .venv/bin/activate
python3 ./example.py

deactivate # run this to close the virtual session
```

0 comments on commit b762afd

Please sign in to comment.