Metadata-Version: 2.1
Name: ghostport
Version: 0.0.3
Summary: GhostPort Python SDK
Home-page: https://github.com/ghostport/python-sdk
Author: GhostPort
Author-email: ghostportapp@gmail.com
License: MIT
Keywords: feature,flag,ghostport
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
Requires-Dist: requests (>=2.24.0)

# GhostPort Python SDK

## Installation

`pip install ghostport`

## Usage

### Initialize the Client

```python
from ghostport import GhostPort

client = GhostPort('YOUR_TOKEN')
```

### Get all keys and values

```python
flags = client.get_flag_values()

print(flags) # Prints out a dictionary of flag keys to values
```

### Get a flag's value

```python
value = client.get_flag_value('doTheThing')

print(value) # Prints out the value of the flag
```


