Skip to content

Instantly share code, notes, and snippets.

@naoh16
Last active November 5, 2024 08:50

Revisions

  1. naoh16 revised this gist Nov 5, 2024. 1 changed file with 18 additions and 3 deletions.
    21 changes: 18 additions & 3 deletions pyproject.toml
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    [project]
    name = "oucs-jikken-aisp"
    version = "24.0.0"
    version = "24.1.3"
    description = "OU CS JikkenB AI & SP"
    readme = "README.md"
    requires-python = "~=3.10.14"
    @@ -18,12 +18,21 @@ dependencies = [
    "jupyterlab-unfold>=0.3",
    "lckr_jupyterlab-variableinspector>3",
    "jupyterlab-wav>=0.4",
    "ipyaudioworklet~=0.4.4",
    "ipyaudioworklet>=0.6",
    "torch==2.3.1",
    "torchvision==0.18.1",
    "torchaudio==2.3.1",
    "python-lsp-server[all]>=1.12.0",
    "jupyterlab-lsp>=5.1.0"
    ]

    # [project.optional-dependencies]
    # cu118 = [
    # "torch==2.3.1+cu118",
    # "torchaudio==2.3.1+cu118",
    # "torchvision==0.18.1+cu118"
    # ]

    [tool.uv]
    dev-dependencies = [
    "jupyter-book>=1.0.2",
    @@ -32,6 +41,12 @@ dev-dependencies = [
    "sphinx-autodoc2>=0.5.0",
    ]

    # find-links = [
    # "https://download.pytorch.org/whl/cu118/torch",
    # "https://download.pytorch.org/whl/cu118/torchaudio",
    # "https://download.pytorch.org/whl/cu118/torchvision",
    # ]

    [build-system]
    requires = ["setuptools >= 61.0"]
    build-backend = "setuptools.build_meta"
    @@ -40,4 +55,4 @@ build-backend = "setuptools.build_meta"
    exclude = ["jupyter", "example_pdfs", "docs"]

    [tool.uv.sources]
    jupyterlab-wav = { url = "https://github.com/naoh16/jupyterlab-wav/releases/download/v0.4.2/jupyterlab_wav-0.4.2-py3-none-any.whl" }
    jupyterlab-wav = { url = "https://github.com/naoh16/jupyterlab-wav/releases/download/v0.4.3/jupyterlab_wav-0.4.3-py3-none-any.whl" }
  2. naoh16 renamed this gist Sep 27, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. naoh16 revised this gist Sep 19, 2024. 1 changed file with 12 additions and 8 deletions.
    20 changes: 12 additions & 8 deletions pyprojeect.toml
    Original file line number Diff line number Diff line change
    @@ -12,20 +12,24 @@ dependencies = [
    "jupyterlab==4.2.5",
    "notebook==7.2.2",
    "ipympl>=0.9",
    "jupyterlab_widgets",
    "jupyterlab-myst",
    "jupyterlab-fonts",
    "jupyterlab_widgets~=3.0.13",
    "jupyterlab-myst~=2.4.2",
    "jupyterlab-fonts~=3.0.0",
    "jupyterlab-unfold>=0.3",
    "lckr_jupyterlab-variableinspector>3",
    "jupyterlab-wav>=0.4",
    "ipyaudioworklet",
    "ipyaudioworklet~=0.4.4",
    "torch==2.3.1",
    "torchvision==0.18.1",
    "torchaudio==2.3.1",
    "jupyter-book[doc]>=1.0.2",
    "sphinx-exercise[docs]>=0.4.1",
    "sphinxcontrib-mermaid[docs]>=0.9.2",
    "sphinx-autodoc2[docs]>=0.5.0",
    ]

    [tool.uv]
    dev-dependencies = [
    "jupyter-book>=1.0.2",
    "sphinx-exercise>=0.4.1",
    "sphinxcontrib-mermaid>=0.9.2",
    "sphinx-autodoc2>=0.5.0",
    ]

    [build-system]
  4. naoh16 revised this gist Sep 19, 2024. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions uvrun_jupyter.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #/bin/sh

    uv run jupyter lab --config jupyter/jupyter_lab_config.py
  5. naoh16 revised this gist Sep 18, 2024. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions uvrun_jupyter.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    @echo off

    uv run jupyter lab --config jupyter\jupyter_lab_config.py
  6. naoh16 created this gist Sep 18, 2024.
    39 changes: 39 additions & 0 deletions pyprojeect.toml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    [project]
    name = "oucs-jikken-aisp"
    version = "24.0.0"
    description = "OU CS JikkenB AI & SP"
    readme = "README.md"
    requires-python = "~=3.10.14"
    dependencies = [
    "numpy==1.26.4",
    "matplotlib==3.8.4",
    "networkx==3.3",
    "scipy==1.13.1",
    "jupyterlab==4.2.5",
    "notebook==7.2.2",
    "ipympl>=0.9",
    "jupyterlab_widgets",
    "jupyterlab-myst",
    "jupyterlab-fonts",
    "jupyterlab-unfold>=0.3",
    "lckr_jupyterlab-variableinspector>3",
    "jupyterlab-wav>=0.4",
    "ipyaudioworklet",
    "torch==2.3.1",
    "torchvision==0.18.1",
    "torchaudio==2.3.1",
    "jupyter-book[doc]>=1.0.2",
    "sphinx-exercise[docs]>=0.4.1",
    "sphinxcontrib-mermaid[docs]>=0.9.2",
    "sphinx-autodoc2[docs]>=0.5.0",
    ]

    [build-system]
    requires = ["setuptools >= 61.0"]
    build-backend = "setuptools.build_meta"

    [tool.setuptools.packages.find]
    exclude = ["jupyter", "example_pdfs", "docs"]

    [tool.uv.sources]
    jupyterlab-wav = { url = "https://github.com/naoh16/jupyterlab-wav/releases/download/v0.4.2/jupyterlab_wav-0.4.2-py3-none-any.whl" }