Skip to main content

GhostPort Python SDK

Project description

GhostPort Python SDK

Installation

pip install ghostport

Usage

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.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghostport-0.0.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file ghostport-0.0.2.tar.gz.

File metadata

  • Download URL: ghostport-0.0.2.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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for ghostport-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0a0dff84c38caa5c00309f5cdc2b2631229fdf28011637eb67d0dd3fae667db2
MD5 5ce2198c4d85feb5c93de1d21d328a23
BLAKE2b-256 81bcdb5e967de68d0a7eb036540358dab0fc6cf1de9530b4e4e076e406e40224

See more details on using hashes here.

File details

Details for the file ghostport-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ghostport-0.0.2-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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for ghostport-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05ac92465c721f733c380fac75e94a16612bb1804d5715290ab991d073b8bb18
MD5 cc6c8d9c0fac4e06b6193f3d7219bc8b
BLAKE2b-256 5cf74f223dfd36bbcc34dac94ed0c28ef7178e38dd79573d4908f82a0f2956c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page