Skip to main content

Provides functions for reading SequenceFile-s with Python pickles.

Project description

[![Build Status](]( [![PyPI](](


Pure Python implementation of reading SequenceFile-s with pickles written by
Spark's [saveAsPickleFile()](
This is needed if you store the results from Spark in the efficient binary pickle
format and want to load them locally on your computer, without any Spark installation,
given only the actual files.

[Article about creating this project.](

pip install sparkpickle
Supports Python 2.7 and 3.x.

View the contents of the file via command line:
python -m sparkpickle /path/to/file

import sparkpickle

for obj in sparkpickle.load_gen("/path/to/file"):

There are 3 functions: `load()`, `loads()` and `load_gen()`. The first two
are similar to those found in "pickle" package, whereas the last one is the
generator which yields deserialized objects and thus provides the minimal
memory footprint.

Apache 2.0.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sparkpickle, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size sparkpickle-1.0.1.tar.gz (19.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page