vscodenb 0.1.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vscodenb-0.1.7/.devcontainer/Dockerfile +29 -0
- vscodenb-0.1.7/.devcontainer/devcontainer.json +100 -0
- vscodenb-0.1.7/.github/workflows/conda-release.yml +107 -0
- vscodenb-0.1.7/.github/workflows/pypi-release.yml +127 -0
- vscodenb-0.1.7/.github/workflows/quarto-publish.yml +68 -0
- vscodenb-0.1.7/.gitignore +146 -0
- vscodenb-0.1.7/CHANGELOG.md +0 -0
- vscodenb-0.1.7/LICENSE +674 -0
- vscodenb-0.1.7/PKG-INFO +91 -0
- vscodenb-0.1.7/README.md +66 -0
- vscodenb-0.1.7/_quarto.yml +67 -0
- vscodenb-0.1.7/conda-build/README.md +22 -0
- vscodenb-0.1.7/conda-build/build_env.yaml +7 -0
- vscodenb-0.1.7/conda-build/meta.yaml +45 -0
- vscodenb-0.1.7/docs/.gitignore +1 -0
- vscodenb-0.1.7/docs/README.md +21 -0
- vscodenb-0.1.7/docs/_extensions/machow/interlinks/.gitignore +3 -0
- vscodenb-0.1.7/docs/_extensions/machow/interlinks/_extension.yml +7 -0
- vscodenb-0.1.7/docs/_extensions/machow/interlinks/interlinks.lua +254 -0
- vscodenb-0.1.7/docs/_inv/griffe_objects.txt +6647 -0
- vscodenb-0.1.7/docs/_inv/numpy_objects.txt +8453 -0
- vscodenb-0.1.7/docs/_inv/python_objects.txt +17130 -0
- vscodenb-0.1.7/docs/_quarto.yml +103 -0
- vscodenb-0.1.7/docs/api/_sidebar.yml +12 -0
- vscodenb-0.1.7/docs/api/_styles-quartodoc.css +22 -0
- vscodenb-0.1.7/docs/api/functionname.qmd +35 -0
- vscodenb-0.1.7/docs/api/index.qmd +19 -0
- vscodenb-0.1.7/docs/api/scriptname.qmd +6 -0
- vscodenb-0.1.7/docs/autodoc.mustache +44 -0
- vscodenb-0.1.7/docs/custom.scss +4 -0
- vscodenb-0.1.7/docs/objects.txt +6 -0
- vscodenb-0.1.7/docs/pages/cpu_monitoring.ipynb +802 -0
- vscodenb-0.1.7/docs/pages/overview.ipynb +545 -0
- vscodenb-0.1.7/docs/pages/slurm_magic.ipynb +149 -0
- vscodenb-0.1.7/docs/styles.css +115 -0
- vscodenb-0.1.7/notebooks/README.md +6 -0
- vscodenb-0.1.7/notebooks/examples.ipynb +67 -0
- vscodenb-0.1.7/pyproject.toml +123 -0
- vscodenb-0.1.7/scripts/bump_changelog.py +343 -0
- vscodenb-0.1.7/scripts/bump_version.py +115 -0
- vscodenb-0.1.7/scripts/docs-build-render.sh +6 -0
- vscodenb-0.1.7/scripts/docs-run-notebooks.sh +16 -0
- vscodenb-0.1.7/scripts/github-release.sh +52 -0
- vscodenb-0.1.7/scripts/tmux-project.sh +172 -0
- vscodenb-0.1.7/setup.cfg +4 -0
- vscodenb-0.1.7/src/vscodenb/__init__.py +27 -0
- vscodenb-0.1.7/src/vscodenb/cpu_monitor.py +1883 -0
- vscodenb-0.1.7/src/vscodenb/plot_theme.py +333 -0
- vscodenb-0.1.7/src/vscodenb/progress.py +170 -0
- vscodenb-0.1.7/src/vscodenb/slurm_magic.py +487 -0
- vscodenb-0.1.7/src/vscodenb/widget_theme.py +0 -0
- vscodenb-0.1.7/src/vscodenb.egg-info/PKG-INFO +91 -0
- vscodenb-0.1.7/src/vscodenb.egg-info/SOURCES.txt +56 -0
- vscodenb-0.1.7/src/vscodenb.egg-info/dependency_links.txt +1 -0
- vscodenb-0.1.7/src/vscodenb.egg-info/requires.txt +9 -0
- vscodenb-0.1.7/src/vscodenb.egg-info/top_level.txt +1 -0
- vscodenb-0.1.7/test/__init__.py +0 -0
- vscodenb-0.1.7/test/test_modulename.py +13 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
FROM mcr.microsoft.com/devcontainers/base:jammy
|
|
2
|
+
|
|
3
|
+
# ARG PIXI_VERSION=v0.42.1
|
|
4
|
+
|
|
5
|
+
#RUN apt-get update && apt-get install -y curl
|
|
6
|
+
|
|
7
|
+
#RUN curl -fsSL https://pixi.sh/install.sh | bash
|
|
8
|
+
# RUN wget -qO- https://pixi.sh/install.sh | sh
|
|
9
|
+
|
|
10
|
+
# RUN curl -L -o /usr/local/bin/pixi -fsSL --compressed "https://github.com/prefix-dev/pixi/releases/download/${PIXI_VERSION}/pixi-$(uname -m)-unknown-linux-musl" \
|
|
11
|
+
# && chmod +x /usr/local/bin/pixi \
|
|
12
|
+
# && pixi info
|
|
13
|
+
# && chmod +x /usr/local/bin/pixi && pixi info
|
|
14
|
+
|
|
15
|
+
# set some user and workdir settings to work nicely with vscode
|
|
16
|
+
USER vscode
|
|
17
|
+
WORKDIR /home/vscode
|
|
18
|
+
|
|
19
|
+
RUN wget -qO- https://pixi.sh/install.sh | /bin/bash
|
|
20
|
+
# RUN wget -qO- https://pixi.sh/install.sh | sh
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# RUN echo 'eval "$(pixi completion -s bash)"' >> /home/vscode/.bashrc
|
|
24
|
+
# RUN echo 'eval "$(pixi shell-hook -s bash)"' >> /home/vscode/.bashrc
|
|
25
|
+
|
|
26
|
+
# # RUN --mount=type=secret,id=prefix_dev_token,uid=1000 \
|
|
27
|
+
# test -s /run/secrets/prefix_dev_token \
|
|
28
|
+
# && pixi auth login --token "$(cat /run/secrets/prefix_dev_token)" https://repo.prefix.dev
|
|
29
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"build": {
|
|
3
|
+
"dockerfile": "./Dockerfile",
|
|
4
|
+
"context": "."
|
|
5
|
+
},
|
|
6
|
+
"features": {
|
|
7
|
+
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
8
|
+
"installZsh": "true",
|
|
9
|
+
"username": "vscode",
|
|
10
|
+
"userUid": "1000",
|
|
11
|
+
"userGid": "1000",
|
|
12
|
+
"upgradePackages": "true"
|
|
13
|
+
},
|
|
14
|
+
"ghcr.io/devcontainers/features/git:1": {
|
|
15
|
+
"version": "latest",
|
|
16
|
+
"ppa": "false"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
20
|
+
// "forwardPorts": [5000, 5001],
|
|
21
|
+
// [Optional] To reuse of your local HTTPS dev cert:
|
|
22
|
+
//
|
|
23
|
+
// 1. Export it locally using this command:
|
|
24
|
+
// * Windows PowerShell:
|
|
25
|
+
// dotnet dev-certs https --trust; dotnet dev-certs https -ep "$env:USERPROFILE/.aspnet/https/aspnetapp.pfx" -p "SecurePwdGoesHere"
|
|
26
|
+
// * macOS/Linux terminal:
|
|
27
|
+
// dotnet dev-certs https --trust; dotnet dev-certs https -ep "${HOME}/.aspnet/https/aspnetapp.pfx" -p "SecurePwdGoesHere"
|
|
28
|
+
//
|
|
29
|
+
// 2. Uncomment these 'remoteEnv' lines:
|
|
30
|
+
// "remoteEnv": {
|
|
31
|
+
// "ASPNETCORE_Kestrel__Certificates__Default__Password": "SecurePwdGoesHere",
|
|
32
|
+
// "ASPNETCORE_Kestrel__Certificates__Default__Path": "/home/vscode/.aspnet/https/aspnetapp.pfx",
|
|
33
|
+
// },
|
|
34
|
+
//
|
|
35
|
+
// 3. Do one of the following depending on your scenario:
|
|
36
|
+
// * When using GitHub Codespaces and/or Remote - Containers:
|
|
37
|
+
// 1. Start the container
|
|
38
|
+
// 2. Drag ~/.aspnet/https/aspnetapp.pfx into the root of the file explorer
|
|
39
|
+
// 3. Open a terminal in VS Code and run "mkdir -p /home/vscode/.aspnet/https && mv aspnetapp.pfx /home/vscode/.aspnet/https"
|
|
40
|
+
//
|
|
41
|
+
// * If only using Remote - Containers with a local container, uncomment this line instead:
|
|
42
|
+
// "mounts": [ "source=${env:HOME}${env:USERPROFILE}/.aspnet/https,target=/home/vscode/.aspnet/https,type=bind" ],
|
|
43
|
+
// Use 'postCreateCommand' to run commands after the container is created.
|
|
44
|
+
// "postCreateCommand": "dotnet restore",
|
|
45
|
+
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
46
|
+
"remoteUser": "vscode",
|
|
47
|
+
"customizations": {
|
|
48
|
+
"vscode": {
|
|
49
|
+
"settings": {},
|
|
50
|
+
"extensions": [
|
|
51
|
+
"ms-python.python",
|
|
52
|
+
"charliermarsh.ruff",
|
|
53
|
+
"GitHub.copilot",
|
|
54
|
+
"anthropic.claude-code",
|
|
55
|
+
"ms-vscode-remote.remote-containers",
|
|
56
|
+
"ms-toolsai.jupyter",
|
|
57
|
+
"eamodio.gitlens",
|
|
58
|
+
"yzhang.markdown-all-in-one",
|
|
59
|
+
"tamasfe.even-better-toml",
|
|
60
|
+
"quarto.quarto",
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"postCreateCommand": "pixi install --locked",
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
// {
|
|
70
|
+
// "name": "my-project",
|
|
71
|
+
// "build": {
|
|
72
|
+
// "dockerfile": "Dockerfile",
|
|
73
|
+
// "context": "..",
|
|
74
|
+
// // "options": [
|
|
75
|
+
// // "--secret",
|
|
76
|
+
// // "id=prefix_dev_token,env=PREFIX_DEV_TOKEN",
|
|
77
|
+
// // ],
|
|
78
|
+
// },
|
|
79
|
+
// // "remoteUser": "vscode", // this must match the USER in the Dockerfile
|
|
80
|
+
// "customizations": {
|
|
81
|
+
// "vscode": {
|
|
82
|
+
// "settings": {},
|
|
83
|
+
// "extensions": [
|
|
84
|
+
// "ms-python.python",
|
|
85
|
+
// "charliermarsh.ruff",
|
|
86
|
+
// "GitHub.copilot",
|
|
87
|
+
// "ms-vscode-remote.remote-containers",
|
|
88
|
+
// "ms-toolsai.jupyter",
|
|
89
|
+
// "eamodio.gitlens",
|
|
90
|
+
// "yzhang.markdown-all-in-one",
|
|
91
|
+
// "tamasfe.even-better-toml",
|
|
92
|
+
// ]
|
|
93
|
+
// }
|
|
94
|
+
// },
|
|
95
|
+
// // "features": {
|
|
96
|
+
// // "ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
|
97
|
+
// // },
|
|
98
|
+
// // "mounts": ["source=${localWorkspaceFolderBasename}-pixi,target=${containerWorkspaceFolder}/.pixi,type=volume"],
|
|
99
|
+
// // "postCreateCommand": "sudo chown vscode .pixi && pixi install",
|
|
100
|
+
// }
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
name: Build and upload conda packages
|
|
2
|
+
|
|
3
|
+
# # only run when a release tag is pushed to main
|
|
4
|
+
# on:
|
|
5
|
+
# release:
|
|
6
|
+
# types:
|
|
7
|
+
# - 'released'
|
|
8
|
+
# # push:
|
|
9
|
+
# # branches:
|
|
10
|
+
# # - 'main'
|
|
11
|
+
|
|
12
|
+
# # workflow_dispatch: # Un comment line if you also want to trigger action manually
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
on:
|
|
16
|
+
push:
|
|
17
|
+
tags:
|
|
18
|
+
- v[0-9]+.[0-9]+
|
|
19
|
+
- v[0-9]+.[0-9]+.[0-9]+
|
|
20
|
+
- v[0-9]+.[0-9]+.[0-9]+.rc[0-9]+
|
|
21
|
+
|
|
22
|
+
jobs:
|
|
23
|
+
|
|
24
|
+
create_changelog_and_release_with_new_tag:
|
|
25
|
+
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
|
|
28
|
+
permissions:
|
|
29
|
+
contents: write
|
|
30
|
+
pull-requests: write
|
|
31
|
+
repository-projects: write
|
|
32
|
+
|
|
33
|
+
steps:
|
|
34
|
+
- name: Checkout Code
|
|
35
|
+
uses: actions/checkout@v3
|
|
36
|
+
|
|
37
|
+
- name: Update CHANGELOG
|
|
38
|
+
id: changelog
|
|
39
|
+
uses: requarks/changelog-action@v1
|
|
40
|
+
with:
|
|
41
|
+
token: ${{ github.token }}
|
|
42
|
+
tag: ${{ github.ref_name }}
|
|
43
|
+
includeInvalidCommits: true
|
|
44
|
+
reverseOrder: true
|
|
45
|
+
useGitmojis: false
|
|
46
|
+
excludeTypes: build,docs,other,style
|
|
47
|
+
|
|
48
|
+
- name: Create Release
|
|
49
|
+
uses: ncipollo/release-action@v1.12.0
|
|
50
|
+
with:
|
|
51
|
+
allowUpdates: true
|
|
52
|
+
draft: false
|
|
53
|
+
makeLatest: true
|
|
54
|
+
name: ${{ github.ref_name }}
|
|
55
|
+
body: ${{ steps.changelog.outputs.changes }}
|
|
56
|
+
token: ${{ github.token }}
|
|
57
|
+
|
|
58
|
+
- name: Commit CHANGELOG.md
|
|
59
|
+
uses: stefanzweifel/git-auto-commit-action@v4
|
|
60
|
+
with:
|
|
61
|
+
branch: main
|
|
62
|
+
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
|
|
63
|
+
file_pattern: CHANGELOG.md
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
conda_deployment_with_new_tag:
|
|
67
|
+
|
|
68
|
+
name: Conda deployment of package for platform ${{ matrix.os }}
|
|
69
|
+
runs-on: ${{ matrix.os }}
|
|
70
|
+
strategy:
|
|
71
|
+
matrix:
|
|
72
|
+
# os: [ubuntu-latest, windows-latest]
|
|
73
|
+
# os: [macOS-latest, macos-13, ubuntu-latest]
|
|
74
|
+
# os: [macOS-latest, macos-13, ubuntu-latest, windows-latest]
|
|
75
|
+
os: [macOS-latest, ubuntu-latest]
|
|
76
|
+
|
|
77
|
+
steps:
|
|
78
|
+
- uses: actions/checkout@v3
|
|
79
|
+
|
|
80
|
+
- name: Conda environment creation and activation
|
|
81
|
+
uses: conda-incubator/setup-miniconda@v3
|
|
82
|
+
with:
|
|
83
|
+
miniconda-version: "latest"
|
|
84
|
+
environment-file: conda-build/build_env.yaml
|
|
85
|
+
auto-update-conda: false
|
|
86
|
+
auto-activate-base: false
|
|
87
|
+
show-channel-urls: true
|
|
88
|
+
|
|
89
|
+
# - name: Install dependencies
|
|
90
|
+
# run: |
|
|
91
|
+
# pip install --upgrade pip
|
|
92
|
+
# pip install -r requirements.txt
|
|
93
|
+
|
|
94
|
+
# - name: Test with pytest
|
|
95
|
+
# run: |
|
|
96
|
+
# pip install pytest
|
|
97
|
+
# pytest test
|
|
98
|
+
|
|
99
|
+
- name: Build and upload the conda packages
|
|
100
|
+
uses: munch-group/action-conda-build-upload@v0.1.26
|
|
101
|
+
with:
|
|
102
|
+
meta_yaml_dir: conda-build
|
|
103
|
+
user: munch-group
|
|
104
|
+
# label: auto
|
|
105
|
+
token: ${{ secrets.ANACONDA_TOKEN }}
|
|
106
|
+
overwrite: true
|
|
107
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
name: Build and upload pypi packages
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
# release:
|
|
6
|
+
# types:
|
|
7
|
+
# - 'released'
|
|
8
|
+
# branches:
|
|
9
|
+
# - 'main'
|
|
10
|
+
tags:
|
|
11
|
+
- v[0-9]+.[0-9]+
|
|
12
|
+
- v[0-9]+.[0-9]+.[0-9]+
|
|
13
|
+
- v[0-9]+.[0-9]+.[0-9]+.rc[0-9]+
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
build-sdist:
|
|
17
|
+
name: Build source distribution
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
with:
|
|
23
|
+
persist-credentials: false
|
|
24
|
+
- name: Set up Python
|
|
25
|
+
uses: actions/setup-python@v5
|
|
26
|
+
with:
|
|
27
|
+
python-version: "3.x"
|
|
28
|
+
|
|
29
|
+
- name: Install build
|
|
30
|
+
run: python3 -m pip install build
|
|
31
|
+
|
|
32
|
+
- name: Build source tarball
|
|
33
|
+
run: python3 -m build --sdist
|
|
34
|
+
|
|
35
|
+
- name: Store the source distribution
|
|
36
|
+
uses: actions/upload-artifact@v4
|
|
37
|
+
with:
|
|
38
|
+
name: python-sdist
|
|
39
|
+
path: dist/*.tar.gz
|
|
40
|
+
|
|
41
|
+
build-wheels:
|
|
42
|
+
name: Build universal wheel
|
|
43
|
+
runs-on: ubuntu-latest
|
|
44
|
+
|
|
45
|
+
steps:
|
|
46
|
+
- uses: actions/checkout@v4
|
|
47
|
+
with:
|
|
48
|
+
persist-credentials: false
|
|
49
|
+
|
|
50
|
+
- name: Set up Python
|
|
51
|
+
uses: actions/setup-python@v5
|
|
52
|
+
with:
|
|
53
|
+
python-version: "3.x"
|
|
54
|
+
|
|
55
|
+
- name: Install build
|
|
56
|
+
run: python3 -m pip install build
|
|
57
|
+
|
|
58
|
+
- name: Build wheel
|
|
59
|
+
run: python3 -m build --wheel
|
|
60
|
+
|
|
61
|
+
- name: Store the wheel
|
|
62
|
+
uses: actions/upload-artifact@v4
|
|
63
|
+
with:
|
|
64
|
+
name: python-wheels
|
|
65
|
+
path: dist/*.whl
|
|
66
|
+
|
|
67
|
+
# Uncomment this job if you add compiled extensions to your package
|
|
68
|
+
# build-wheels-multiplatform:
|
|
69
|
+
# name: Build wheels on ${{ matrix.os }}
|
|
70
|
+
# runs-on: ${{ matrix.os }}
|
|
71
|
+
# strategy:
|
|
72
|
+
# matrix:
|
|
73
|
+
# os: [ubuntu-latest, macos-14, windows-latest]
|
|
74
|
+
#
|
|
75
|
+
# steps:
|
|
76
|
+
# - uses: actions/checkout@v4
|
|
77
|
+
# with:
|
|
78
|
+
# persist-credentials: false
|
|
79
|
+
#
|
|
80
|
+
# # Set up QEMU for ARM64 Linux builds
|
|
81
|
+
# - name: Set up QEMU
|
|
82
|
+
# if: runner.os == 'Linux'
|
|
83
|
+
# uses: docker/setup-qemu-action@v3
|
|
84
|
+
# with:
|
|
85
|
+
# platforms: arm64
|
|
86
|
+
#
|
|
87
|
+
# - name: Build wheels
|
|
88
|
+
# uses: pypa/cibuildwheel@v2.22
|
|
89
|
+
# env:
|
|
90
|
+
# CIBW_BUILD: cp39-* cp310-* cp311-* cp312-* cp313-*
|
|
91
|
+
# # Skip musllinux (not commonly needed) and 32-bit builds
|
|
92
|
+
# CIBW_SKIP: "*-musllinux_* *-win32 *-manylinux_i686"
|
|
93
|
+
# # Build ARM64 wheels on Linux using QEMU
|
|
94
|
+
# CIBW_ARCHS_LINUX: x86_64 aarch64
|
|
95
|
+
# # macOS: macos-13 builds x86_64 ONLY, macos-14 builds arm64 ONLY
|
|
96
|
+
# CIBW_ARCHS_MACOS: ${{ matrix.os == 'macos-14' && 'arm64' || 'x86_64' }}
|
|
97
|
+
# # Windows: only x86_64 (most common)
|
|
98
|
+
# CIBW_ARCHS_WINDOWS: AMD64
|
|
99
|
+
#
|
|
100
|
+
# - name: Store the wheels
|
|
101
|
+
# uses: actions/upload-artifact@v4
|
|
102
|
+
# with:
|
|
103
|
+
# name: python-wheels-${{ matrix.os }}
|
|
104
|
+
# path: wheelhouse/*.whl
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
publish-to-pypi:
|
|
108
|
+
name: Publish Python distribution to PyPI
|
|
109
|
+
needs:
|
|
110
|
+
- build-sdist
|
|
111
|
+
- build-wheels
|
|
112
|
+
runs-on: ubuntu-latest
|
|
113
|
+
|
|
114
|
+
steps:
|
|
115
|
+
- name: Download all artifacts
|
|
116
|
+
uses: actions/download-artifact@v4
|
|
117
|
+
with:
|
|
118
|
+
path: dist/
|
|
119
|
+
pattern: python-*
|
|
120
|
+
merge-multiple: true
|
|
121
|
+
|
|
122
|
+
- name: Publish distribution to PyPI
|
|
123
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
124
|
+
with:
|
|
125
|
+
user: __token__
|
|
126
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
127
|
+
skip-existing: true
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
on:
|
|
2
|
+
push:
|
|
3
|
+
branches:
|
|
4
|
+
- master
|
|
5
|
+
|
|
6
|
+
name: Render and Publish
|
|
7
|
+
|
|
8
|
+
# you need these permissions to publish to GitHub pages
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
pages: write
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
build-deploy:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- name: Check out repository
|
|
19
|
+
uses: actions/checkout@v4
|
|
20
|
+
|
|
21
|
+
- uses: actions/setup-python@v4
|
|
22
|
+
with:
|
|
23
|
+
python-version: '3.x'
|
|
24
|
+
- run: pip install jupyter #pandas pyyaml tabulate pycryptodome>3.10 pbkdf2 cryptography
|
|
25
|
+
|
|
26
|
+
# - uses: r-lib/actions/setup-r@v2
|
|
27
|
+
# - uses: r-lib/actions/setup-r-dependencies@v2
|
|
28
|
+
# with:
|
|
29
|
+
# packages: |
|
|
30
|
+
# any::downloadthis
|
|
31
|
+
# # extra-packages: |
|
|
32
|
+
# # any::downloadthis
|
|
33
|
+
|
|
34
|
+
- name: Set up Quarto
|
|
35
|
+
uses: quarto-dev/quarto-actions/setup@v2
|
|
36
|
+
with:
|
|
37
|
+
# To install LaTeX to build PDF book
|
|
38
|
+
tinytex: true
|
|
39
|
+
# uncomment below and fill to pin a version
|
|
40
|
+
# version: SPECIFIC-QUARTO-VERSION-HERE
|
|
41
|
+
|
|
42
|
+
- name: Render Quarto Project - default profile
|
|
43
|
+
uses: quarto-dev/quarto-actions/render@v2
|
|
44
|
+
env:
|
|
45
|
+
QUARTO_PROFILE: default
|
|
46
|
+
with:
|
|
47
|
+
path: docs
|
|
48
|
+
to: html
|
|
49
|
+
|
|
50
|
+
# - name: Render Quarto Project - draft profile
|
|
51
|
+
# uses: quarto-dev/quarto-actions/render@v2
|
|
52
|
+
# env:
|
|
53
|
+
# QUARTO_PROFILE: slides
|
|
54
|
+
# with:
|
|
55
|
+
# path: .
|
|
56
|
+
# to: html
|
|
57
|
+
|
|
58
|
+
- name: Publish to GitHub Pages
|
|
59
|
+
uses: quarto-dev/quarto-actions/publish@v2
|
|
60
|
+
with:
|
|
61
|
+
target: gh-pages
|
|
62
|
+
path: docs
|
|
63
|
+
env:
|
|
64
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions
|
|
65
|
+
|
|
66
|
+
permissions:
|
|
67
|
+
contents: write
|
|
68
|
+
# pages: write
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
pip-wheel-metadata/
|
|
24
|
+
share/python-wheels/
|
|
25
|
+
*.egg-info/
|
|
26
|
+
.installed.cfg
|
|
27
|
+
*.egg
|
|
28
|
+
MANIFEST
|
|
29
|
+
|
|
30
|
+
# PyInstaller
|
|
31
|
+
# Usually these files are written by a python script from a template
|
|
32
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
33
|
+
*.manifest
|
|
34
|
+
*.spec
|
|
35
|
+
|
|
36
|
+
# Installer logs
|
|
37
|
+
pip-log.txt
|
|
38
|
+
pip-delete-this-directory.txt
|
|
39
|
+
|
|
40
|
+
# Unit test / coverage reports
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.nox/
|
|
44
|
+
.coverage
|
|
45
|
+
.coverage.*
|
|
46
|
+
.cache
|
|
47
|
+
nosetests.xml
|
|
48
|
+
coverage.xml
|
|
49
|
+
*.cover
|
|
50
|
+
*.py,cover
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
target/
|
|
76
|
+
|
|
77
|
+
# Jupyter Notebook
|
|
78
|
+
.ipynb_checkpoints
|
|
79
|
+
|
|
80
|
+
# IPython
|
|
81
|
+
profile_default/
|
|
82
|
+
ipython_config.py
|
|
83
|
+
|
|
84
|
+
# pyenv
|
|
85
|
+
.python-version
|
|
86
|
+
|
|
87
|
+
# pipenv
|
|
88
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
89
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
90
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
91
|
+
# install all needed dependencies.
|
|
92
|
+
#Pipfile.lock
|
|
93
|
+
|
|
94
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
95
|
+
__pypackages__/
|
|
96
|
+
|
|
97
|
+
# Celery stuff
|
|
98
|
+
celerybeat-schedule
|
|
99
|
+
celerybeat.pid
|
|
100
|
+
|
|
101
|
+
# SageMath parsed files
|
|
102
|
+
*.sage.py
|
|
103
|
+
|
|
104
|
+
# Environments
|
|
105
|
+
.env
|
|
106
|
+
.venv
|
|
107
|
+
env/
|
|
108
|
+
venv/
|
|
109
|
+
ENV/
|
|
110
|
+
env.bak/
|
|
111
|
+
venv.bak/
|
|
112
|
+
|
|
113
|
+
# Spyder project settings
|
|
114
|
+
.spyderproject
|
|
115
|
+
.spyproject
|
|
116
|
+
|
|
117
|
+
# Rope project settings
|
|
118
|
+
.ropeproject
|
|
119
|
+
|
|
120
|
+
# mkdocs documentation
|
|
121
|
+
/site
|
|
122
|
+
|
|
123
|
+
# mypy
|
|
124
|
+
.mypy_cache/
|
|
125
|
+
.dmypy.json
|
|
126
|
+
dmypy.json
|
|
127
|
+
|
|
128
|
+
# Pyre type checker
|
|
129
|
+
.pyre/
|
|
130
|
+
|
|
131
|
+
steps
|
|
132
|
+
|
|
133
|
+
/.quarto/
|
|
134
|
+
_book/
|
|
135
|
+
|
|
136
|
+
# apple double files
|
|
137
|
+
._*
|
|
138
|
+
|
|
139
|
+
# Pixi
|
|
140
|
+
.pixi/
|
|
141
|
+
pixi.lock
|
|
142
|
+
|
|
143
|
+
.claude-uuid
|
|
144
|
+
|
|
145
|
+
.DS_Store
|
|
146
|
+
|
|
File without changes
|