Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

AppThwack python client

Project Description


The official [AppThwack]( python client.


Currently under active development.


### Source

$ git clone
$ python install

### Pip

$ pip install appthwack


Configure the AppThwack client:

import appthwack

API_KEY = '...'
api = appthwack.AppThwackApi(API_KEY)

Select a project:


project = api.project(id=1234)
project = api.project(name='Mutt Cuts')
projects = api.projects()

Select a device pool:


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:


apk = api.upload('/src/samsonite.apk')
tests = api.upload('/src/gotworms.apk')

Schedule AppThwack AppExplorer test run:


name = 'Seabass and the fellas'
run = project.schedule_app_explorer_run(apk, tests, name, device_pool))

Schedule Calabash test run:


name = 'His head fell off!'
run = project.schedule_calabash_run(apk, tests, name, device_pool)

Schedule JUnit/Robotium test run:


name = 'Totally redeem yourself!'
run = project.schedule_junit_run(apk, tests, name, device_pool)

Get run execution status:


status = run.status() # new, queued, running, completed

Get run results:

results = run.results()
print results # [12345]: Run Hello World! by admin is 'completed' with result 'pass'.



This project was built on the shoulders of others:

* [requests]( by Kenneth Reitz


The latest AppThwack API documentation can be found [here](


If you would like to contribute, simply fork the repository, push your changes and send a pull request.


MIT License. More information can be found [here](

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.9 kB) Copy SHA256 Hash SHA256
Source None Aug 9, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers