A python API to query a 1Password account using the 'op' command-line tool
MIT License
Bot releases are visible (Hide)
Published by zcutlip over 1 year ago
Support creating item objects from non-conformant item data and unknown item types
Non-conformant item dictionaries returned by op
can now optionally be parsed with relaxed validation (gh-85). See "Added" below.
op
returns non-conforming dictionaries. See ITEM_VALIDATION.md
.generic_okay
kwargs has been added, enabling generic item objects to be returnedPublished by zcutlip almost 2 years ago
Missed a few housekeeping commits from the development branch
Fixed a shellcheck complaint in a docker testing script
pypi_password.py
scriptPublished by zcutlip almost 2 years ago
OP.login_item_create()
to not crash if no URL provided (gh-78)Published by zcutlip almost 2 years ago
Published by zcutlip almost 2 years ago
pyonepassword
subpackages by wildcard during build/installation (gh-64)*.egg-info
during build/installation to ensure proper things get included/excludedPublished by zcutlip almost 2 years ago
py.typed
marker for mypy
type analysis when imported into other projects (gh-48)mypy
testing to tox.ini
mypy
testing to Docker infrastructuremypy
where the wrong type was being passed to or returned from a methodpyonepassword.api
sThank you to @delfick for extensive advice and patience
Published by zcutlip almost 2 years ago
op.item_delete()
would blow up if the item to be deleted was an unknown (to pyonepassword) type (gh-54)Published by zcutlip almost 2 years ago
Minor updates to ITEM_CREATION.md
Published by zcutlip almost 2 years ago
New item creation API!
Primarily
Additionally, there are a number of new types in support of item creation. See ITEM_CREATION.md for a variety of examples.
Item deletion API:
Published by zcutlip about 2 years ago
op
config having no accounts was not handled properly (#43)Published by zcutlip about 2 years ago
OP()
constructor in order to organize authentication stepspyonepassword.api.OPUnknownAccountException
OP()
: existing_auth
and account
existing_auth
: EXISTING_AUTH_AVAIL
, EXISTING_AUTH_IGNORE
, EXISTING_AUTH_REQD
OP()
are deprecated:
use_existing_session
: use existing_auth
insteadaccount_shorthand
: use account
insteadPublished by zcutlip over 2 years ago
Features:
OPSSHKeyItemDescriptor
for op item list
operationsOPSSHKeyItem
for op item get
operationsMisc:
Published by zcutlip over 2 years ago
Complete rewrite for op
CLI tool version 2.
Breaking changes:
op
versions < 2.0 are not supported