Skip to content

Best practice for interacting with your Timescale service programatically

Notifications You must be signed in to change notification settings

timescale/integrate-with-timescale-using-python

Repository files navigation

Integrate with Timescale using Python

Timescale is a high-performance developer focused cloud that provides PostgreSQL services enhanced with our blazing fast vector search.

Timescale services focus on three main use-cases:

  • Time-series and Analytics: for lightning fast ingest and queries on time based workloads (like price, sensor, event, blockchain, or IoT data). Powered by TimescaleDB, built for production, and extended with cloud features like transparent data tiering to object storage.

  • General purpose PostgreSQL: for metadata, business information and traditional relational workloads. Powered by Dynamic PostgreSQL. Operate within a CPU range and only pay for what you use.

  • Vector and AI: for applications that require fast search on vector embeddings and metadata, like semantic search, image search, RAG and Agents. Powered by Timescale Vector and available on Time-series and Dynamic PostgreSQL services.

You use this repo to setup your Timescale service, learn how to tune your data so you get the best bang for your buck, and implement use cases close to your business model.

Clone the repo, run the use cases, then use the code in your app!

Apps

This repo contains the following runnable apps:

Prerequisites

In order to run these use cases, you need the following in your development environment:

  • Python v<whatever>

Run the app

  1. Clone the repository

    To clone the repository to your local machine, open Terminal and navigate to the directory where you want to clone the repository. Then, use the following command:

    git clone bla bla 
  2. Open the project

    Do something

  3. Modify the project configuration

    Update the connection parameters in config.json.

  • databasename: Parameter explanation
  • serviceurl: Parameter explanation
  • host: Parameter explanation
  • port: Parameter explanation
  • user: Parameter explanation
  • password: Parameter explanation
  1. Build and run the project

    To build and run the project, ...

  2. Run the samples in the app

    From the main app screen, choose and launch a sample.

Contact

If you have any questions, issues, or suggestions, please file an issue in our GitHub Issue Tracker.

About

Best practice for interacting with your Timescale service programatically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published