Skip to main content

Shooju Time Series (SJTS) Serializer

Project description

shooju-ts contains loads/dumps functionality for sjts, a json-ish format for time series data designed for use with Shooju and compatible with loads() and dumps() commands based on the json package. Currently, it is intended to be used only with the shooju package from pip to speed up retrieval of Shooju data. We do plan on documenting the format to enable uses beyond Shooju. The serializer is based on UltraJSON.

Installation

Install using pip:

pip install shooju-ts

Basic Usage

May be used as a drop in replacement for most other JSON parsers for Python:

>>> import sjts
>>> sjts_string = sjts.dumps({'success':True,'series':[{'points':[(13242323324,2)]}]})
>>> print sjts.dumps(sjts_string)
{'success':True,'series':[{'points':[(1,2)]}

Source

https://bitbucket.org/shooju/sjts (restricted access for now)

Changelist

0.1

  • Initial public release not intended for standalone use without the shooju package.

Development

To compile for windows set environment variable (for VS2015):

$ SET VS90COMNTOOLS=%VS140COMNTOOLS%

Project details


Download files

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

Source Distribution

shooju-ts-0.1.3.tar.gz (185.6 kB view hashes)

Uploaded Source

Built Distributions

shooju_ts-0.1.3-cp27-cp27m-win_amd64.whl (23.8 kB view hashes)

Uploaded CPython 2.7m Windows x86-64

shooju_ts-0.1.3-cp27-cp27m-win32.whl (23.0 kB view hashes)

Uploaded CPython 2.7m Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page