Skip to main content

PhilDB timeseries database client

Project description

The PhilDB timeseries database client aims to provide a PhilDB database API compatible object. At this stage mostly the read related methods have been implemented. None of the write related methods have been implemented. Any methods yet to be implemented in the client will raise a NotImplementedError if called.

Example usage

from phildb_client import PhilDBClient
db = PhilDBClient('http://localhost:8889')

db.ts_list()

Notes

This client is experimental and depends on the experimental PhilDB server. By default the client reads data from the server in the msgpack format. The data served by the server and read by the client is using the experimental Pandas msgpack implementation, as such it is dependant on the version of Pandas used by the server and the client being compatible. There is a known issue with Pandas < v0.17 (which has been made a dependency for the server), the client however can use an older version of Pandas and use JSON as the transport format instead of msgpack if required. For example: .. code:

from phildb_client import PhilDBClient
db = PhilDBClient('http://localhost:8889', 'json')

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

phildb-client-0.1.0.tar.gz (19.8 kB view details)

Uploaded Source

File details

Details for the file phildb-client-0.1.0.tar.gz.

File metadata

File hashes

Hashes for phildb-client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 616789c7c71316dd81fefc8a01ecf074e65b148427e96f0250e2957cde10cf73
MD5 9a64b7dcbc7f97aa1cdc0272ba0825c9
BLAKE2b-256 86fb3a670119eafd9d041813c9ecfd1fc2b56c9134e0690597127ac476364608

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