Metadata-Version: 2.1
Name: floodgateio-python
Version: 0.0.11
Summary: floodgate.io python client
Home-page: https://github.com/densolo/floodgateio-python
Author: denissolo
License: MIT
Description: # FloodGate SDK for Python
        
        ## Overview
        
        This is an unofficial Python Client for [Floodgate](https://floodgate.io), a feature rollout service which provides a centralised management console for managing remote feature flags.
        
        This code is based on .NET SDK implementation.
        
        ## Installing
        
        Install the Floodgate Client via pip
        
        ```console
        pip install floodgateio-python
        ```
        
        ## Usage
        
        Below is a simple example of how you can use the FloodGate Client to check on the status of a flag.
        
        Add floodgateio to your application
        
        ```python
        import floodgateio
        ```
        
        Create a FloodGate Client instance
        
        ```python
        client = floodgateio.FloodGateClient.initialize_from_key_autoupdate("ENTER-YOUR-API-KEY")
        ```
        
        Retrieve your flag value
        
        ```python
        feature_flag = client.get_value("my-feature-flag", False)
        
        if feature_flag:
            # Do something new and amazing here
        
        else:
            # Do whatever it is I'm usually doing here
        
        ```
        
        ## Usage in asyncio mode
        
        To use asyncio version create FloodGateClientAsync instead 
        
        ```python
        client = floodgateio.FloodGateClientAsync.initialize_from_key_autoupdate("ENTER-YOUR-API-KEY")
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
