shotty
===========================================================
Installation
------------
Installation using pip::
pip install shotty
Usage
-----
*Usage instructions here*
```python
from shotty import api
shotty = api('localhost', '54342a78-e2e8f65f-8040ae5f-5a01fe75-66909b98')
```
```python
shotty.get('users') # get all users
shotty.get('users', id='785845fjdfg930459') # get one user
shotty.changes('users') # get realtime updates for all users
```
```python
shotty.get('projects') # get all projects
p = shotty.get('projects', id='CASINO') # get one project
print p['paths']['root']
```
```python
shotty.get('shots', id='54342a78-e2e8f65f-8040ae5f') # get one shot
shots = shotty.get('shots', projectId='CASINO') # get all shots for test project
print len(shots)
print 'shots with client status', len([shot for shot in shots if shot['status'] == 'client'])
shotty.changes('shots') # get realtime updates for all shots
```
```python
shotty.get('versions', id='54342a78-e2e8f65f-8040ae5f') # get one version
versions = shotty.get('versions', projectId='CASINO') # get all versions for test project
print 'dailies versions', len([version for version in versions if version['type'] == 'dailies'])
shotty.get('versions', shotId='748324hfsd904') # get all versions for one shot
shotty.changes('versions') # get realtime updates for all versions
```
Credits
-------
*Any credits here*
shotty is packaged using seed_.
.. _seed: https://github.com/adamcharnock/seed/
===========================================================
Installation
------------
Installation using pip::
pip install shotty
Usage
-----
*Usage instructions here*
```python
from shotty import api
shotty = api('localhost', '54342a78-e2e8f65f-8040ae5f-5a01fe75-66909b98')
```
```python
shotty.get('users') # get all users
shotty.get('users', id='785845fjdfg930459') # get one user
shotty.changes('users') # get realtime updates for all users
```
```python
shotty.get('projects') # get all projects
p = shotty.get('projects', id='CASINO') # get one project
print p['paths']['root']
```
```python
shotty.get('shots', id='54342a78-e2e8f65f-8040ae5f') # get one shot
shots = shotty.get('shots', projectId='CASINO') # get all shots for test project
print len(shots)
print 'shots with client status', len([shot for shot in shots if shot['status'] == 'client'])
shotty.changes('shots') # get realtime updates for all shots
```
```python
shotty.get('versions', id='54342a78-e2e8f65f-8040ae5f') # get one version
versions = shotty.get('versions', projectId='CASINO') # get all versions for test project
print 'dailies versions', len([version for version in versions if version['type'] == 'dailies'])
shotty.get('versions', shotId='748324hfsd904') # get all versions for one shot
shotty.changes('versions') # get realtime updates for all versions
```
Credits
-------
*Any credits here*
shotty is packaged using seed_.
.. _seed: https://github.com/adamcharnock/seed/
Release files for shotty 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shotty-0.1.6.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| shotty-0.1.6-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 9.6 kB
Release files / shotty-0.1.6.tar.gz
| Download URL | shotty-0.1.6.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d872ecaca8707317685942cbf38f434a87ad73021694f99cf871fff438799e8
|
|
BLAKE2b-256 checksum How to use checksums |
f9f801f45e19c399f5ecc69789d1ec9fb7637eb5141b2b7b8e8ed4e4ed347bf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / shotty-0.1.6-py2-none-any.whl
| Download URL | shotty-0.1.6-py2-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
75cc0b95d669bd8dc083456fd4441fd4969937ab528cea9c5b7a788cf19240f6
|
|
BLAKE2b-256 checksum How to use checksums |
0130cb02b19341d54855b54cfa46c032341868be3cc890b89f889d92a59c912b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |