Skip to content

Latest commit

 

History

History
 
 

clients

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Clients

Here is a list of client libraries and code examples to connect to a TimescaleDB instance.

Language Client Download
Go pq https://github.com/lib/pq
Java JDBC Driver https://jdbc.postgresql.org/
Node.js pg package https://www.npmjs.com/package/pg
Python psycopg2 https://pypi.org/project/psycopg2/

Java

Include Maven dependency for PostgreSQL JDBC Driver

<dependency>
  <groupId>org.postgresql</groupId>
  <artifactId>postgresql</artifactId>
  <version>42.2.0</version>
</dependency>

Java sample code here.

Node.js

Install node-postgres pg package:

npm install pg

Run the sample:

node tsdb-node-client.js

Python

Install Python PostgreSQL Database Adapter psycopg package:

pip install psycopg2

Run the sample:

python tsdb-python-client.py