A command line interface for 1Password
A command line interface for 1Password.
pip install onepyssword
Command line usage
To get a password:
% 1pwd github.com
By default this will look in ~/Dropbox/1Password/1Password.agilekeychain. You can set your keychain path as an enviornment variable:
% export ONEPYSSWORD_KEYCHAIN=/path/to/keychain
Only for UNIX like systems you can specify your own command for copy.:
% export ONEPYSSWORD_COPY_CMD=xsel,-pi
1pwd is licensed under the MIT license. See the license file for details.
- EditorConfig support.
- Flake8 support.
- Style guide fixes.
- Nothing changed yet.
- Migrate to copypaste package
- Issue #1 ONEPYSSWORD_KEYCHAIN does not work with a ~ in it
- Issue #2 Current code fails with ValueError: Extra data: line 1 column 929 - line 1 column 945 (char 928 - 944)
- Initial release.