gluonts

(★ 5,227)

Probabilistic time series modeling in Python

File Explorer

  • .dockerignore
  • .gitattributes
  • .gitignore
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • dev_setup.sh
  • Justfile
  • LICENSE
  • NOTICE
  • pyproject.toml
  • README.md
  • REFERENCES.md

# Installation Guide

python
Prerequisites

Setup Steps

git clone https://github.com/awslabs/gluonts.git

Clone the repository locally.

cd gluonts

Change directory to the project folder.

uv sync --all-extras

Sync packages including all development dependencies.

Key Commands

uv pip install "gluonts[torch]"

Install GluonTS with PyTorch model support.

uv sync --all-extras

Set up the environment with all development dependencies.

Python versions 3.10 to 3.14 are recommended.

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

pip install

View Details ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

pip

View Details ▼

Python package manager.
Some subcommands such as `install` have their own usage documentation.

pip install {{package}}

Install a package (see `pip install` for more install examples):

pip install --user {{package}}

Install a package to the user's directory instead of the system-wide default location:

pip install {{[-U|--upgrade]}} {{package}}

Upgrade a package:

🔍

uv pip

View Details ▼

Provides pip-like commands for installing, uninstalling, and managing packages.

uv pip install {{package}}

Install a package:

uv pip install {{[-r|--requirements]}} {{requirements.txt}}

Install packages from a requirements file:

uv pip install {{package==1.2.3}}

Install a package with a specific version:

🔍

uv sync

View Details ▼

Update the project's environment to match the lockfile.

uv sync

Sync the project environment with the lockfile:

uv sync --all-extras

Sync and include all optional dependencies:

uv sync --extra {{extra_name}}

Sync with specific optional dependencies:

# Project Badges

// repository documentation