{"id":23914,"library":"json-timeseries","title":"JSON-TimeSeries","description":"Python library for handling JSON-TimeSeries (JTS) specification data. Version 0.1.7 supports creating, manipulating, and validating time series data in JTS format. Active development with minor fixes.","status":"active","version":"0.1.7","language":"python","source_language":"en","source_url":"https://github.com/slaxor505/json-timeseries-py","tags":["timeseries","json","jts","data-serialization"],"install":[{"cmd":"pip install json-timeseries","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Package uses underscores in module name, not hyphens.","wrong":"from jsontimeseries import TimeSeries","symbol":"TimeSeries","correct":"from json_timeseries import TimeSeries"},{"symbol":"JTSEncoder","correct":"from json_timeseries import JTSEncoder"},{"symbol":"JTSDecoder","correct":"from json_timeseries import JTSDecoder"}],"quickstart":{"code":"from json_timeseries import TimeSeries\n\n# Create a time series with two data points\nts = TimeSeries()\nts['2024-01-01T00:00:00Z'] = 10.5\nts['2024-01-02T00:00:00Z'] = 20.3\n\n# Convert to JTS dictionary\nprint(ts.to_jts())","lang":"python","description":"Create a basic time series and output JTS format."},"warnings":[{"fix":"Always use ISO 8601 format with 'T' and 'Z'.","message":"Timestamp keys must be ISO 8601 strings (e.g., '2024-01-01T00:00:00Z'). Using other formats may cause validation errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade to v0.1.7.","message":"When a value is integer 0, it may be omitted in the JTS output if using v0.1.6 or earlier. Fixed in v0.1.7.","severity":"gotcha","affected_versions":"<=0.1.6"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install: pip install json-timeseries. Import: from json_timeseries import TimeSeries","cause":"Misspelled import or not installed.","error":"ModuleNotFoundError: No module named 'json_timeseries'"},{"fix":"Upgrade to latest version: pip install --upgrade json-timeseries","cause":"Using an older version (<0.1.5) where method name might differ.","error":"AttributeError: 'TimeSeries' object has no attribute 'to_jts'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}