NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2237 most downloaded on PyPI
The 1Password Python SDK offers programmatic read access to your secrets in 1Password in an interface native to Python.
Last release 2 months ago
30 Jul 2026
Release timing varies
gaps range from 2 weeks to 6 months
Nearly every release is documented
notes for 13 of 13 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
16 releases · first in 2024
One column per month.
1Password Environment access: The SDK can now read variables from a 1Password Environment.
1Password Environment access: The SDK can now read variables from a 1Password Environment.
Desktop App integration: The SDK can now authenticate via an authorization prompt from the 1Password app.
grantGroupPermissions, updateGroupPermissions, and revokeGroupPermissions functions.Vault group permission management operations: You can now grant, update and revoke group access to vaults using grant_group_permissions, update_group_
grant_group_permissions, update_group_permissions, and revoke_group_permissions functions.vaults.list no longer errors when additional parameters are provided.The SDK can now authenticate with the Desktop App.
get, get_overview as well as new options for vault list are now available.The client.secrets.resolve_all() SDK function now only sources secrets from active items.
client.secrets.resolve_all() SDK function now only sources secrets from active items.VaultOverview now includes created_at and updated_at fields that show when the vault was created and last updated.
VaultOverview now includes created_at and updated_at fields that show when the vault was created and last updated.This release contains breaking changes for two functions in the Python SDK.
ItemOverview exposes one of two states: Active or Archived.
Active: An item located inside a vault. (Default)Archived: An item that has been moved to the Archive. 1Password doesn't include archived items in search results or suggest them when you fill in apps and browsers. You can keep archived items as long as you'd like.This release contains breaking changes for two functions in the Python SDK.
Vault listing
list_all to list. To use this in your code, replace:vaults = await client.vaults.list_all(vault_id)
with:
vaults = await client.vaults.list(vault_id)
SDKIterator[VaultOverview] to List[VaultOverview]. To use this in your code, replace:async for vault in vaults:
# using vault overview
with:
for vault in vaults:
# using vault overview
Item listing
ListAll to List. To use this in your code, replace:overviews = await client.items.list_all(vault_id)
with:
overviews = await client.items.list(vault_id, ItemListFilter(
content=ItemListFilterByStateInner(
active=True,
archived=True,
)
))
SDKIterator[ItemOverview] to List[ItemOverview]. To use this in your code, replace:async for overview in overviews:
# using item overview
with:
for overview in overviews:
# using item overview
This does not affect any code that's already deployed, and will not take effect in your codebase until you choose to update to version 0.3.0 or later of the 1Password Python SDK.
`CreatedAt` and `UpdatedAt` item metadata: Items and item overviews now expose attributes with their creation and last edit times.
CreatedAt and UpdatedAt item metadata: Items and item overviews now expose attributes with their creation and last edit times.client.secrets.resolveAll function, the SDK is now able to resolve multiple secrets at once, improving the performance of the operation.Address and Date fields can now be created, retrieved, and edited using the 1Password SDK.Tags in item overviews: The return type of items.list_all now also contains the item tags.File Support: You can now create Document items, attach files to items, delete files from items, and read file contents using the SDK.
op://vault/<SSH item>/private key?ssh-format=opensshThe SDK now returns an error with a custom type when it hits the rate limit of the 1Password servers.
Support for item sharing: You can now create an item sharing link via the 1Password SDKs using the new client.items.shares API.
client.items.shares API.client.items.archive(vault_uuid, item_uuid) function.item.notes.client.secrets.resolve.Version 0.1.5 of the 1Password Python SDK brings:
Version 0.1.5 of the 1Password Python SDK brings:
onepassword.Secrets.generate_password function.The v0.1.4 release of the Python SDK brings:
The v0.1.4 release of the Python SDK brings:
The v0.1.3 release of the Python SDK brings:
The v0.1.3 release of the Python SDK brings:
The v0.1.2 release of the Python SDK brings:
The v0.1.2 release of the Python SDK brings:
secrets.resolve function, using a secret reference for the TOTP field in your item. For example: op://vault/item/field?=attribute=totppip install onepassword-sdkdetails: None or section: None when instantiating ItemCreateParams.Your coding agent can read these notes before it upgrades. Set up the MCP server →