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.15.tar.gz (190.2 kB view details)

Uploaded Source

File details

Details for the file shooju-ts-0.1.15.tar.gz.

File metadata

  • Download URL: shooju-ts-0.1.15.tar.gz
  • Upload date:
  • Size: 190.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for shooju-ts-0.1.15.tar.gz
Algorithm Hash digest
SHA256 af89601982f597ec6e0c35ff3e7638f16b8bf5d807d3d50d79222c4f1803dbc6
MD5 4c9e8eb431212e0daeb3851701e0640a
BLAKE2b-256 5a25a8271673804beca82e4fbe63ff3c859c7dd3447cb1de60f3536f6ef9698b

See more details on using hashes here.

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