Metadata-Version: 2.1
Name: ua-stache-api
Version: 2.0.1
Summary: Allows the caller to easily get 'secret' information from stache entries at [https://stache.arizona.edu].
Home-page: https://github.com/UACoreFacilitiesIT/UA-Stache-API
Author: Stephen Stern, Rafael Lopez
Author-email: sterns1@email.arizona.edu
License: MIT
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: requests

# UA-Stache-API
Allows the caller to easily get "secret" information from stache entries at [https://stache.arizona.edu].

## Motivation
To make a python API that could generically get information from stache.

## Code Example
```python
from ua_stache_api import ua_stache_api


key, url = ua_stache_api.get_entry(file_name)
ua_stache_api.auth(key, url)
```
Where file_name is the name of file with content such as:
```JSON
{
    "X-STACHE-READ-KEY": "stache_read_key",
    "endpoint": "stache_endpoint"
}
```

stache secret must be a JSON-able dictionary that can be nested.

## Installation
pip install --user ua-stache-api

## Tests
cd ./ua_stache_api/tests
nosetests ./test_ua_stache_api.py

## Credits
[sterns1](https://github.com/sterns1)
[raflopjr](https://github.com/raflopjr)
[RyanJohannesBland](https://github.com/RyanJohannesBland)

## License
MIT


