Skip to main content

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

Metadata

Release files for ghostport 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghostport 0.0.4
File Size Uploaded
ghostport-0.0.4.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ghostport 0.0.4
File Interpreter ABI Platform
ghostport-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 4.7 kB

Release files / ghostport-0.0.4.tar.gz

Download URL ghostport-0.0.4.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3de915e56eeff1392aa4f1ba346203eaa161f23f9432d252b5ef2c0bf20d7797
BLAKE2b-256 checksum
How to use checksums
ca424b06d36b7f50f3ed25856d1dc15514d5e530d4ab6f29f4460ff81fbd54b2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ghostport-0.0.4-py3-none-any.whl

Download URL ghostport-0.0.4-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd12072e2ff4d46b180808d77a9b718c6acd959d99a6d86b93d5df4b53f7dd82
BLAKE2b-256 checksum
How to use checksums
5b5c0db67af395e4f0e208b70f514a6745a27d1425526e0266b547bd65a46e9c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page