Python client for Spark Jobserver
Project description
Features
Supports Spark Jobserver 0.6.0+
Getting started
First create a client instance:
>>> from sjsclient import client >>> sjs = client.Client("http://JOB_SERVER_URL:PORT")
Then call methods on its managers:
>>> for app in sjs.apps.list(): ... print app.name ... 824d89f1-224d-4083-8129-363b79849939 36bb9cd3-054a-4ed7-a9f8-956a542c2357 >>> for job in sjs.jobs.list(): ... print job.jobId ... 8c5bd52f-6486-44ee-9ac3-a8327ee40494 24b67573-3115-49c7-983c-d0eff0499b71 99c8be9e-a0ec-42dd-8a2c-9a8680bc5051 bb82f712-d4b4-43a4-8e4d-e4bb272e85db
Documentation
Discussion list
spark-jobserver google group: https://groups.google.com/forum/#!forum/spark-jobserver
Requirements
Python >= 2.7.0
License
python-sjsclient is offered under the Apache 2 license.
Source code
The latest developer version is available in a github repository: https://github.com/spark-jobserver/python-sjsclient
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-sjsclient-0.1.0.0b2.tar.gz
(14.3 kB
view hashes)
Close
Hashes for python-sjsclient-0.1.0.0b2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ee6575e1db94df242c737860fa1e3728e24aec836e96c2c47de35bc9161b249 |
|
MD5 | 1835f45b9e7d929039f36ccd6adcf03c |
|
BLAKE2b-256 | e940e61f01d02984e9e7d808adfe8e02961261867bc11bb01fcff4e859cde556 |