Skip to content
forked from acroz/pylivy

A Python client for Apache Livy, enabling use of remote Apache Spark clusters.

License

Notifications You must be signed in to change notification settings

wilbur4321/pylivy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pylivy

https://travis-ci.org/acroz/pylivy.svg?branch=master

Livy is an open source REST interface for interacting with Spark. pylivy is a Python client for Livy, enabling easy remote code execution on a Spark cluster.

Usage

from livy import LivySession

LIVY_URL = 'http://spark.example.com:8998'

with LivySession(LIVY_URL) as session:
    # Run some code on the remote cluster
    session.run("filtered = df.filter(df.name == 'Bob')")
    # Retrieve the result
    local_df = session.read('filtered')

About

A Python client for Apache Livy, enabling use of remote Apache Spark clusters.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%