From 8edf291cfaedf098b4be95d492057a1566406bc2 Mon Sep 17 00:00:00 2001 From: Donovan Date: Sun, 30 Mar 2025 04:57:51 -0500 Subject: [PATCH] add environment.yaml --- README.md | 22 +---- environment.yaml | 208 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 211 insertions(+), 19 deletions(-) create mode 100644 environment.yaml diff --git a/README.md b/README.md index 923d7e5..64dc85c 100644 --- a/README.md +++ b/README.md @@ -9,28 +9,12 @@ There are jupyter notebooks in /notebooks covering these topics: ## Installation - Python version 3.10 or greater is required -- Install pyenv or conda for environment management +- Install conda (or your preferred tool) for environment management -### Option 1: Using conda +### Using conda ```bash -# Create a new conda environment named pynkode -conda create -n pynkode python=3.10 -# Activate the environment +conda env create -f environment.yml conda activate pynkode -# Install the requirements -pip install -r requirements.txt -``` - -### Option 2: Using pyenv -```bash -# Install Python 3.10 using pyenv -pyenv install 3.10.0 -# Create a virtualenv named pynkode -pyenv virtualenv 3.10.0 pynkode -# Set the local version to pynkode -pyenv local pynkode -# Install the requirements -pip install -r requirements.txt ``` ## Starting a Jupyter Notebook diff --git a/environment.yaml b/environment.yaml new file mode 100644 index 0000000..a82b455 --- /dev/null +++ b/environment.yaml @@ -0,0 +1,208 @@ +name: pynkode +channels: + - defaults +dependencies: + - annotated-types=0.6.0=py310hca03da5_0 + - anyio=4.2.0=py310hca03da5_0 + - appnope=0.1.2=py310hca03da5_1001 + - argon2-cffi=21.3.0=pyhd3eb1b0_0 + - argon2-cffi-bindings=21.2.0=py310h1a28f6b_0 + - asttokens=2.0.5=pyhd3eb1b0_0 + - async-lru=2.0.4=py310hca03da5_0 + - attrs=23.1.0=py310hca03da5_0 + - babel=2.11.0=py310hca03da5_0 + - beautifulsoup4=4.12.3=py310hca03da5_0 + - bleach=4.1.0=pyhd3eb1b0_0 + - brotli-python=1.0.9=py310h313beb8_8 + - bzip2=1.0.8=h80987f9_6 + - ca-certificates=2024.3.11=hca03da5_0 + - certifi=2024.7.4=py310hca03da5_0 + - cffi=1.16.0=py310h80987f9_1 + - charset-normalizer=2.0.4=pyhd3eb1b0_0 + - comm=0.2.1=py310hca03da5_0 + - cyrus-sasl=2.1.28=h9131b1a_1 + - debugpy=1.6.7=py310h313beb8_0 + - decorator=5.1.1=pyhd3eb1b0_0 + - defusedxml=0.7.1=pyhd3eb1b0_0 + - executing=0.8.3=pyhd3eb1b0_0 + - gettext=0.21.0=h13f89a0_1 + - glib=2.78.4=h313beb8_0 + - glib-tools=2.78.4=h313beb8_0 + - gst-plugins-base=1.14.1=h313beb8_1 + - gstreamer=1.14.1=h80987f9_1 + - icu=73.1=h313beb8_0 + - idna=3.7=py310hca03da5_0 + - ipykernel=6.28.0=py310hca03da5_0 + - ipython=8.25.0=py310hca03da5_0 + - ipywidgets=8.1.2=py310hca03da5_0 + - jedi=0.18.1=py310hca03da5_1 + - jinja2=3.1.4=py310hca03da5_0 + - jpeg=9e=h80987f9_1 + - json5=0.9.6=pyhd3eb1b0_0 + - jsonschema=4.19.2=py310hca03da5_0 + - jsonschema-specifications=2023.7.1=py310hca03da5_0 + - jupyter=1.0.0=py310hca03da5_9 + - jupyter-lsp=2.2.0=py310hca03da5_0 + - jupyter_client=8.6.0=py310hca03da5_0 + - jupyter_console=6.6.3=py310hca03da5_0 + - jupyter_core=5.7.2=py310hca03da5_0 + - jupyter_events=0.10.0=py310hca03da5_0 + - jupyter_server=2.14.1=py310hca03da5_0 + - jupyter_server_terminals=0.4.4=py310hca03da5_1 + - jupyterlab=4.0.11=py310hca03da5_0 + - jupyterlab_pygments=0.1.2=py_0 + - jupyterlab_server=2.25.1=py310hca03da5_0 + - jupyterlab_widgets=3.0.10=py310hca03da5_0 + - krb5=1.20.1=hf3e1bf2_1 + - libclang=14.0.6=default_h1b80db6_1 + - libclang13=14.0.6=default_h24352ff_1 + - libcxx=14.0.6=h848a8c0_0 + - libedit=3.1.20230828=h80987f9_0 + - libffi=3.4.4=hca03da5_1 + - libglib=2.78.4=h0a96307_0 + - libiconv=1.16=h80987f9_3 + - libllvm14=14.0.6=h7ec7a93_3 + - libpng=1.6.39=h80987f9_0 + - libpq=12.17=h02f6b3c_0 + - libsodium=1.0.18=h1a28f6b_0 + - libxml2=2.10.4=h0b34f26_2 + - llvm-openmp=14.0.6=hc6e5704_0 + - lz4-c=1.9.4=h313beb8_1 + - markupsafe=2.1.3=py310h80987f9_0 + - matplotlib-inline=0.1.6=py310hca03da5_0 + - mistune=2.0.4=py310hca03da5_0 + - mysql=5.7.24=ha71a6ea_2 + - nbclient=0.8.0=py310hca03da5_0 + - nbconvert=7.10.0=py310hca03da5_0 + - nbformat=5.9.2=py310hca03da5_0 + - ncurses=6.4=h313beb8_0 + - nest-asyncio=1.6.0=py310hca03da5_0 + - notebook=7.0.8=py310hca03da5_2 + - notebook-shim=0.2.3=py310hca03da5_0 + - openssl=3.0.14=h80987f9_0 + - overrides=7.4.0=py310hca03da5_0 + - packaging=24.1=py310hca03da5_0 + - pandocfilters=1.5.0=pyhd3eb1b0_0 + - parso=0.8.3=pyhd3eb1b0_0 + - pcre2=10.42=hb066dcc_1 + - pexpect=4.8.0=pyhd3eb1b0_3 + - pip=24.0=py310hca03da5_0 + - platformdirs=3.10.0=py310hca03da5_0 + - ply=3.11=py310hca03da5_0 + - prometheus_client=0.14.1=py310hca03da5_0 + - prompt-toolkit=3.0.43=py310hca03da5_0 + - prompt_toolkit=3.0.43=hd3eb1b0_0 + - psutil=5.9.0=py310h1a28f6b_0 + - ptyprocess=0.7.0=pyhd3eb1b0_2 + - pure_eval=0.2.2=pyhd3eb1b0_0 + - pycparser=2.21=pyhd3eb1b0_0 + - pydantic=2.5.3=py310hca03da5_0 + - pydantic-core=2.14.6=py310hf0e4da2_0 + - pygments=2.15.1=py310hca03da5_1 + - pyqt=5.15.10=py310h313beb8_0 + - pyqt5-sip=12.13.0=py310h80987f9_0 + - pysocks=1.7.1=py310hca03da5_0 + - python=3.10.14=hb885b13_1 + - python-dateutil=2.9.0post0=py310hca03da5_2 + - python-fastjsonschema=2.16.2=py310hca03da5_0 + - python-json-logger=2.0.7=py310hca03da5_0 + - pytz=2024.1=py310hca03da5_0 + - pyyaml=6.0.1=py310h80987f9_0 + - pyzmq=25.1.2=py310h313beb8_0 + - qt-main=5.15.2=h0917680_10 + - qtconsole=5.5.1=py310hca03da5_0 + - qtpy=2.4.1=py310hca03da5_0 + - readline=8.2=h1a28f6b_0 + - referencing=0.30.2=py310hca03da5_0 + - requests=2.32.2=py310hca03da5_0 + - rfc3339-validator=0.1.4=py310hca03da5_0 + - rfc3986-validator=0.1.1=py310hca03da5_0 + - rpds-py=0.10.6=py310hf0e4da2_0 + - send2trash=1.8.2=py310hca03da5_0 + - setuptools=69.5.1=py310hca03da5_0 + - sip=6.7.12=py310h313beb8_0 + - six=1.16.0=pyhd3eb1b0_1 + - sniffio=1.3.0=py310hca03da5_0 + - soupsieve=2.5=py310hca03da5_0 + - sqlite=3.45.3=h80987f9_0 + - stack_data=0.2.0=pyhd3eb1b0_0 + - terminado=0.17.1=py310hca03da5_0 + - tinycss2=1.2.1=py310hca03da5_0 + - tk=8.6.14=h6ba3021_0 + - tomli=2.0.1=py310hca03da5_0 + - tornado=6.4.1=py310h80987f9_0 + - traitlets=5.14.3=py310hca03da5_0 + - typing-extensions=4.11.0=py310hca03da5_0 + - typing_extensions=4.11.0=py310hca03da5_0 + - urllib3=2.2.2=py310hca03da5_0 + - wcwidth=0.2.5=pyhd3eb1b0_0 + - webencodings=0.5.1=py310hca03da5_1 + - websocket-client=1.8.0=py310hca03da5_0 + - wheel=0.43.0=py310hca03da5_0 + - widgetsnbextension=4.0.10=py310hca03da5_0 + - xz=5.4.6=h80987f9_1 + - yaml=0.2.5=h1a28f6b_0 + - zeromq=4.3.5=h313beb8_0 + - zlib=1.2.13=h18a0788_1 + - zstd=1.5.5=hd90d995_2 + - pip: + - aiofiles==23.2.1 + - altair==5.3.0 + - arrow==1.3.0 + - bcrypt==4.1.3 + - click==8.1.7 + - contourpy==1.2.1 + - cycler==0.12.1 + - dnspython==2.6.1 + - email-validator==2.2.0 + - exceptiongroup==1.2.1 + - fastapi==0.111.0 + - fastapi-cli==0.0.4 + - ffmpy==0.3.2 + - filelock==3.15.4 + - fonttools==4.53.1 + - fqdn==1.5.1 + - fsspec==2024.6.1 + - gradio==4.37.2 + - gradio-client==1.0.2 + - h11==0.14.0 + - httpcore==1.0.5 + - httptools==0.6.1 + - httpx==0.27.0 + - huggingface-hub==0.23.4 + - importlib-resources==6.4.0 + - iniconfig==2.0.0 + - isoduration==20.11.0 + - jsonpointer==3.0.0 + - kiwisolver==1.4.5 + - markdown-it-py==3.0.0 + - matplotlib==3.9.1 + - mdurl==0.1.2 + - numpy==2.0.0 + - orjson==3.10.6 + - pandas==2.2.2 + - pillow==10.4.0 + - pluggy==1.5.0 + - pydub==0.25.1 + - pyparsing==3.1.2 + - pytest==8.2.2 + - python-dotenv==1.0.1 + - python-multipart==0.0.9 + - rich==13.7.1 + - ruff==0.5.1 + - semantic-version==2.10.0 + - shellingham==1.5.4 + - starlette==0.37.2 + - tomlkit==0.12.0 + - toolz==0.12.1 + - tqdm==4.66.4 + - typer==0.12.3 + - types-python-dateutil==2.9.0.20241206 + - tzdata==2024.1 + - ujson==5.10.0 + - uri-template==1.3.0 + - uvicorn==0.30.1 + - uvloop==0.19.0 + - watchfiles==0.22.0 + - webcolors==24.11.1 + - websockets==11.0.3