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

nixtlats-0.5.1.tar.gz (57.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nixtlats-0.5.1-py3-none-any.whl (71.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nixtlats-0.5.1.tar.gz
Algorithm Hash digest
SHA256 364a87ca0fc5d20a03992403d684d7918079bad12bf9efe4b9ef94bba2c5e14e
MD5 a6a685f69c8809251e03d2f0ccc5c096
BLAKE2b-256 53214e5fb8d9396d6e361181cd336d44c4263ee4a12bf448637af20e4efa4da8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nixtlats-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0265d0f94bf9ace506999e2cbf7560179944357c3ecf98ecb6efa5c41f9973cc
MD5 5185237830ba64a9b6a40a37317e51a4
BLAKE2b-256 206019e15c05c65845f4cb28c486999feed9cb1559df51c52243959e9cf8e434

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page