Metadata-Version: 1.1
Name: command-notifier
Version: 0.0.1
Summary: A very simple command-notification packagebased on SQS for distributed systems
Home-page: https://github.com/josegonzalez/python-command-notifier
Author: Jose Diaz-Gonzalez
Author-email: email@josediazgonzalez.com
License: Copyright (c) 2014 Jose Diaz-Gonzalez

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Description: ================
        command-notifier
        ================
        
        A very simple command-notification package based on SQS for distributed systems
        
        > Warning: This can be abused to take down your entire infrastructure, gain root access, etc.
        
        Installation
        ============
        
        Using PIP via PyPI::
        
            pip install command-notifier
        
        Using PIP via Github::
        
            pip install git+git://github.com/josegonzalez/python-command-notifier.git#egg=command-notifier
        
        Usage
        =====
        
        CLI Usage of cn-subscribe is as follows::
        
            usage: cn-subscribe [-h] [-a AWS_ACCESS_KEY_ID] [-s AWS_SECRET_ACCESS_KEY]
                                [-r EC2_REGION] [-t SNS_TOPIC] [-w SNS_WAIT_TIME_SECONDS]
                                [-q SQS_QUEUE]
        
            cn-subscribe, a tool to run commands published from sqs
        
            optional arguments:
              -h, --help            show this help message and exit
              -a AWS_ACCESS_KEY_ID, --aws-access-key-id AWS_ACCESS_KEY_ID
                                    AWS Access Key ID
              -s AWS_SECRET_ACCESS_KEY, --aws-secret-access-key AWS_SECRET_ACCESS_KEY
                                    AWS Secret Access Key
              -r EC2_REGION, --ec2-region EC2_REGION
                                    EC2 Region
              -t SNS_TOPIC, --sns-topic SNS_TOPIC
                                    SNS Topic to subscribe to
              -w SNS_WAIT_TIME_SECONDS, --sns-wait-time-seconds SNS_WAIT_TIME_SECONDS
                                    SNS Wait Time in Seconds
              -q SQS_QUEUE, --sqs-queue SQS_QUEUE
                                    SQS Queue to utilize to
        
            cn-subscribe is pwnage
        
        CLI Usage of cn-publish is as follows::
        
            usage: cn-publish [-h] [-a AWS_ACCESS_KEY_ID] [-s AWS_SECRET_ACCESS_KEY]
                              [-c COMMAND] [-r EC2_REGION] [-t SNS_TOPIC]
        
            cn-publish, a tool to publish a command via sns
        
            optional arguments:
              -h, --help            show this help message and exit
              -a AWS_ACCESS_KEY_ID, --aws-access-key-id AWS_ACCESS_KEY_ID
                                    AWS Access Key ID
              -s AWS_SECRET_ACCESS_KEY, --aws-secret-access-key AWS_SECRET_ACCESS_KEY
                                    AWS Secret Access Key
              -c COMMAND, --command COMMAND
                                    Command to publish
              -r EC2_REGION, --ec2-region EC2_REGION
                                    EC2 Region
              -t SNS_TOPIC, --sns-topic SNS_TOPIC
                                    SNS Topic to publish to
        
            cn-publish is pwnage
        
        You can also use the equivalent environment variables in place of command arguments.
        
        
Platform: UNKNOWN
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
