Skip to main content

pandora_client is a commandline client for pan.do/ra. You can use it to import videos into a pan.do/ra system. It is currently known to work on Linux and Mac OS X.

Project description

pandora_client - python client and libary to access a pan.do/ra instances

For more info on using pandora_client, check
http://wiki.0x2620.org/wiki/pandora_client

pandora client example:
import pandora_client
#example config.json
'''
{
"url": "http://localhost:8000/api/",
"username": "username",
"password": "password",
"cache": "~/.ox/client.sqlite",
"media-cache": "~/.ox/media",
"volumes": {
"volumename": "/media/2010/Movies"
}
}
'''
c = pandora_client.Client('config.json')
c.scan() #scans all volumes for files and updates cache db
c.sync() #syncs cached file info with site, and encodes and uploads requested media
c.clean() #cleanup transcodes created druing sync to save disk space


just using the API:
api = pandora_client.API("http://localhost:8000/api/")
r = api.find(
query={'conditions':[]},
keys=['title', 'year'],
range=[0, 100]
)
for i in r['data']['items']:
...

api documentation is available as python docstrings.
i.e. in ipython:
api.find?
(alternatively you can open the api url in a browser to read further documentation)


== Distributed encoding ==
pandora_client can distribute the encoding to multiple nodes
on a local network or multiple encodings on the same host.

to do this you need to install additional dependencies:
apt-get install python-twisted python-requests
(on ubuntu 12.04 you need a newer version of requests,
i.e: sudo easy_install -U requests)

now run one node in server mode:
pandora_client server

and start the other nodes with:
pandora_client client http://SERVER_IP:8789

Project details


Release history Release notifications

History Node

0.3.1

History Node

0.2.265

History Node

0.2.264

History Node

0.2.260

History Node

0.2.252

History Node

0.2.250

History Node

0.2.249

History Node

0.2.240

History Node

0.2.237

History Node

0.2.230

History Node

0.2.229

History Node

0.2.227

History Node

0.2.225

History Node

0.2.222

History Node

0.2.221

History Node

0.2.217

History Node

0.2.214

History Node

0.2.209

History Node

0.2.208

History Node

0.2.202

History Node

0.2.201

History Node

0.2.198

History Node

0.2.197

History Node

0.2.196

History Node

0.2.193

History Node

0.2.186

History Node

0.2.184

History Node

0.2.183

History Node

0.2.182

History Node

0.2.181

History Node

0.2.176

History Node

0.2.174

History Node

0.2.173

History Node

0.2.172

History Node

0.2.166

This version
History Node

0.2.164

History Node

0.2.163

History Node

0.2.156

History Node

0.2.152

History Node

0.2.151

History Node

0.2.142

History Node

0.2.137

History Node

0.2.133

History Node

0.2.132

History Node

0.2.131

History Node

0.2.130

History Node

0.2.129

History Node

0.2.128

History Node

0.2.127

History Node

0.2.126

History Node

0.2.125

History Node

0.2.124

History Node

0.2.120

History Node

0.2.116

History Node

0.2.114

History Node

0.2.111

History Node

0.2.102

History Node

0.2.94

History Node

0.2.89

History Node

0.2.88

History Node

0.2.87

History Node

0.2.75

History Node

0.2.72

History Node

0.2.70

History Node

0.2.68

History Node

0.2.66

History Node

0.2.41

History Node

0.0.5

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
pandora_client-0.2.164.tar.gz (16.9 kB) Copy SHA256 hash SHA256 Source None Feb 26, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page