Metadata-Version: 2.4
Name: infisical_api
Version: 1.0.3
Summary: Infisical Client using REST API
Author-email: Justin Kumpe <jakumpe@kumpes.com>
License-Expression: GPL-3.0
License-File: LICENSE
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Requires-Dist: requests
Description-Content-Type: text/markdown

# infisical_api

## ⚠️ DEPRECATED ⚠️

**This library is deprecated in favor of the official Infisical Python SDK.**

Please migrate to the official SDK: <https://infisical.com/docs/documentation/guides/python>

The official SDK provides better performance, security, and ongoing support from the Infisical team.

---

## Legacy Documentation

infisical_api was a python client for the infisical REST API. I found some of the dependencies in the infisical_python client incompatible with some of my applications so I built this very simple version that utilizes the REST API.

### Migration Guide

Instead of using this deprecated library:

```python
from infisical_api import infisical_api

secrets = infisical_api(service_token=token,infisical_url=url) # infisical_url is only needed if using self-hosted
username = secrets.get_secret(secret_name="USERNAME", path="/MYSQL").secretValue # path defaults to "/" when not specified
```

Please use the official Infisical Python SDK as documented at: <https://infisical.com/docs/documentation/guides/python>

### Legacy Usage (Deprecated)

Get Secret

```python
from infisical_api import infisical_api

secrets = infisical_api(service_token=token,infisical_url=url) # infisical_url is only needed if using self-hosted
username = secrets.get_secret(secret_name="USERNAME", path="/MYSQL").secretValue # path defaults to "/" when not specified
```
