Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert tsfeatures lib to nbdev framework #39

Open
wants to merge 53 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
8f0c1cc
convert lib to nbdev
jope35 Jan 4, 2024
61112fc
remove pre-commit and .ruff
jope35 Jan 10, 2024
a8d3b1e
update lincense
jope35 Jan 10, 2024
527f3d9
restore .github folder
jope35 Jan 10, 2024
3dd8d5f
remove ruff and pre-commit from dev reqs and add ryp2
jope35 Jan 10, 2024
5e03313
restore setup.py
jope35 Jan 10, 2024
2101882
restore .gitignore
jope35 Jan 10, 2024
528b541
create nbdev specific .gitconfig and .gitattributes
jope35 Jan 10, 2024
846508e
remove *.ipynb from gitignore
jope35 Jan 17, 2024
bf80383
align settings and setup
jope35 Jan 17, 2024
ed0266f
refactor: Restructure notebooks and utils
jope35 Jan 17, 2024
ddabac9
update settings with nixtla user
jope35 Jan 17, 2024
5d420e0
merged core and featrues into one notebook
jope35 Feb 4, 2024
5fe9589
descriptive stats on cluster results
jope35 Feb 9, 2024
cb60c1b
add github action for testing
jope35 Feb 9, 2024
c0eb867
modified setup
jope35 Feb 9, 2024
0135e1b
include a pip reqs file
jope35 Feb 9, 2024
2dd6a65
exclude rpy2
jope35 Feb 9, 2024
e9c1b94
run nbdev_export
jope35 Feb 9, 2024
29c2a98
incorporate pr feedback
jope35 Feb 19, 2024
022858c
adding shields
jope35 Feb 21, 2024
be7efc9
only run on ubuntu
jope35 Feb 21, 2024
74bf82f
explicit ci steps to install nbdev, move test features
jope35 Feb 21, 2024
b7b671f
ci mod
jope35 Feb 21, 2024
424331c
no pip cache
jope35 Feb 21, 2024
cbdb352
add import stmt
jope35 Feb 21, 2024
3a57f9c
add star import
jope35 Feb 21, 2024
2968544
small cleanup
jope35 Feb 24, 2024
5245275
cleanup notebooks
jope35 Feb 29, 2024
00de734
add os to runs-on
jope35 Feb 29, 2024
28f400d
change order of runs-on
jope35 Feb 29, 2024
4cd2e2c
matrix python version and os
jope35 Feb 29, 2024
cf77218
optimize ci file
jope35 Feb 29, 2024
824d7ce
no cache
jope35 Feb 29, 2024
88ae6b7
include tests and R CI
jope35 Apr 19, 2024
8704297
update readme
jope35 Apr 19, 2024
22a1767
alter rpy2 version
jope35 Apr 19, 2024
02f1a6b
debug R install
jope35 Apr 19, 2024
936f0ec
more debug
jope35 Apr 19, 2024
d679122
more debug2
jope35 Apr 19, 2024
80f5d96
one string
jope35 Apr 19, 2024
bff351c
asdf
jope35 Apr 19, 2024
8b9a01f
alter rpy2 version
jope35 Apr 19, 2024
9409776
update R version
jope35 Apr 19, 2024
7e92696
exclude the R dependency
jope35 Apr 19, 2024
00a9b9d
other R settings
jope35 Apr 23, 2024
b437028
explicit PATH
jope35 Apr 23, 2024
903876d
echo rhome
jope35 Apr 23, 2024
523ccf5
export R functions
jope35 Apr 23, 2024
d3c4324
include ubuntu
jope35 Apr 23, 2024
233ea75
include fastcore explicitly as a dev dep
jope35 Apr 23, 2024
180136a
no parallel
jope35 Apr 23, 2024
dbd5047
Merge branch 'main' into main
jope35 Apr 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.ipynb merge=nbdev-merge
11 changes: 11 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Generated by nbdev_install_hooks
#
# If you need to disable this instrumentation do:
# git config --local --unset include.path
#
# To restore:
# git config --local include.path ../.gitconfig
#
[merge "nbdev-merge"]
name = resolve conflicts with nbdev_fix
driver = nbdev_merge %O %A %B %P
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

defaults:
run:
shell: bash -l {0}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Clone repo
uses: actions/checkout@v3

- name: Set up environment
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install nbdev
run: pip install nbdev

- name: Install the library
run: pip install ".[dev]"

- name: Run tests
run: nbdev_test --do_print --timing
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,6 @@ Untitle*.ipynb

#files
*.csv
*.ipynb


_proc
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include settings.ini
include LICENSE
include CONTRIBUTING.md
include README.md
recursive-exclude * __pycache__
251 changes: 183 additions & 68 deletions README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions nbs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.quarto/
20 changes: 20 additions & 0 deletions nbs/_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
project:
type: website

format:
html:
theme: cosmo
css: styles.css
toc: true

website:
twitter-card: true
open-graph: true
repo-actions: [issue]
navbar:
background: primary
search: true
sidebar:
style: floating

metadata-files: [nbdev.yml, sidebar.yml]