Skip to content

Commit b5d7936

Browse files
committed
release: v0.1.1
1 parent 9447519 commit b5d7936

3 files changed

Lines changed: 44 additions & 6 deletions

File tree

Makefile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Makefile for publishing timecopilot-tirex to PyPI
2+
3+
# Python version to test with
4+
PYTHON_VERSION = 3.13
5+
6+
# Import statement to test
7+
IMPORT_STATEMENT = from tirex import load_model
8+
9+
# Build the wheel and sdist
10+
build:
11+
uv build
12+
13+
# Test importing from built wheel
14+
test-wheel:
15+
uv run --isolated --no-project -p $(PYTHON_VERSION) --with dist/*.whl -- python -c "$(IMPORT_STATEMENT)"
16+
17+
# Test importing from built sdist
18+
test-sdist:
19+
uv run --isolated --no-project -p $(PYTHON_VERSION) --with dist/*.tar.gz -- python -c "$(IMPORT_STATEMENT)"
20+
21+
# Publish the package to PyPI using trusted publishing
22+
publish:
23+
uv publish
24+
25+
# Test importing from the installed package after publishing
26+
after-publish-test:
27+
uv run --isolated --no-project -p $(PYTHON_VERSION) --with timecopilot-tirex -- python -c "$(IMPORT_STATEMENT)"
28+
29+
# All steps
30+
release: build test-wheel test-sdist publish after-publish-test

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Disclaimer
2+
3+
> This is a personal fork of [tirex](https://github.com/NX-AI/tirex), maintained to support custom changes for [timecopilot](https://github.com/AzulGarza/TimeCopilot/) and publish pypi wheels at [`timecopilot-tirex`](https://pypi.org/project/timecopilot-tirex/). It may diverge from upstream.
4+
5+
## Credits
6+
7+
This project is a fork of by Original Author(s).
8+
All credit for the original code belongs to them. This fork is maintained independently to support TimeCopilot-specific changes.
9+
10+
111
<div align="center">
212

313
# TiRex: Zero-Shot Forecasting across Long and Short Horizons

pyproject.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
[project]
2-
name = "tirex-ts"
3-
version = "1.4.2"
4-
authors = [
5-
{ name="Andreas Auer", email="andreas.auer@nx-ai.com" },
6-
{ name="Martin Loretz", email="martin.loretz@nx-ai.com" },
7-
]
2+
name = "timecopilot-tirex"
3+
version = "0.1.1"
84
description = "A pre-trained Time Series Forecasting Model based on xLSTM supporting zero-shot forecasting"
95
readme = "README.md"
106
license = {file="LICENSE"}
@@ -16,6 +12,8 @@ classifiers = [
1612
keywords = ["TiRex", "xLSTM", "Timeseries", "Zero-shot", "Deep Learning", "Timeseries-Forecasting" ,"Timeseries-Classification", "Timeseries-Regression"]
1713
dependencies = [
1814
"torch",
15+
"xlstm",
16+
"ninja",
1917
"huggingface-hub",
2018
"numpy",
2119
"scikit-learn"

0 commit comments

Comments
 (0)