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.3.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.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ghostport-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 09e6777fcc291e372cfb31d6cfc0263579b5ecd152621ec62da38f9b7497340c
MD5 c5ca67b1c74da017d4ee52ab0d128a62
BLAKE2b-256 8155609ba98c250dd69f658e412beba380955c18619665467745c6a16bf3c870

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ghostport-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 46e1bca6ba03c51f2b93376b3d06fc8b13090e8a66ab087494e35b8619242d1d
MD5 4cc10b6417f7589ce6fb183ccbd0ce88
BLAKE2b-256 74f309b9589491fb413a553f744b0020d8b6e6ba227ab8340f0b0ea3b2406da7

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