Metadata-Version: 1.1
Name: appthwack
Version: 1.0.0
Summary: AppThwack python client
Home-page: https://github.com/appthwack/appthwack-python
Author: Andrew Hawker
Author-email: andrew@appthwack.com
License: The MIT License (MIT)

Copyright (c) 2013 AppThwack

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: appthwack-python
        ================
        
        The official [AppThwack](https://appthwack.com) python client.
        
        Status
        ======
        
        Currently under active development.
        
        Installation
        ============
        
        ### Source
        
            $ git clone git@github.com:appthwack/appthwack-python.git
            $ python setup.py install
        
        ### Pip
        
            $ pip install appthwack
        
        Usage
        =====
        
        Configure the AppThwack client:
        
        ```python
        import appthwack
        
        API_KEY = '...'
        api = appthwack.AppThwackApi(API_KEY)
        ```
        
        Select a project:
        
        ```python
        #...
        
        project = api.project(id=1234)
        project = api.project(name='Mutt Cuts')
        projects = api.projects()
        ```
        
        Select a device pool:
        
        ```python
        #...
        
        device_pool = project.device_pool(id=42)
        device_pool = project.device_pool(name='72 Sheepdog')
        device_pools = project.device_pools()
        ```
        
        Upload your app and test content:
        
        ```python
        #...
        
        apk = api.upload('/src/samsonite.apk')
        tests = api.upload('/src/gotworms.apk')
        ```
        
        Schedule AppThwack AppExplorer test run:
        
        ```python
        #...
        
        name = 'Seabass and the fellas'
        run = project.schedule_app_explorer_run(apk, tests, name, device_pool))
        ```
        
        Schedule Calabash test run:
        
        ```python
        #...
        
        name = 'His head fell off!'
        run = project.schedule_calabash_run(apk, tests, name, device_pool)
        ```
        
        Schedule JUnit/Robotium test run:
        
        ```python
        #...
        
        name = 'Totally redeem yourself!'
        run = project.schedule_junit_run(apk, tests, name, device_pool)
        ```
        
        Get run execution status:
        
        ```python
        #...
        
        status = run.status() # new, queued, running, completed
        ```
        
        Get run results:
        ```python
        #...
        
        results = run.results()
        print results # [12345]: Run Hello World! by admin is 'completed' with result 'pass'.
        
        ```
        
        Dependencies
        ============
        
        This project was built on the shoulders of others:
        
        *  [requests](http://docs.python-requests.org/en/latest/) by Kenneth Reitz
        
        Documentation
        =============
        
        The latest AppThwack API documentation can be found [here](https://appthwack.com/docs/api).
        
        Contributing
        ============
        
        If you would like to contribute, simply fork the repository, push your changes and send a pull request.
        
        License
        =======
        
        MIT License. More information can be found [here](https://github.com/appthwack/appthwack-python/blob/master/LICENSE.md).
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
