Skip to content

Commit fe0e361

Browse files
rename
1 parent 8f529f8 commit fe0e361

File tree

15 files changed

+39
-41
lines changed

15 files changed

+39
-41
lines changed

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[run]
22
branch = True
3-
source = tsml_subpackage_template
3+
source = tsml
44
parallel = True

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ jobs:
8282

8383
- if: matrix.os == 'windows-latest'
8484
name: Windows wheel filename
85-
run: echo "WHEELNAME=$(ls ./dist/tsml_subpackage_template-*-none-any.whl)" >> $env:GITHUB_ENV
85+
run: echo "WHEELNAME=$(ls ./dist/tsml-*-none-any.whl)" >> $env:GITHUB_ENV
8686
- if: matrix.os != 'windows-latest'
8787
name: Unix wheel filename
88-
run: echo "WHEELNAME=$(ls ./dist/tsml_subpackage_template-*-none-any.whl)" >> $GITHUB_ENV
88+
run: echo "WHEELNAME=$(ls ./dist/tsml-*-none-any.whl)" >> $GITHUB_ENV
8989

9090
- if: matrix.os == 'windows-latest'
9191
name: Windows install

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
recursive-include tsml_subpackage_template *.py
1+
recursive-include tsml *.py
22
include LICENSE

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# tsmlPy-subpackage-template
1+
# tsml
22

3-
A template package for other tsmlPy subpackages using the sktime toolkit.
3+
A toolkit for time series machine learning algorithms
44

55
This work is supported by the UK Engineering and Physical Sciences Research Council (EPSRC) EP/W030756/1

docs/api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ API
55

66
Auto-generated API documentation.
77

8-
Package: tsml_subpackage_template.package
8+
Package: tsml.package
99
-----------------------------------------
1010

1111
Example package function.
1212

13-
.. currentmodule:: tsml_subpackage_template.package
13+
.. currentmodule:: tsml.package
1414

1515
.. autosummary::
1616
:toctree: auto_generated/

docs/conf.py

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# -*- coding: utf-8 -*-
22
"""Configuration file for the Sphinx documentation builder."""
33

4-
# tsml-subpackage-template documentation master file, created by
4+
# tsml documentation master file, created by
55
# sphinx-quickstart on Wed Dec 14 00:20:27 2022.
66

77
import inspect
88
import os
99
import sys
1010

11-
import tsml_subpackage_template
11+
import tsml
1212

1313
# The version info for the project you're documenting, acts as replacement for
1414
# |version| and |release|, also used in various other places throughout the
1515
# built documents.
1616

17-
version = tsml_subpackage_template.__version__
18-
release = tsml_subpackage_template.__version__
17+
version = tsml.__version__
18+
release = tsml.__version__
1919

2020
github_tag = f"v{version}"
2121

@@ -37,7 +37,7 @@
3737
# -- Project information -----------------------------------------------------
3838
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
3939

40-
project = "tsml-subpackage-template"
40+
project = "tsml"
4141
copyright = "2022 - 2023, The tsml developers (BSD-3 License)"
4242
author = "Matthew Middlehurst"
4343

@@ -87,8 +87,8 @@
8787

8888
# add link to original notebook at the bottom and add Binder launch button
8989
# points to latest stable release, not main
90-
notebook_url = f"https://github.com/time-series-machine-learning/tsml-subpackage-template/tree/{github_tag}/{current_file}" # noqa
91-
binder_url = f"https://mybinder.org/v2/gh/time-series-machine-learning/tsml-subpackage-template/{github_tag}?filepath={current_file}" # noqa
90+
notebook_url = f"https://github.com/time-series-machine-learning/tsml-py/tree/{github_tag}/{current_file}" # noqa
91+
binder_url = f"https://mybinder.org/v2/gh/time-series-machine-learning/tsml-py/{github_tag}?filepath={current_file}" # noqa
9292
nbsphinx_epilog = f"""
9393
----
9494
@@ -120,24 +120,18 @@ def find_source():
120120
obj = getattr(obj, part)
121121

122122
fn = inspect.getsourcefile(obj)
123-
fn = os.path.relpath(
124-
fn, start=os.path.dirname(tsml_subpackage_template.__file__)
125-
)
123+
fn = os.path.relpath(fn, start=os.path.dirname(tsml.__file__))
126124
source, lineno = inspect.getsourcelines(obj)
127125
return fn, lineno, lineno + len(source) - 1
128126

129127
if domain != "py" or not info["module"]:
130128
return None
131129
try:
132-
filename = "tsml_subpackage_template/%s#L%d-L%d" % find_source()
130+
filename = "tsml/%s#L%d-L%d" % find_source()
133131
except Exception:
134132
filename = info["module"].replace(".", "/") + ".py"
135133

136-
return (
137-
"https://github.com/time-series-machine-learning/"
138-
+ "tsml-subpackage-template/blob/%s/%s"
139-
% (
140-
version,
141-
filename,
142-
)
134+
return "https://github.com/time-series-machine-learning/tsml-py/blob/%s/%s" % (
135+
version,
136+
filename,
143137
)

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.. _index:
22

3-
tsml-subpackage-template's documentation
3+
tsml's documentation
44
========================================
55

6-
Example documentation for a tsml subpackage.
6+
Example documentation for tsml.
77

88
.. grid:: 1 2 2 2
99
:gutter: 3

pyproject.toml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ requires = ["setuptools>=61", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "tsml-subpackage-template"
7-
version = "0.0.0"
8-
description = "A template for tsml subpackages."
6+
name = "tsml"
7+
version = "0.0.1"
8+
description = "A toolkit for time series machine learning algorithms."
99
authors = [
1010
{name = "Matthew Middlehurst", email = "m.middlehurst@uea.ac.uk"},
1111
{name = "Tony Bagnall", email = "ajb@uea.ac.uk"},
@@ -15,7 +15,11 @@ requires-python = ">=3.8,<3.11"
1515
keywords = [
1616
"data-science",
1717
"machine-learning",
18+
"scikit-learn",
1819
"time-series",
20+
"time-series-classification",
21+
"time-series-regression",
22+
"time-series-clustering",
1923
]
2024
classifiers = [
2125
"Intended Audience :: Science/Research",
@@ -31,7 +35,7 @@ classifiers = [
3135
"Programming Language :: Python :: 3.10",
3236
]
3337
dependencies = [
34-
"tsml",
38+
"scikit-learn",
3539
]
3640

3741
[project.optional-dependencies]
@@ -55,13 +59,13 @@ docs = [
5559

5660
[project.urls]
5761
homepage = "https://www.timeseriesclassification.com/"
58-
repository = "https://github.com/time-series-machine-learning/tsml-subpackage-template/"
62+
repository = "https://github.com/time-series-machine-learning/tsml-py/"
5963

6064
[project.license]
6165
file = "LICENSE"
6266

6367
[tool.setuptools.packages.find]
64-
include = ["tsml_subpackage_template"]
68+
include = ["tsml"]
6569

6670
[tool.check-manifest]
6771
ignore = [
@@ -84,6 +88,6 @@ addopts = '''
8488
--showlocals
8589
--doctest-modules
8690
--numprocesses auto
87-
--cov tsml_subpackage_template
91+
--cov tsml
8892
--cov-report xml
8993
'''

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tsml
1+
scikit-learn

tsml/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# -*- coding: utf-8 -*-
2+
"""tsml."""
3+
4+
__version__ = "0.0.1"

0 commit comments

Comments
 (0)