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.4.0

🎈 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.0.tar.gz (57.0 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nixtla-0.5.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ae435f3ce7d60fde8fb843536b85f5ec49e0f7e4bb88ea917f7f2a885d3e336d
MD5 1e6780ab362bf70b3799d4738e0ddf85
BLAKE2b-256 220ab6e48a95f912787ec9f538c9786cc78c8e80446c8f84cb95bbdc741f11e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nixtla-0.5.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17de045b45cab4d95c4e29f4a46b7590cdc67c33796e1855fbd4b78448d03f73
MD5 0fd63114dc85e0763e36b2153a4522a1
BLAKE2b-256 a42493171b5301bbfc3d1591330f741f2b00f64edf0a75cea8f442e7eacc8d0b

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