Skip to main content
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).

Metadata

Release files for appthwack 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for appthwack 1.0.0
File Size Uploaded Provenance Actions
appthwack-1.0.0.tar.gz 6.9 kB Without provenance Details for appthwack-1.0.0.tar.gz

Release files / appthwack-1.0.0.tar.gz

Download URL appthwack-1.0.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8e753e27043378ad30cc1a05074165bb83a8b93b38c012cfd84a7882487b4b86
BLAKE2b-256 checksum
How to use checksums
fd452dd33222e27e003c83cab58a53172348f0f6ac4b41b30a146cf1a3c8e117
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for appthwack 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page