onepassword
Python wrapper for the 1password CLI
Decision gist · record as of 2026-08-14
No. The package is abandoned (last update 2020-06-26, repository archived) and has received no maintenance since its latest release. While the MIT license is permissive and install friction is low, the lack of updates means no compatibility fixes for modern Python or 1Password CLI versions. For new projects, use the official 1Password CLI directly or a maintained third-party integration instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires 1Password CLI to be installed and configured on the system; the package is a wrapper around it, not a standalone implementation.
- Low install friction, but the package is abandoned as of June 2020 with no updates since its latest release.
- The repository is archived and unmaintained, so expect no bug fixes or compatibility updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or distribution.
last release 2020-06-26 (2240 days) · last repo commit 2020-06-26 · 5 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,129 downloads/mo, #14,873 on PyPI
Alternatives
Verify before relying
pip install onepassword
from onepassword import OnePassword
secret = {"password": "<YOUR-PASSWORD>",
"username": "<YOUR-USERNAME>",
"signin_address": "<YOUR-1PASSWORD-ORGANIZATION-ADDRESS>",
"secret_key": "<YOUR-1PASSWORD-SECRET-KEY>"}
op = OnePassword(secret=secret)
documents = op.list("documents")
key_contents = op.get("document", documents[0]["uuid"])- Whether the package still works with current 1Password CLI versions, given the last update was 2020-06-26.
- Compatibility with Python versions beyond 3.8, despite classifier support for 3.6, 3.7, 3.8.
- Whether the underlying 1Password CLI API has changed since the package's last release.
What it is and what it does
onepassword is a thin Python wrapper around the 1Password command-line interface, allowing you to authenticate to a 1Password vault and retrieve secrets, documents, and other items programmatically. You pass in your credentials and organization details once, then use simple methods like `list()` and `get()` to query vault contents by item type and UUID.
The package is designed for automation scenarios where you need to fetch credentials or configuration from 1Password during application startup or runtime. It has no external Python dependencies, making installation straightforward. However, it requires the 1Password CLI tool to be installed and accessible on your system—the package is purely a Python interface to that CLI, not a standalone implementation.
Use it for
- Retrieve API keys or database credentials from 1Password during application initialization.
- Automate certificate or key rotation by fetching updated PEM files from a 1Password vault.
- Build a secrets-management layer for CI/CD pipelines that pulls credentials on demand.
- Query 1Password documents or notes programmatically as part of a larger automation workflow.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last update 2020-06-26, repository archived) and has received no maintenance since its latest release. While the MIT license is permissive and install friction is low, the lack of updates means no compatibility fixes for modern Python or 1Password CLI versions. For new projects, use the official 1Password CLI directly or a maintained third-party integration instead.
Install
onepassword on PyPI
Before you install
Low install friction, but the package is abandoned as of June 2020 with no updates since its latest release. The repository is archived and unmaintained, so expect no bug fixes or compatibility updates.
Requires 1Password CLI to be installed and configured on the system; the package is a wrapper around it, not a standalone implementation.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution.
Quickstart
pip install onepassword
from onepassword import OnePassword
secret = {"password": "<YOUR-PASSWORD>",
"username": "<YOUR-USERNAME>",
"signin_address": "<YOUR-1PASSWORD-ORGANIZATION-ADDRESS>",
"secret_key": "<YOUR-1PASSWORD-SECRET-KEY>"}
op = OnePassword(secret=secret)
documents = op.list("documents")
key_contents = op.get("document", documents[0]["uuid"])
Verify before relying
- Whether the package still works with current 1Password CLI versions, given the last update was 2020-06-26.
- Compatibility with Python versions beyond 3.8, despite classifier support for 3.6, 3.7, 3.8.
- Whether the underlying 1Password CLI API has changed since the package's last release.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,240 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 74,129 / month, #14,873 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8 |
Evidence: onepassword-0.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “1password vault access python”
- onepasswordWrapper around the 1Password CLI that lets you query and retrieve…
- onepasswordconnectsdkProvides Python access to 1Password vaults through a self-hosted…
- onepassword-sdkProgrammatic Python interface to read and manage secrets, items, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Security packages
Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.
MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.
joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.
Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.
Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.
ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.
Install only if maintaining existing code that already depends on it, and plan a migration.
See also conjur-client · onepassword-sdk · pykeepass · python-tss-sdk · onepasswordconnectsdk · docker-pycreds · azure-keyvault-secrets · robocorp-vault · hvac · keeper-secrets-manager-core