GhostPort Python SDK
Project description
GhostPort Python SDK
Installation
pip install ghostport
Usage
Hosted Documentation
Docs can be found at https://docs.ghostport.io.
Initialize the Client
from ghostport import GhostPort
client = GhostPort('YOUR_TOKEN')
Get all keys and values
flags = client.get_flag_values()
print(flags) # Prints out a dictionary of flag keys to values
Get a flag's value
value = client.get_flag_value('doTheThing')
print(value) # Prints out the value of the flag
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ghostport-0.0.4.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ghostport-0.0.4.tar.gz.
File metadata
- Download URL: ghostport-0.0.4.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3de915e56eeff1392aa4f1ba346203eaa161f23f9432d252b5ef2c0bf20d7797
|
|
| MD5 |
589a5efbc308db14e1b6066fac425dd4
|
|
| BLAKE2b-256 |
ca424b06d36b7f50f3ed25856d1dc15514d5e530d4ab6f29f4460ff81fbd54b2
|
File details
Details for the file ghostport-0.0.4-py3-none-any.whl.
File metadata
- Download URL: ghostport-0.0.4-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd12072e2ff4d46b180808d77a9b718c6acd959d99a6d86b93d5df4b53f7dd82
|
|
| MD5 |
dfa29308c9b8bf4689c8f4da418e1a98
|
|
| BLAKE2b-256 |
5b5c0db67af395e4f0e208b70f514a6745a27d1425526e0266b547bd65a46e9c
|