Skip to main content

Python SDK for Nixtla API (TimeGPT)

Project description

Nixtla   Tweet  Slack

Nixtla

Forecast using TimeGPT

CI Python PyPi License docs Downloads

Nixtla offers a collection of classes and methods to interact with the API of TimeGPT.

🕰️ TimeGPT: Revolutionizing Time-Series Analysis

Developed by Nixtla, TimeGPT is a cutting-edge generative pre-trained transformer model dedicated to prediction tasks. 🚀 By leveraging the most extensive dataset ever – financial, weather, energy, and sales data – TimeGPT brings unparalleled time-series analysis right to your terminal! 👩‍💻👨‍💻

In seconds, TimeGPT can discern complex patterns and predict future data points, transforming the landscape of data science and predictive analytics.

⚙️ Fine-Tuning: For Precision Prediction

In addition to its core capabilities, TimeGPT supports fine-tuning, enhancing its specialization for specific prediction tasks. 🎯 This feature is like training a machine learning model on a targeted data subset to improve its task-specific performance, making TimeGPT an even more versatile tool for your predictive needs.

🔄 Nixtla: Your Gateway to TimeGPT

With Nixtla, you can easily interact with TimeGPT through simple API calls, making the power of TimeGPT readily accessible in your projects.

💻 Installation

Get Nixtla up and running with a simple pip command:

pip install nixtla>=0.5.1

🎈 Quick Start

Get started with TimeGPT now:

df = pd.read_csv('https://raw.githubusercontent.com/Nixtla/transfer-learning-time-series/main/datasets/electricity-short.csv')

from nixtla import NixtlaClient
nixtla_client = NixtlaClient(
    # defaults to os.environ.get("NIXTLA_API_KEY")
    api_key = 'my_api_key_provided_by_nixtla'
)
fcst_df = nixtla_client.forecast(df, h=24, level=[80, 90])

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

nixtla-0.5.1.tar.gz (57.0 kB view details)

Uploaded Source

Built Distribution

nixtla-0.5.1-py3-none-any.whl (71.4 kB view details)

Uploaded Python 3

File details

Details for the file nixtla-0.5.1.tar.gz.

File metadata

  • Download URL: nixtla-0.5.1.tar.gz
  • Upload date:
  • Size: 57.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for nixtla-0.5.1.tar.gz
Algorithm Hash digest
SHA256 107e2313e236fb559973c7663587ee9f9f54d6cda8758c8567811c582a85f216
MD5 e66be47c2dc82b55a089f0280e38aeb0
BLAKE2b-256 a9af74fd590d0ffd07bf629662a87a00443580fe6f7db067b91ed370bfaa476a

See more details on using hashes here.

File details

Details for the file nixtla-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: nixtla-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 71.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for nixtla-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0c335c5376b87f1cf96faf2896b3c085206f8a1fdfa6908ea5fadea8ab9b1d4f
MD5 6209797cbc880c6451dc1e78b663e5c1
BLAKE2b-256 e80b8e205da55dc7c987d04be3f0931166a3e196c17459c1fb46dcd88dcbd76f

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