22/12/20 11:04 ನಲ್ಲಿ, Ihor Antonov <[email protected]> ಬರೆದರು:
> 
> 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

Attachment: publickey - [email protected] - b0c8d720.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to