[Question] python library

ಚಿರಾಗ್ ನಟರಾಜ್ mailinglist at chiraag.me
Tue Dec 22 20:13:41 CET 2020


22/12/20 11:04 ನಲ್ಲಿ, Ihor Antonov <ihor at antonovs.family> ಬರೆದರು:
> 
> Hi guys,
> 
> Is there a python library to use pass programmatically?

pass is a shell script (not something written in e.g. C or C++), so you won't find a python library to utilize _pass_. However...

> 
> (I need to get a password to the python process)
>
> I know it is easy to simply shell out to pass but I was wondering if:
> 
> a) someone already wrote something so I don't have to reinvent the bicycle
> 
> b) there is a better way then just shelling out

There is pypass (https://github.com/aviau/python-pass) which provides the same functionality as pass *and* provides a Python library. You should probably use that.

HTH!

- Chiraag
-- 
ಚಿರಾಗ್ ನಟರಾಜ್
Pronouns: he/him/his
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - mailinglist at chiraag.me - b0c8d720.asc
Type: application/pgp-keys
Size: 659 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20201222/caf18205/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 233 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20201222/caf18205/attachment.asc>


More information about the Password-Store mailing list