Compare commits
96 Commits
pre-commit
...
main
| Author | SHA1 | Date |
|---|---|---|
|
|
472ee5d01b | 3 weeks ago |
|
|
42ccc58dca | 3 weeks ago |
|
|
e54ce8ef6d | 4 weeks ago |
|
|
9836de423c | 1 month ago |
|
|
e7f5e5d50e | 1 month ago |
|
|
f0e7469483 | 1 month ago |
|
|
09f0f85e63 | 1 month ago |
|
|
fccf56801b | 1 month ago |
|
|
22183446df | 1 month ago |
|
|
1003f68930 | 1 month ago |
|
|
a5c9c9399d | 1 month ago |
|
|
18411e8532 | 1 month ago |
|
|
5bb41ae47c | 1 month ago |
|
|
b45653f564 | 2 months ago |
|
|
be53ec8bc9 | 2 months ago |
|
|
7362e529a8 | 2 months ago |
|
|
1f8c7cd491 | 2 months ago |
|
|
9c6ee5d5f9 | 2 months ago |
|
|
6923a84908 | 2 months ago |
|
|
7533ccab5e | 2 months ago |
|
|
04bd4bc6f6 | 2 months ago |
|
|
05dad4f597 | 2 months ago |
|
|
165e3cdf76 | 2 months ago |
|
|
7a960ab236 | 3 months ago |
|
|
18ba796a58 | 3 months ago |
|
|
fd9c4b4427 | 3 months ago |
|
|
7f84b95ed6 | 3 months ago |
|
|
0201906757 | 3 months ago |
|
|
37ad3c4723 | 3 months ago |
|
|
79ad725908 | 4 months ago |
|
|
828708ec26 | 4 months ago |
|
|
2e88202c8f | 4 months ago |
|
|
efdef40919 | 4 months ago |
|
|
254b06ca4b | 4 months ago |
|
|
0af6834093 | 4 months ago |
|
|
c0d3e8b4d6 | 4 months ago |
|
|
9c5a275376 | 4 months ago |
|
|
357229deac | 5 months ago |
|
|
346e30dec4 | 5 months ago |
|
|
a8a8111d59 | 5 months ago |
|
|
5a845dcde0 | 5 months ago |
|
|
0e4fdd1941 | 5 months ago |
|
|
3100d879bf | 5 months ago |
|
|
629e63445e | 5 months ago |
|
|
8f91eddf56 | 5 months ago |
|
|
f56a27c17b | 5 months ago |
|
|
6caeba2b22 | 6 months ago |
|
|
a82eeba22b | 6 months ago |
|
|
b99d42fd77 | 7 months ago |
|
|
df09eaeb16 | 7 months ago |
|
|
026fde1b38 | 7 months ago |
|
|
71532b9313 | 8 months ago |
|
|
329d55279b | 8 months ago |
|
|
22016bb249 | 8 months ago |
|
|
b1a5f61a24 | 8 months ago |
|
|
1d9dbd31f8 | 9 months ago |
|
|
22e29fc419 | 9 months ago |
|
|
b6dc5a2af2 | 9 months ago |
|
|
0c45402e1a | 9 months ago |
|
|
633fec9a5d | 9 months ago |
|
|
ea978c685a | 9 months ago |
|
|
40e1bbe464 | 9 months ago |
|
|
2616caa858 | 9 months ago |
|
|
f0bdc4756d | 10 months ago |
|
|
fbfe36574e | 10 months ago |
|
|
3edc44b62a | 10 months ago |
|
|
2077c92956 | 10 months ago |
|
|
7fa19999c9 | 10 months ago |
|
|
6853096044 | 10 months ago |
|
|
903fef574e | 10 months ago |
|
|
434221c0fe | 10 months ago |
|
|
40891bd424 | 10 months ago |
|
|
ab63d5cd8d | 10 months ago |
|
|
be2fd12f91 | 10 months ago |
|
|
326991fee9 | 10 months ago |
|
|
59b9411869 | 10 months ago |
|
|
9678c1831a | 10 months ago |
|
|
6d06d97302 | 10 months ago |
|
|
6319ce6c3a | 10 months ago |
|
|
bf1530f1b6 | 10 months ago |
|
|
82a81c502c | 11 months ago |
|
|
7dbd40a5ee | 11 months ago |
|
|
fcbe87b876 | 11 months ago |
|
|
48243197bb | 11 months ago |
|
|
2c66ed390e | 12 months ago |
|
|
48e52c759f | 12 months ago |
|
|
3c4b8b59ba | 12 months ago |
|
|
aad43d52f9 | 12 months ago |
|
|
0442b49351 | 12 months ago |
|
|
ef4f6346cd | 12 months ago |
|
|
3e125b1197 | 12 months ago |
|
|
8b3b5b3ce7 | 1 year ago |
|
|
1f0ab8365b | 1 year ago |
|
|
18672b7e85 | 1 year ago |
|
|
e1cd13abfe | 1 year ago |
|
|
99af31ec21 | 1 year ago |
@ -0,0 +1,13 @@
|
||||
FROM mcr.microsoft.com/devcontainers/base:jammy
|
||||
|
||||
ARG PIXI_VERSION=v0.42.1
|
||||
|
||||
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" \
|
||||
&& chmod +x /usr/local/bin/pixi \
|
||||
&& pixi info
|
||||
|
||||
# set some user and workdir settings to work nicely with vscode
|
||||
USER vscode
|
||||
WORKDIR /home/vscode
|
||||
|
||||
RUN echo 'eval "$(pixi completion -s bash)"' >> /home/vscode/.bashrc
|
||||
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "Jupyter Notebook",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"context": ".."
|
||||
},
|
||||
"forwardPorts": [8888],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {},
|
||||
"extensions": ["ms-python.python", "charliermarsh.ruff", "GitHub.copilot"]
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||
},
|
||||
"mounts": [
|
||||
"source=${localWorkspaceFolderBasename}-pixi,target=${containerWorkspaceFolder}/.pixi,type=volume"
|
||||
],
|
||||
"postCreateCommand": "sudo chown vscode .pixi && pixi install && pixi run develop && pixi run pre-commit install -f"
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
# SCM syntax highlighting & preventing 3-way merges
|
||||
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
|
||||
@ -1,58 +0,0 @@
|
||||
github:
|
||||
prebuilds:
|
||||
master: true
|
||||
pullRequests: true
|
||||
pullRequestsFromForks: true
|
||||
addCheck: false
|
||||
addComment: false
|
||||
addBadge: false
|
||||
addLabel: false
|
||||
tasks:
|
||||
- name: setup
|
||||
init: |
|
||||
pushd /workspace
|
||||
wget -qO- https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
|
||||
popd
|
||||
# bootstrap activation commands for other tasks to reuse
|
||||
cat <<EOT > /workspace/bin/activate-env.sh
|
||||
export MAMBA_ROOT_PREFIX=/workspace/.micromamba
|
||||
export MAMBA_EXE=/workspace/bin/micromamba
|
||||
$(/workspace/bin/micromamba shell hook --shell=bash)
|
||||
export JUPYTER_PREFER_ENV_PATH=1
|
||||
export TZ=UTC
|
||||
micromamba activate
|
||||
EOT
|
||||
source /workspace/bin/activate-env.sh
|
||||
micromamba install -n base -y -c conda-forge python=3.11 nodejs=18
|
||||
source /workspace/bin/activate-env.sh
|
||||
python -m pip install -e ".[dev,test]" && jlpm run build && jlpm develop
|
||||
gp sync-done setup
|
||||
command: |
|
||||
gp sync-done setup
|
||||
source /workspace/bin/activate-env.sh
|
||||
jupyter notebook --no-browser --ServerApp.token='' --ServerApp.allow_remote_access=True
|
||||
|
||||
- name: auto-activate
|
||||
command: |
|
||||
gp sync-await setup
|
||||
source /workspace/bin/activate-env.sh
|
||||
jlpm watch
|
||||
|
||||
- name: shell
|
||||
command: |
|
||||
gp sync-await setup
|
||||
echo "source /workspace/bin/activate-env.sh" >> ~/.bashrc
|
||||
source /workspace/bin/activate-env.sh
|
||||
|
||||
- name: docs
|
||||
command: |
|
||||
gp sync-await setup
|
||||
sudo apt-get update
|
||||
sudo apt install enchant-2 -y
|
||||
wget https://github.com/jgm/pandoc/releases/download/2.14.2/pandoc-2.14.2-1-amd64.deb -O /tmp/pandoc.deb && sudo dpkg -i /tmp/pandoc.deb
|
||||
source /workspace/bin/activate-env.sh
|
||||
hatch run docs:build
|
||||
hatch run docs:serve
|
||||
|
||||
ports:
|
||||
- port: 8888
|
||||
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) Jupyter Development Team.
|
||||
* Distributed under the terms of the Modified BSD License.
|
||||
*/
|
||||
|
||||
const base = require('./rspack.config');
|
||||
|
||||
module.exports = [
|
||||
{
|
||||
...base[0],
|
||||
bail: false,
|
||||
watch: true,
|
||||
},
|
||||
...base.slice(1),
|
||||
];
|
||||
@ -1,17 +0,0 @@
|
||||
const base = require('./webpack.config');
|
||||
const ExtraWatchWebpackPlugin = require('extra-watch-webpack-plugin');
|
||||
|
||||
module.exports = [
|
||||
{
|
||||
...base[0],
|
||||
bail: false,
|
||||
watch: true,
|
||||
plugins: [
|
||||
...base[0].plugins,
|
||||
new ExtraWatchWebpackPlugin({
|
||||
files: ['../packages/_metapackage/tsconfig.tsbuildinfo'],
|
||||
}),
|
||||
],
|
||||
},
|
||||
...base.slice(1),
|
||||
];
|
||||
|
After Width: | Height: | Size: 124 KiB |
|
After Width: | Height: | Size: 272 KiB |
@ -1,5 +1,4 @@
|
||||
{
|
||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||
"version": "independent",
|
||||
"useWorkspaces": true
|
||||
"version": "independent"
|
||||
}
|
||||
|
||||
@ -0,0 +1,16 @@
|
||||
{
|
||||
"jupyter.lab.setting-icon": "notebook-ui-components:jupyter",
|
||||
"jupyter.lab.setting-icon-label": "Jupyter Notebook shortcuts",
|
||||
"title": "Jupyter Notebook Shortcuts",
|
||||
"description": "Keyboard shortcuts for Jupyter Notebook",
|
||||
"jupyter.lab.shortcuts": [
|
||||
{
|
||||
"args": {},
|
||||
"command": "notebook:toggle-cell-outputs",
|
||||
"keys": ["O"],
|
||||
"selector": ".jp-Notebook.jp-mod-commandMode:not(.jp-mod-readWrite) :focus"
|
||||
}
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"type": "object"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 8.4 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 18 KiB |