Metadata-Version: 1.2
Name: httpie-astra
Version: 0.0.3
Summary: Astra plugin for HTTPie.
Home-page: https://github.com/synedra-datastax/httpie-astra
Author: Kirsten Hunter
Author-email: kirsten.hunter@datastax.com
License: Apache 2.0
Download-URL: https://github.com/synedra-datastax/httpie-astra
Description: httpie-astra
        ============
        
        Astra plugin for `HTTPie <https://github.com/jkbr/httpie>`_.
        
        
        Installation
        ------------
        
        To install from sources:
        
        .. code-block:: bash
        
            $ python setup.py install
        
        If using python 3 on Mac, replace python with python3:
        
        .. code-block:: bash
        
            $ python3 setup.py install
        
        
        
        
        
        
        Usage
        -----
        
        The Astra plugin relies on a .astrarc credentials file that will be created in your home directory and organized by [section] following the format below. Each [section] can contain a different credentials set allowing you to store all of your credentials in a single file. 
        
        .. code-block:: bash
        
        		[default]
        		ASTRA_DB_REGION = *******
        		ASTRA_DB_ID = *********************
        		ASTRA_DB_USERNAME = *********
        		ASTRA_DB_PASSWORD = *********
        		ASTRA_DB_KEYBASE = tutorial
        		ASTRA_DB_TOKEN = xxxx
        		ASTRA_DB_TOKEN_TIME = X
        
        		[section1]
        		ASTRA_DB_REGION = *******
        		ASTRA_DB_ID = *********************
        		ASTRA_DB_USERNAME = *********
        		ASTRA_DB_PASSWORD = *********
        		ASTRA_DB_KEYBASE = tutorial
        		ASTRA_DB_TOKEN = xxxx
        		ASTRA_DB_TOKEN_TIME = X
        		
        
        Once you have the credentials set up, here is an example of what an Astra Call call would look like:
        
        .. code-block:: bash
        
        	% http --auth-type astra -a default: :/v2/schemas/keyspaces
        
        When you run the command, if your authentication token has expired it will refresh it for you.
Platform: UNKNOWN
Requires-Python: >=3.3
