Skip to main content

tsl: a PyTorch library for spatiotemporal data processing

tsl (Torch Spatiotemporal) is a library built to accelerate research on neural spatiotemporal data processing methods, with a focus on Graph Neural Networks.

tsl is built on several libraries of the Python scientific computing ecosystem, with the final objective of providing a straightforward process that goes from data preprocessing to model prototyping. In particular, tsl offers a wide range of utilities to develop neural networks in PyTorch for processing spatiotemporal data signals.

Installation

tsl is compatible with Python>=3.7. We recommend installation from source to be up-to-date with the latest version:

git clone https://github.com/TorchSpatiotemporal/tsl.git
cd tsl
python setup.py install  # Or 'pip install .'

To solve all dependencies, we recommend using Anaconda and the provided environment configuration by running the command:

conda env create -f tsl_env.yml

Alternatively, you can install the library from pip:

pip install torch-spatiotemporal

Please refer to PyG installation guidelines for installation of PyG ecosystem without conda.

Tutorial

The best way to start using tsl is by following the tutorial notebook in examples/notebooks/a_gentle_introduction_to_tsl.ipynb.

Documentation

The documentation is hosted on readthedocs. For local access, you can build it from the docs directory.

Credits

Andrea Cini, Ivan Marisca

Metadata

Release files for torch-spatiotemporal 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for torch-spatiotemporal 0.1.1
File Size Uploaded
torch_spatiotemporal-0.1.1.tar.gz 107.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for torch-spatiotemporal 0.1.1
File Interpreter ABI Platform
torch_spatiotemporal-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 263.9 kB

Release files / torch_spatiotemporal-0.1.1.tar.gz

Download URL torch_spatiotemporal-0.1.1.tar.gz
Size 107.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ab7c3f2e0209762b7784737ebdb13877ce2375854e64d297cb7607688be99df6
BLAKE2b-256 checksum
How to use checksums
4f7f0c918a332e17578733c8c538763127c694adc2208110b9e53b45ef670bae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.12

Release files / torch_spatiotemporal-0.1.1-py3-none-any.whl

Download URL torch_spatiotemporal-0.1.1-py3-none-any.whl
Size 156.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e88067b6fc184a7912b8c7f9802ef455cd2d463ce2323f3def65a1ccceb6cf9
BLAKE2b-256 checksum
How to use checksums
62654799acf0343c1d2cd60ba44bc34df68aa62a30899f91e8480cc0453d6e79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.12

Release history Release notifications | RSS feed

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

1 release file

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page