Metadata-Version: 2.1
Name: secrit
Version: 0.0.2
Summary: A simple library to interact with the 'pass' (password store https://www.passwordstore.org/) generated secrets
Project-URL: Homepage, https://github.com/hard-simp/secrit.py
Project-URL: Bug Tracker, https://github.com/hard-simp/secrit.py/issues
Author: Simpthy
License-File: LICENSE
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown

---
title: Secrit
---

Introduction
============

Secrit is a simple Python library designed to interact with the \'pass\'
password store generated keys.

Installation
============

First, ensure that you have the \`\~/.password-store/\` directory
available as the library uses it as the default storage path.

To install the Secrit library, you can simply use pip:

``` {.bash}
pip install secrit
```

Usage
=====

Retrieve a Password
-------------------

To retrieve a decrypted content of a password store entry, use the
\`get\` function:

``` {.python}
import secrit

# You will be prompted for your master password
api_key = secrit.get("github.com/api_key")
```

Requirements
============

-   Python 3
-   python-gnupg

Development
===========

To contribute or report issues, please visit the [GitHub
repository](https://github.com/hard-simp/secrit.py).

License
=======

MIT
