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

Uploaded Source

File details

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

File metadata

  • Download URL: shooju-ts-0.1.16.tar.gz
  • Upload date:
  • Size: 190.5 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.16.tar.gz
Algorithm Hash digest
SHA256 936b8cf33778e3173d560ba521b5394347047a08c28fcad12d308371b11bf5a2
MD5 625959c0e756743924d9142cf089b83e
BLAKE2b-256 58bd1c0fabff0c3ce53881a4ad03322b62b2ad9c06540db3ad865dc5cea2ad0a

See more details on using hashes here.

Supported by

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