From ee3bcca0c7d932b124ed56fcb323bf5e9f2e9acf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Feb 2026 10:35:07 -0800 Subject: [PATCH 01/83] Update dependency nltk to v3.9.3 [SECURITY] (#209) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 15ae1454..70f37bed 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -19,7 +19,7 @@ gensim==4.3.3 # unmaintained, blocking numpy and scipy bump imageio==2.37.2 joblib==1.5.3 librosa==0.11.0 -nltk==3.9.2 +nltk==3.9.3 numpy==1.26.4 # bump blocked by gensim numba==0.61.2 opencv-python==4.11.0.86 From ef62fb88c458af6d6b1ff66efaeff83e6c1c9057 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Feb 2026 13:00:09 -0800 Subject: [PATCH 02/83] Update dependency e2b (#210) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 85 ++++++++++++++++++++++++++------------------------ 1 file changed, 45 insertions(+), 40 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 51081c61..baa633d8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,7 +49,7 @@ importers: dependencies: e2b: specifier: ^2.8.4 - version: 2.12.1 + version: 2.13.0 devDependencies: '@types/node': specifier: ^20.19.19 @@ -881,9 +881,9 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - balanced-match@4.0.2: - resolution: {integrity: sha512-x0K50QvKQ97fdEz2kPehIerj+YTeptKF9hyYkKf6egnwmMWAkADiO0QCzSp0R5xN8FTZgYaBfSaue46Ej62nMg==} - engines: {node: 20 || >=22} + balanced-match@4.0.4: + resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} + engines: {node: 18 || 20 || >=22} better-path-resolve@1.0.0: resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} @@ -895,9 +895,9 @@ packages: brace-expansion@2.0.2: resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} - brace-expansion@5.0.2: - resolution: {integrity: sha512-Pdk8c9poy+YhOgVWw1JNN22/HcivgKWwpxKq04M/jTmHyCZn12WPJebZxdjSa5TmBqISrUSgNYU3eRORljfCCw==} - engines: {node: 20 || >=22} + brace-expansion@5.0.4: + resolution: {integrity: sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==} + engines: {node: 18 || 20 || >=22} braces@3.0.3: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} @@ -1042,8 +1042,8 @@ packages: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} - e2b@2.12.1: - resolution: {integrity: sha512-qKYwS0VSZqvtWAT4OrCtOwRhhMlcd359zyFRGAZZ1wpYHHjr9zR872UCoDb/d5jFVUsREcUgktURc47XxfznPg==} + e2b@2.13.0: + resolution: {integrity: sha512-tYsRDXKx47WoV0lVHZxg1uGlSGC2+085Vy+LMxAnnw96vCQm0lBIKPaxV59xDkQZp4yI9/vgZtd2NzNNnoQPTg==} engines: {node: '>=20'} easy-table@1.2.0: @@ -1434,9 +1434,9 @@ packages: resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} - minimatch@10.2.0: - resolution: {integrity: sha512-ugkC31VaVg9cF0DFVoADH12k6061zNZkZON+aX8AWsR9GhPcErkcMBceb6znR8wLERM2AkkOxy2nWRLpT9Jq5w==} - engines: {node: 20 || >=22} + minimatch@10.2.4: + resolution: {integrity: sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==} + engines: {node: 18 || 20 || >=22} minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -1449,11 +1449,15 @@ packages: resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} + minimatch@9.0.9: + resolution: {integrity: sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==} + engines: {node: '>=16 || 14 >=14.17'} + minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - minipass@7.1.2: - resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} + minipass@7.1.3: + resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==} engines: {node: '>=16 || 14 >=14.17'} minizlib@3.1.0: @@ -1557,9 +1561,9 @@ packages: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} - path-scurry@2.0.1: - resolution: {integrity: sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==} - engines: {node: 20 || >=22} + path-scurry@2.0.2: + resolution: {integrity: sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==} + engines: {node: 18 || 20 || >=22} path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} @@ -1784,10 +1788,9 @@ packages: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} - tar@7.5.7: - resolution: {integrity: sha512-fov56fJiRuThVFXD6o6/Q354S7pnWMJIVlDBYijsTNx6jKSE4pvrDTs6lUnmGvNyfJwFQQwWy3owKz1ucIhveQ==} + tar@7.5.9: + resolution: {integrity: sha512-BTLcK0xsDh2+PUe9F6c2TlRp4zOOBMTkoQHQIWSIzI0R7KG46uEwq4OPk2W7bZcprBMsuaeFsqwYr7pjh6CuHg==} engines: {node: '>=18'} - deprecated: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} @@ -2298,7 +2301,7 @@ snapshots: '@isaacs/fs-minipass@4.0.1': dependencies: - minipass: 7.1.2 + minipass: 7.1.3 '@jridgewell/gen-mapping@0.3.5': dependencies: @@ -2635,7 +2638,7 @@ snapshots: debug: 4.4.0 globby: 11.1.0 is-glob: 4.0.3 - minimatch: 9.0.5 + minimatch: 9.0.9 semver: 7.6.0 ts-api-utils: 1.4.3(typescript@5.7.3) optionalDependencies: @@ -2760,9 +2763,7 @@ snapshots: balanced-match@1.0.2: {} - balanced-match@4.0.2: - dependencies: - jackspeak: 4.2.3 + balanced-match@4.0.4: {} better-path-resolve@1.0.0: dependencies: @@ -2777,9 +2778,9 @@ snapshots: dependencies: balanced-match: 1.0.2 - brace-expansion@5.0.2: + brace-expansion@5.0.4: dependencies: - balanced-match: 4.0.2 + balanced-match: 4.0.4 braces@3.0.3: dependencies: @@ -2895,7 +2896,7 @@ snapshots: dotenv@16.6.1: {} - e2b@2.12.1: + e2b@2.13.0: dependencies: '@bufbuild/protobuf': 2.11.0 '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.11.0) @@ -2906,7 +2907,7 @@ snapshots: glob: 11.1.0 openapi-fetch: 0.14.1 platform: 1.3.6 - tar: 7.5.7 + tar: 7.5.9 easy-table@1.2.0: dependencies: @@ -3159,10 +3160,10 @@ snapshots: dependencies: foreground-child: 3.3.1 jackspeak: 4.2.3 - minimatch: 10.2.0 - minipass: 7.1.2 + minimatch: 10.2.4 + minipass: 7.1.3 package-json-from-dist: 1.0.1 - path-scurry: 2.0.1 + path-scurry: 2.0.2 glob@7.2.3: dependencies: @@ -3390,9 +3391,9 @@ snapshots: braces: 3.0.3 picomatch: 2.3.1 - minimatch@10.2.0: + minimatch@10.2.4: dependencies: - brace-expansion: 5.0.2 + brace-expansion: 5.0.4 minimatch@3.1.2: dependencies: @@ -3406,13 +3407,17 @@ snapshots: dependencies: brace-expansion: 2.0.2 + minimatch@9.0.9: + dependencies: + brace-expansion: 2.0.2 + minimist@1.2.8: {} - minipass@7.1.2: {} + minipass@7.1.3: {} minizlib@3.1.0: dependencies: - minipass: 7.1.2 + minipass: 7.1.3 mlly@1.8.0: dependencies: @@ -3504,10 +3509,10 @@ snapshots: path-key@3.1.1: {} - path-scurry@2.0.1: + path-scurry@2.0.2: dependencies: lru-cache: 11.2.6 - minipass: 7.1.2 + minipass: 7.1.3 path-type@4.0.0: {} @@ -3708,11 +3713,11 @@ snapshots: tapable@2.2.1: {} - tar@7.5.7: + tar@7.5.9: dependencies: '@isaacs/fs-minipass': 4.0.1 chownr: 3.0.0 - minipass: 7.1.2 + minipass: 7.1.3 minizlib: 3.1.0 yallist: 5.0.0 From c45426294f4a9de1149fff2b5f48c9f2cac23ede Mon Sep 17 00:00:00 2001 From: Matt Brockman Date: Thu, 5 Mar 2026 10:43:18 -0800 Subject: [PATCH 03/83] add workflow dispatch to deploy the template (#211) * build prod template has a workflow dispatch --- .github/workflows/build_prod_template.yml | 42 +++++++++++++++++++++++ .github/workflows/build_test_template.yml | 10 +++--- template/build_ci.py | 10 +++++- template/build_prod.py | 5 +++ 4 files changed, 61 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/build_prod_template.yml diff --git a/.github/workflows/build_prod_template.yml b/.github/workflows/build_prod_template.yml new file mode 100644 index 00000000..3472f462 --- /dev/null +++ b/.github/workflows/build_prod_template.yml @@ -0,0 +1,42 @@ +name: Build Prod Template + +on: + workflow_dispatch: + inputs: + skip_cache: + description: Skip build cache + required: false + type: boolean + default: false + +concurrency: + group: Release-${{ github.ref }} + cancel-in-progress: false + +permissions: + contents: read + +jobs: + build-template: + name: Build E2B template + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - uses: actions/setup-python@v6 + with: + python-version: '3.13' + + - name: Install development dependencies + working-directory: ./template + run: pip install -r requirements-dev.txt + + - name: Build E2B template + id: build-template + working-directory: ./template + run: | + python build_prod.py + env: + E2B_API_KEY: ${{ secrets.E2B_PROD_API_KEY }} + E2B_DOMAIN: ${{ vars.E2B_DOMAIN }} + SKIP_CACHE: ${{ inputs.skip_cache }} diff --git a/.github/workflows/build_test_template.yml b/.github/workflows/build_test_template.yml index 3f39bc41..182426f9 100644 --- a/.github/workflows/build_test_template.yml +++ b/.github/workflows/build_test_template.yml @@ -22,7 +22,7 @@ jobs: name: Build E2B Template runs-on: ubuntu-latest outputs: - template_id: ${{ steps.generate-template-id.outputs.template_id }} + template_id: ${{ steps.build-template.outputs.template_id }} steps: - name: Checkout repository uses: actions/checkout@v4 @@ -42,12 +42,12 @@ jobs: working-directory: ./template run: pip install -r requirements-dev.txt - - name: Generate Template ID + - name: Generate Template Name id: generate-template-id run: | E2B_TESTS_TEMPLATE=e2b-code-interpreter-ci-$(uuidgen) - echo "Generated Template ID: $E2B_TESTS_TEMPLATE" - echo "template_id=$E2B_TESTS_TEMPLATE" >> $GITHUB_OUTPUT + echo "Generated Template Name: $E2B_TESTS_TEMPLATE" + echo "template_name=$E2B_TESTS_TEMPLATE" >> $GITHUB_OUTPUT - name: Build E2B template id: build-template @@ -57,4 +57,4 @@ jobs: env: E2B_API_KEY: ${{ secrets.E2B_API_KEY }} E2B_DOMAIN: ${{ inputs.E2B_DOMAIN }} - E2B_TESTS_TEMPLATE: ${{ steps.generate-template-id.outputs.template_id }} + E2B_TESTS_TEMPLATE: ${{ steps.generate-template-id.outputs.template_name }} diff --git a/template/build_ci.py b/template/build_ci.py index 1c89b472..13c0c311 100644 --- a/template/build_ci.py +++ b/template/build_ci.py @@ -2,10 +2,18 @@ from e2b import Template, default_build_logger from template import make_template -Template.build( +build_info = Template.build( make_template(), alias=os.environ["E2B_TESTS_TEMPLATE"], cpu_count=2, memory_mb=2048, on_build_logs=default_build_logger(), ) + +template_id = build_info.template_id +print(f"Built template ID: {template_id}") + +github_output = os.getenv("GITHUB_OUTPUT") +if github_output: + with open(github_output, "a", encoding="utf-8") as fh: + fh.write(f"template_id={template_id}\n") diff --git a/template/build_prod.py b/template/build_prod.py index 5274d8c4..1615ebff 100644 --- a/template/build_prod.py +++ b/template/build_prod.py @@ -1,13 +1,18 @@ +import os + from dotenv import load_dotenv from e2b import Template, default_build_logger from template import make_template load_dotenv() +skip_cache = os.getenv("SKIP_CACHE", "false").lower() == "true" + Template.build( make_template(), alias="code-interpreter-v1", cpu_count=2, memory_mb=2048, + skip_cache=skip_cache, on_build_logs=default_build_logger(), ) From 5b971b5b0d3e5c8e32a37e75b8ddb8f403659a0b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 02:33:17 -0700 Subject: [PATCH 04/83] Update dependency e2b (#214) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index baa633d8..ed527dba 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,7 +49,7 @@ importers: dependencies: e2b: specifier: ^2.8.4 - version: 2.13.0 + version: 2.14.1 devDependencies: '@types/node': specifier: ^20.19.19 @@ -1042,8 +1042,8 @@ packages: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} - e2b@2.13.0: - resolution: {integrity: sha512-tYsRDXKx47WoV0lVHZxg1uGlSGC2+085Vy+LMxAnnw96vCQm0lBIKPaxV59xDkQZp4yI9/vgZtd2NzNNnoQPTg==} + e2b@2.14.1: + resolution: {integrity: sha512-g0NPZNzwIaePTahu9ixBtqrw9IZQ8ThK8dt+DU394+jmxQJ+69c2t8A0j973/j+bHo3QdNFxIRIH6zDcC3ueaw==} engines: {node: '>=20'} easy-table@1.2.0: @@ -1788,8 +1788,8 @@ packages: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} - tar@7.5.9: - resolution: {integrity: sha512-BTLcK0xsDh2+PUe9F6c2TlRp4zOOBMTkoQHQIWSIzI0R7KG46uEwq4OPk2W7bZcprBMsuaeFsqwYr7pjh6CuHg==} + tar@7.5.11: + resolution: {integrity: sha512-ChjMH33/KetonMTAtpYdgUFr0tbz69Fp2v7zWxQfYZX4g5ZN2nOBXm1R2xyA+lMIKrLKIoKAwFj93jE/avX9cQ==} engines: {node: '>=18'} text-table@0.2.0: @@ -2896,7 +2896,7 @@ snapshots: dotenv@16.6.1: {} - e2b@2.13.0: + e2b@2.14.1: dependencies: '@bufbuild/protobuf': 2.11.0 '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.11.0) @@ -2907,7 +2907,7 @@ snapshots: glob: 11.1.0 openapi-fetch: 0.14.1 platform: 1.3.6 - tar: 7.5.9 + tar: 7.5.11 easy-table@1.2.0: dependencies: @@ -3713,7 +3713,7 @@ snapshots: tapable@2.2.1: {} - tar@7.5.9: + tar@7.5.11: dependencies: '@isaacs/fs-minipass': 4.0.1 chownr: 3.0.0 From 4e0369c633e66edde8e5ca029898e27961acea8d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 11 Mar 2026 02:33:46 -0700 Subject: [PATCH 05/83] Update dependency e2b to v2.15.2 (#215) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements-dev.txt b/template/requirements-dev.txt index ba5a7a0a..72a43e72 100644 --- a/template/requirements-dev.txt +++ b/template/requirements-dev.txt @@ -1,2 +1,2 @@ -e2b==2.13.2 +e2b==2.15.2 python-dotenv==1.2.1 \ No newline at end of file From 08b73a41ed63dd7f5df8d9bc94edffc33603855a Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Wed, 11 Mar 2026 19:27:46 +0100 Subject: [PATCH 06/83] Update GitHub workflows to Python 3.13 (#194) * Update GitHub workflows to Python 3.13 Upgrade all Python workflow jobs from Python 3.12 (and 3.10 for linting) to Python 3.13, and update setup-python action from v4 to v6 to support the new version. Co-Authored-By: Claude Haiku 4.5 * Use .tool-versions for Python and Poetry versions in workflows Add a .tool-versions file (python 3.13, poetry 1.8.1) and use wistia/parse-tool-versions to read versions in all workflows, replacing hardcoded version strings with env var references. Co-Authored-By: Claude Opus 4.6 * Downgrade Python version from 3.13 to 3.10 * Fix Python version divergence in build_prod_template.yml Update build_prod_template.yml to use TOOL_VERSION_PYTHON from .tool-versions instead of hardcoded '3.13', matching the pattern used in build_test_template.yml. This ensures consistency between test and production template builds. Co-authored-by: Mish Ushakov --------- Co-authored-by: Claude Haiku 4.5 Co-authored-by: Cursor Agent Co-authored-by: Mish Ushakov --- .github/workflows/build_prod_template.yml | 10 ++++- .github/workflows/build_test_template.yml | 9 ++++- .github/workflows/charts_tests.yml | 13 +++++-- .github/workflows/lint.yml | 13 +++++-- .github/workflows/performance_tests.yml | 13 +++++-- .github/workflows/python_tests.yml | 13 +++++-- .github/workflows/release.yml | 45 +++++++++++++++++++---- .github/workflows/release_candidates.yml | 13 +++++-- .tool-versions | 2 + 9 files changed, 106 insertions(+), 25 deletions(-) create mode 100644 .tool-versions diff --git a/.github/workflows/build_prod_template.yml b/.github/workflows/build_prod_template.yml index 3472f462..ac2cfb33 100644 --- a/.github/workflows/build_prod_template.yml +++ b/.github/workflows/build_prod_template.yml @@ -23,9 +23,17 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - uses: actions/setup-python@v6 with: - python-version: '3.13' + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install development dependencies working-directory: ./template diff --git a/.github/workflows/build_test_template.yml b/.github/workflows/build_test_template.yml index 182426f9..348001e0 100644 --- a/.github/workflows/build_test_template.yml +++ b/.github/workflows/build_test_template.yml @@ -27,6 +27,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - name: Set package version working-directory: ./template run: | @@ -36,7 +43,7 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: '3.13' + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install development dependencies working-directory: ./template diff --git a/.github/workflows/charts_tests.yml b/.github/workflows/charts_tests.yml index db3276c2..f2837786 100644 --- a/.github/workflows/charts_tests.yml +++ b/.github/workflows/charts_tests.yml @@ -17,15 +17,22 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: - python-version: '3.12' + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install and configure Poetry uses: snok/install-poetry@v1 with: - version: 1.5.1 + version: '${{ env.TOOL_VERSION_POETRY }}' virtualenvs-create: true virtualenvs-in-project: true installer-parallel: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4b89bedb..08beb345 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,6 +15,13 @@ jobs: - name: Checkout Repo uses: actions/checkout@v4 + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - uses: pnpm/action-setup@v4 with: version: 9.15.9 @@ -34,14 +41,14 @@ jobs: run: pnpm install --frozen-lockfile - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: - python-version: '3.10' + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install and configure Poetry uses: snok/install-poetry@v1 with: - version: 1.5.1 + version: '${{ env.TOOL_VERSION_POETRY }}' virtualenvs-create: true virtualenvs-in-project: true installer-parallel: true diff --git a/.github/workflows/performance_tests.yml b/.github/workflows/performance_tests.yml index 7f1c8bb2..a0f20aa5 100644 --- a/.github/workflows/performance_tests.yml +++ b/.github/workflows/performance_tests.yml @@ -31,15 +31,22 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: - python-version: '3.12' + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install and configure Poetry uses: snok/install-poetry@v1 with: - version: 1.5.1 + version: '${{ env.TOOL_VERSION_POETRY }}' virtualenvs-create: true virtualenvs-in-project: true installer-parallel: true diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index 6af7aa6b..8149c91c 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -27,15 +27,22 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: - python-version: '3.12' + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install and configure Poetry uses: snok/install-poetry@v1 with: - version: 1.5.1 + version: '${{ env.TOOL_VERSION_POETRY }}' virtualenvs-create: true virtualenvs-in-project: true installer-parallel: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c90384de..847699bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -119,6 +119,13 @@ jobs: - name: Checkout Repo uses: actions/checkout@v4 + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - name: Install pnpm uses: pnpm/action-setup@v3 id: pnpm-install @@ -126,14 +133,14 @@ jobs: version: 9.5 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: - python-version: "3.12" + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install and configure Poetry uses: snok/install-poetry@v1 with: - version: 1.5.1 + version: '${{ env.TOOL_VERSION_POETRY }}' virtualenvs-create: true virtualenvs-in-project: true installer-parallel: true @@ -179,6 +186,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -202,7 +216,7 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: '3.13' + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install development dependencies working-directory: ./template @@ -227,9 +241,17 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - uses: actions/setup-python@v6 with: - python-version: '3.13' + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install development dependencies working-directory: ./template @@ -284,15 +306,22 @@ jobs: with: token: ${{ steps.app-token.outputs.token }} + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: - python-version: "3.12" + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install and configure Poetry uses: snok/install-poetry@v1 with: - version: 1.8.1 + version: '${{ env.TOOL_VERSION_POETRY }}' virtualenvs-create: true virtualenvs-in-project: true installer-parallel: true diff --git a/.github/workflows/release_candidates.yml b/.github/workflows/release_candidates.yml index 3bc8101e..cd09fce4 100644 --- a/.github/workflows/release_candidates.yml +++ b/.github/workflows/release_candidates.yml @@ -17,6 +17,13 @@ jobs: with: ref: ${{ github.head_ref }} + - name: Parse .tool-versions + uses: wistia/parse-tool-versions@v2.1.1 + with: + filename: '.tool-versions' + uppercase: 'true' + prefix: 'tool_version_' + - uses: pnpm/action-setup@v3 if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }} with: @@ -58,16 +65,16 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }} with: - python-version: "3.12" + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install and configure Poetry uses: snok/install-poetry@v1 if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }} with: - version: 1.8.1 + version: '${{ env.TOOL_VERSION_POETRY }}' virtualenvs-create: true virtualenvs-in-project: true installer-parallel: true diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000..f2006127 --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +python 3.10 +poetry 1.8.1 From b6ac8ad922730716f789e418012f0aae653a2e69 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Wed, 11 Mar 2026 20:04:51 +0100 Subject: [PATCH 07/83] Update e2b_charts dependencies for numpy 2 support (#193) * Update e2b_charts dependencies: relax numpy constraint and bump versions - Change numpy from ^1.26.4 to >=1.26.4 to allow numpy 2.x - Bump matplotlib to ^3.10.3, pydantic to ^2.9.1 - Bump dev deps: pytest to ^8.3.5, python-dotenv to ^1.2.1 - Regenerate poetry.lock Co-Authored-By: Claude Opus 4.6 * added changeset * Pin numpy to ^2.3.5 in e2b_charts Co-Authored-By: Claude Opus 4.6 * Bump Python requirement to ^3.13 and sync poetry lock numpy ^2.3.5 requires Python >=3.11; bumping to ^3.13 per project needs. Co-Authored-By: Claude Opus 4.6 * Change Python requirement from ^3.13 to ^3.12 and sync lock file Co-Authored-By: Claude Opus 4.6 * Change Python requirement from ^3.12 to ^3.11 and sync lock file Co-Authored-By: Claude Opus 4.6 * Fix numpy 2.x Decimal conversion in pie chart extraction numpy.float32 no longer implicitly converts to Decimal in numpy 2.x. Wrap with float() before passing to Decimal. Co-Authored-By: Claude Opus 4.6 * Downgrade Python version requirement to 3.10 * Update e2b_charts: numpy ^2.2.6, fix pie chart, update CI tooling - Bump numpy from >=1.26.4 to ^2.2.6 (last 2.x supporting Python 3.10) - Fix numpy 2.x Decimal conversion in pie chart (wrap with float()) - Format pie.py per ruff - Update .tool-versions to Python 3.12 and Poetry 2.1.1 - Update charts_tests.yml to read versions from .tool-versions - Regenerate poetry.lock Co-Authored-By: Claude Opus 4.6 * Revert .tool-versions to Python 3.10 and Poetry 1.8.1 Co-Authored-By: Claude Opus 4.6 * Update changeset to major bump Co-Authored-By: Claude Opus 4.6 --------- Co-authored-by: Claude Opus 4.6 --- .changeset/dry-lions-stare.md | 5 + chart_data_extractor/e2b_charts/charts/pie.py | 6 +- chart_data_extractor/poetry.lock | 399 +++++++++++++----- chart_data_extractor/pyproject.toml | 12 +- 4 files changed, 307 insertions(+), 115 deletions(-) create mode 100644 .changeset/dry-lions-stare.md diff --git a/.changeset/dry-lions-stare.md b/.changeset/dry-lions-stare.md new file mode 100644 index 00000000..39666ae2 --- /dev/null +++ b/.changeset/dry-lions-stare.md @@ -0,0 +1,5 @@ +--- +'@e2b/data-extractor': major +--- + +updated dependencies to latest diff --git a/chart_data_extractor/e2b_charts/charts/pie.py b/chart_data_extractor/e2b_charts/charts/pie.py index bf722a1f..2581830b 100644 --- a/chart_data_extractor/e2b_charts/charts/pie.py +++ b/chart_data_extractor/e2b_charts/charts/pie.py @@ -25,7 +25,11 @@ def _extract_info(self, ax: Axes) -> None: for wedge in ax.patches: pie_data = PieData( label=wedge.get_label(), - angle=abs(dynamic_round(Decimal(wedge.theta2) - Decimal(wedge.theta1))), + angle=abs( + dynamic_round( + Decimal(float(wedge.theta2)) - Decimal(float(wedge.theta1)) + ) + ), radius=wedge.r, ) diff --git a/chart_data_extractor/poetry.lock b/chart_data_extractor/poetry.lock index b9e839ea..ffa8368d 100644 --- a/chart_data_extractor/poetry.lock +++ b/chart_data_extractor/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. [[package]] name = "annotated-types" @@ -128,17 +128,20 @@ tests = ["pytest", "pytest-cov", "pytest-xdist"] [[package]] name = "exceptiongroup" -version = "1.2.2" +version = "1.3.1" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" groups = ["dev"] -markers = "python_version == \"3.10\"" +markers = "python_version < \"3.11\"" files = [ - {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, - {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, + {file = "exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598"}, + {file = "exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219"}, ] +[package.dependencies] +typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""} + [package.extras] test = ["pytest (>=6)"] @@ -353,52 +356,67 @@ files = [ [[package]] name = "matplotlib" -version = "3.9.2" +version = "3.10.8" description = "Python plotting package" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" groups = ["main"] files = [ - {file = "matplotlib-3.9.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:9d78bbc0cbc891ad55b4f39a48c22182e9bdaea7fc0e5dbd364f49f729ca1bbb"}, - {file = "matplotlib-3.9.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c375cc72229614632c87355366bdf2570c2dac01ac66b8ad048d2dabadf2d0d4"}, - {file = "matplotlib-3.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d94ff717eb2bd0b58fe66380bd8b14ac35f48a98e7c6765117fe67fb7684e64"}, - {file = "matplotlib-3.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ab68d50c06938ef28681073327795c5db99bb4666214d2d5f880ed11aeaded66"}, - {file = "matplotlib-3.9.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:65aacf95b62272d568044531e41de26285d54aec8cb859031f511f84bd8b495a"}, - {file = "matplotlib-3.9.2-cp310-cp310-win_amd64.whl", hash = "sha256:3fd595f34aa8a55b7fc8bf9ebea8aa665a84c82d275190a61118d33fbc82ccae"}, - {file = "matplotlib-3.9.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:d8dd059447824eec055e829258ab092b56bb0579fc3164fa09c64f3acd478772"}, - {file = "matplotlib-3.9.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c797dac8bb9c7a3fd3382b16fe8f215b4cf0f22adccea36f1545a6d7be310b41"}, - {file = "matplotlib-3.9.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d719465db13267bcef19ea8954a971db03b9f48b4647e3860e4bc8e6ed86610f"}, - {file = "matplotlib-3.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8912ef7c2362f7193b5819d17dae8629b34a95c58603d781329712ada83f9447"}, - {file = "matplotlib-3.9.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7741f26a58a240f43bee74965c4882b6c93df3e7eb3de160126d8c8f53a6ae6e"}, - {file = "matplotlib-3.9.2-cp311-cp311-win_amd64.whl", hash = "sha256:ae82a14dab96fbfad7965403c643cafe6515e386de723e498cf3eeb1e0b70cc7"}, - {file = "matplotlib-3.9.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:ac43031375a65c3196bee99f6001e7fa5bdfb00ddf43379d3c0609bdca042df9"}, - {file = "matplotlib-3.9.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:be0fc24a5e4531ae4d8e858a1a548c1fe33b176bb13eff7f9d0d38ce5112a27d"}, - {file = "matplotlib-3.9.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf81de2926c2db243c9b2cbc3917619a0fc85796c6ba4e58f541df814bbf83c7"}, - {file = "matplotlib-3.9.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f6ee45bc4245533111ced13f1f2cace1e7f89d1c793390392a80c139d6cf0e6c"}, - {file = "matplotlib-3.9.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:306c8dfc73239f0e72ac50e5a9cf19cc4e8e331dd0c54f5e69ca8758550f1e1e"}, - {file = "matplotlib-3.9.2-cp312-cp312-win_amd64.whl", hash = "sha256:5413401594cfaff0052f9d8b1aafc6d305b4bd7c4331dccd18f561ff7e1d3bd3"}, - {file = "matplotlib-3.9.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:18128cc08f0d3cfff10b76baa2f296fc28c4607368a8402de61bb3f2eb33c7d9"}, - {file = "matplotlib-3.9.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:4876d7d40219e8ae8bb70f9263bcbe5714415acfdf781086601211335e24f8aa"}, - {file = "matplotlib-3.9.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6d9f07a80deab4bb0b82858a9e9ad53d1382fd122be8cde11080f4e7dfedb38b"}, - {file = "matplotlib-3.9.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f7c0410f181a531ec4e93bbc27692f2c71a15c2da16766f5ba9761e7ae518413"}, - {file = "matplotlib-3.9.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:909645cce2dc28b735674ce0931a4ac94e12f5b13f6bb0b5a5e65e7cea2c192b"}, - {file = "matplotlib-3.9.2-cp313-cp313-win_amd64.whl", hash = "sha256:f32c7410c7f246838a77d6d1eff0c0f87f3cb0e7c4247aebea71a6d5a68cab49"}, - {file = "matplotlib-3.9.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:37e51dd1c2db16ede9cfd7b5cabdfc818b2c6397c83f8b10e0e797501c963a03"}, - {file = "matplotlib-3.9.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b82c5045cebcecd8496a4d694d43f9cc84aeeb49fe2133e036b207abe73f4d30"}, - {file = "matplotlib-3.9.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f053c40f94bc51bc03832a41b4f153d83f2062d88c72b5e79997072594e97e51"}, - {file = "matplotlib-3.9.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dbe196377a8248972f5cede786d4c5508ed5f5ca4a1e09b44bda889958b33f8c"}, - {file = "matplotlib-3.9.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:5816b1e1fe8c192cbc013f8f3e3368ac56fbecf02fb41b8f8559303f24c5015e"}, - {file = "matplotlib-3.9.2-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:cef2a73d06601437be399908cf13aee74e86932a5ccc6ccdf173408ebc5f6bb2"}, - {file = "matplotlib-3.9.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e0830e188029c14e891fadd99702fd90d317df294c3298aad682739c5533721a"}, - {file = "matplotlib-3.9.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:03ba9c1299c920964e8d3857ba27173b4dbb51ca4bab47ffc2c2ba0eb5e2cbc5"}, - {file = "matplotlib-3.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1cd93b91ab47a3616b4d3c42b52f8363b88ca021e340804c6ab2536344fad9ca"}, - {file = "matplotlib-3.9.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:6d1ce5ed2aefcdce11904fc5bbea7d9c21fff3d5f543841edf3dea84451a09ea"}, - {file = "matplotlib-3.9.2-cp39-cp39-win_amd64.whl", hash = "sha256:b2696efdc08648536efd4e1601b5fd491fd47f4db97a5fbfd175549a7365c1b2"}, - {file = "matplotlib-3.9.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:d52a3b618cb1cbb769ce2ee1dcdb333c3ab6e823944e9a2d36e37253815f9556"}, - {file = "matplotlib-3.9.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:039082812cacd6c6bec8e17a9c1e6baca230d4116d522e81e1f63a74d01d2e21"}, - {file = "matplotlib-3.9.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6758baae2ed64f2331d4fd19be38b7b4eae3ecec210049a26b6a4f3ae1c85dcc"}, - {file = "matplotlib-3.9.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:050598c2b29e0b9832cde72bcf97627bf00262adbc4a54e2b856426bb2ef0697"}, - {file = "matplotlib-3.9.2.tar.gz", hash = "sha256:96ab43906269ca64a6366934106fa01534454a69e471b7bf3d79083981aaab92"}, + {file = "matplotlib-3.10.8-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:00270d217d6b20d14b584c521f810d60c5c78406dc289859776550df837dcda7"}, + {file = "matplotlib-3.10.8-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:37b3c1cc42aa184b3f738cfa18c1c1d72fd496d85467a6cf7b807936d39aa656"}, + {file = "matplotlib-3.10.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ee40c27c795bda6a5292e9cff9890189d32f7e3a0bf04e0e3c9430c4a00c37df"}, + {file = "matplotlib-3.10.8-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a48f2b74020919552ea25d222d5cc6af9ca3f4eb43a93e14d068457f545c2a17"}, + {file = "matplotlib-3.10.8-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f254d118d14a7f99d616271d6c3c27922c092dac11112670b157798b89bf4933"}, + {file = "matplotlib-3.10.8-cp310-cp310-win_amd64.whl", hash = "sha256:f9b587c9c7274c1613a30afabf65a272114cd6cdbe67b3406f818c79d7ab2e2a"}, + {file = "matplotlib-3.10.8-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:6be43b667360fef5c754dda5d25a32e6307a03c204f3c0fc5468b78fa87b4160"}, + {file = "matplotlib-3.10.8-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a2b336e2d91a3d7006864e0990c83b216fcdca64b5a6484912902cef87313d78"}, + {file = "matplotlib-3.10.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:efb30e3baaea72ce5928e32bab719ab4770099079d66726a62b11b1ef7273be4"}, + {file = "matplotlib-3.10.8-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d56a1efd5bfd61486c8bc968fa18734464556f0fb8e51690f4ac25d85cbbbbc2"}, + {file = "matplotlib-3.10.8-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:238b7ce5717600615c895050239ec955d91f321c209dd110db988500558e70d6"}, + {file = "matplotlib-3.10.8-cp311-cp311-win_amd64.whl", hash = "sha256:18821ace09c763ec93aef5eeff087ee493a24051936d7b9ebcad9662f66501f9"}, + {file = "matplotlib-3.10.8-cp311-cp311-win_arm64.whl", hash = "sha256:bab485bcf8b1c7d2060b4fcb6fc368a9e6f4cd754c9c2fea281f4be21df394a2"}, + {file = "matplotlib-3.10.8-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:64fcc24778ca0404ce0cb7b6b77ae1f4c7231cdd60e6778f999ee05cbd581b9a"}, + {file = "matplotlib-3.10.8-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b9a5ca4ac220a0cdd1ba6bcba3608547117d30468fefce49bb26f55c1a3d5c58"}, + {file = "matplotlib-3.10.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3ab4aabc72de4ff77b3ec33a6d78a68227bf1123465887f9905ba79184a1cc04"}, + {file = "matplotlib-3.10.8-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:24d50994d8c5816ddc35411e50a86ab05f575e2530c02752e02538122613371f"}, + {file = "matplotlib-3.10.8-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:99eefd13c0dc3b3c1b4d561c1169e65fe47aab7b8158754d7c084088e2329466"}, + {file = "matplotlib-3.10.8-cp312-cp312-win_amd64.whl", hash = "sha256:dd80ecb295460a5d9d260df63c43f4afbdd832d725a531f008dad1664f458adf"}, + {file = "matplotlib-3.10.8-cp312-cp312-win_arm64.whl", hash = "sha256:3c624e43ed56313651bc18a47f838b60d7b8032ed348911c54906b130b20071b"}, + {file = "matplotlib-3.10.8-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3f2e409836d7f5ac2f1c013110a4d50b9f7edc26328c108915f9075d7d7a91b6"}, + {file = "matplotlib-3.10.8-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:56271f3dac49a88d7fca5060f004d9d22b865f743a12a23b1e937a0be4818ee1"}, + {file = "matplotlib-3.10.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a0a7f52498f72f13d4a25ea70f35f4cb60642b466cbb0a9be951b5bc3f45a486"}, + {file = "matplotlib-3.10.8-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:646d95230efb9ca614a7a594d4fcacde0ac61d25e37dd51710b36477594963ce"}, + {file = "matplotlib-3.10.8-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f89c151aab2e2e23cb3fe0acad1e8b82841fd265379c4cecd0f3fcb34c15e0f6"}, + {file = "matplotlib-3.10.8-cp313-cp313-win_amd64.whl", hash = "sha256:e8ea3e2d4066083e264e75c829078f9e149fa119d27e19acd503de65e0b13149"}, + {file = "matplotlib-3.10.8-cp313-cp313-win_arm64.whl", hash = "sha256:c108a1d6fa78a50646029cb6d49808ff0fc1330fda87fa6f6250c6b5369b6645"}, + {file = "matplotlib-3.10.8-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:ad3d9833a64cf48cc4300f2b406c3d0f4f4724a91c0bd5640678a6ba7c102077"}, + {file = "matplotlib-3.10.8-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:eb3823f11823deade26ce3b9f40dcb4a213da7a670013929f31d5f5ed1055b22"}, + {file = "matplotlib-3.10.8-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d9050fee89a89ed57b4fb2c1bfac9a3d0c57a0d55aed95949eedbc42070fea39"}, + {file = "matplotlib-3.10.8-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b44d07310e404ba95f8c25aa5536f154c0a8ec473303535949e52eb71d0a1565"}, + {file = "matplotlib-3.10.8-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:0a33deb84c15ede243aead39f77e990469fff93ad1521163305095b77b72ce4a"}, + {file = "matplotlib-3.10.8-cp313-cp313t-win_amd64.whl", hash = "sha256:3a48a78d2786784cc2413e57397981fb45c79e968d99656706018d6e62e57958"}, + {file = "matplotlib-3.10.8-cp313-cp313t-win_arm64.whl", hash = "sha256:15d30132718972c2c074cd14638c7f4592bd98719e2308bccea40e0538bc0cb5"}, + {file = "matplotlib-3.10.8-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:b53285e65d4fa4c86399979e956235deb900be5baa7fc1218ea67fbfaeaadd6f"}, + {file = "matplotlib-3.10.8-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:32f8dce744be5569bebe789e46727946041199030db8aeb2954d26013a0eb26b"}, + {file = "matplotlib-3.10.8-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4cf267add95b1c88300d96ca837833d4112756045364f5c734a2276038dae27d"}, + {file = "matplotlib-3.10.8-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2cf5bd12cecf46908f286d7838b2abc6c91cda506c0445b8223a7c19a00df008"}, + {file = "matplotlib-3.10.8-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:41703cc95688f2516b480f7f339d8851a6035f18e100ee6a32bc0b8536a12a9c"}, + {file = "matplotlib-3.10.8-cp314-cp314-win_amd64.whl", hash = "sha256:83d282364ea9f3e52363da262ce32a09dfe241e4080dcedda3c0db059d3c1f11"}, + {file = "matplotlib-3.10.8-cp314-cp314-win_arm64.whl", hash = "sha256:2c1998e92cd5999e295a731bcb2911c75f597d937341f3030cc24ef2733d78a8"}, + {file = "matplotlib-3.10.8-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:b5a2b97dbdc7d4f353ebf343744f1d1f1cca8aa8bfddb4262fcf4306c3761d50"}, + {file = "matplotlib-3.10.8-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:3f5c3e4da343bba819f0234186b9004faba952cc420fbc522dc4e103c1985908"}, + {file = "matplotlib-3.10.8-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f62550b9a30afde8c1c3ae450e5eb547d579dd69b25c2fc7a1c67f934c1717a"}, + {file = "matplotlib-3.10.8-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:495672de149445ec1b772ff2c9ede9b769e3cb4f0d0aa7fa730d7f59e2d4e1c1"}, + {file = "matplotlib-3.10.8-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:595ba4d8fe983b88f0eec8c26a241e16d6376fe1979086232f481f8f3f67494c"}, + {file = "matplotlib-3.10.8-cp314-cp314t-win_amd64.whl", hash = "sha256:25d380fe8b1dc32cf8f0b1b448470a77afb195438bafdf1d858bfb876f3edf7b"}, + {file = "matplotlib-3.10.8-cp314-cp314t-win_arm64.whl", hash = "sha256:113bb52413ea508ce954a02c10ffd0d565f9c3bc7f2eddc27dfe1731e71c7b5f"}, + {file = "matplotlib-3.10.8-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:f97aeb209c3d2511443f8797e3e5a569aebb040d4f8bc79aa3ee78a8fb9e3dd8"}, + {file = "matplotlib-3.10.8-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:fb061f596dad3a0f52b60dc6a5dec4a0c300dec41e058a7efe09256188d170b7"}, + {file = "matplotlib-3.10.8-pp310-pypy310_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:12d90df9183093fcd479f4172ac26b322b1248b15729cb57f42f71f24c7e37a3"}, + {file = "matplotlib-3.10.8-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:6da7c2ce169267d0d066adcf63758f0604aa6c3eebf67458930f9d9b79ad1db1"}, + {file = "matplotlib-3.10.8-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:9153c3292705be9f9c64498a8872118540c3f4123d1a1c840172edf262c8be4a"}, + {file = "matplotlib-3.10.8-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ae029229a57cd1e8fe542485f27e7ca7b23aa9e8944ddb4985d0bc444f1eca2"}, + {file = "matplotlib-3.10.8.tar.gz", hash = "sha256:2299372c19d56bcd35cf05a2738308758d32b9eaed2371898d8f5bd33f084aa3"}, ] [package.dependencies] @@ -409,56 +427,159 @@ kiwisolver = ">=1.3.1" numpy = ">=1.23" packaging = ">=20.0" pillow = ">=8" -pyparsing = ">=2.3.1" +pyparsing = ">=3" python-dateutil = ">=2.7" [package.extras] -dev = ["meson-python (>=0.13.1)", "numpy (>=1.25)", "pybind11 (>=2.6)", "setuptools (>=64)", "setuptools_scm (>=7)"] +dev = ["meson-python (>=0.13.1,<0.17.0)", "pybind11 (>=2.13.2,!=2.13.3)", "setuptools (>=64)", "setuptools_scm (>=7)"] [[package]] name = "numpy" -version = "1.26.4" +version = "2.2.6" description = "Fundamental package for array computing in Python" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" groups = ["main"] +markers = "python_version < \"3.13\"" files = [ - {file = "numpy-1.26.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9ff0f4f29c51e2803569d7a51c2304de5554655a60c5d776e35b4a41413830d0"}, - {file = "numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2e4ee3380d6de9c9ec04745830fd9e2eccb3e6cf790d39d7b98ffd19b0dd754a"}, - {file = "numpy-1.26.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d209d8969599b27ad20994c8e41936ee0964e6da07478d6c35016bc386b66ad4"}, - {file = "numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ffa75af20b44f8dba823498024771d5ac50620e6915abac414251bd971b4529f"}, - {file = "numpy-1.26.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:62b8e4b1e28009ef2846b4c7852046736bab361f7aeadeb6a5b89ebec3c7055a"}, - {file = "numpy-1.26.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a4abb4f9001ad2858e7ac189089c42178fcce737e4169dc61321660f1a96c7d2"}, - {file = "numpy-1.26.4-cp310-cp310-win32.whl", hash = "sha256:bfe25acf8b437eb2a8b2d49d443800a5f18508cd811fea3181723922a8a82b07"}, - {file = "numpy-1.26.4-cp310-cp310-win_amd64.whl", hash = "sha256:b97fe8060236edf3662adfc2c633f56a08ae30560c56310562cb4f95500022d5"}, - {file = "numpy-1.26.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4c66707fabe114439db9068ee468c26bbdf909cac0fb58686a42a24de1760c71"}, - {file = "numpy-1.26.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:edd8b5fe47dab091176d21bb6de568acdd906d1887a4584a15a9a96a1dca06ef"}, - {file = "numpy-1.26.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ab55401287bfec946ced39700c053796e7cc0e3acbef09993a9ad2adba6ca6e"}, - {file = "numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:666dbfb6ec68962c033a450943ded891bed2d54e6755e35e5835d63f4f6931d5"}, - {file = "numpy-1.26.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:96ff0b2ad353d8f990b63294c8986f1ec3cb19d749234014f4e7eb0112ceba5a"}, - {file = "numpy-1.26.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:60dedbb91afcbfdc9bc0b1f3f402804070deed7392c23eb7a7f07fa857868e8a"}, - {file = "numpy-1.26.4-cp311-cp311-win32.whl", hash = "sha256:1af303d6b2210eb850fcf03064d364652b7120803a0b872f5211f5234b399f20"}, - {file = "numpy-1.26.4-cp311-cp311-win_amd64.whl", hash = "sha256:cd25bcecc4974d09257ffcd1f098ee778f7834c3ad767fe5db785be9a4aa9cb2"}, - {file = "numpy-1.26.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:b3ce300f3644fb06443ee2222c2201dd3a89ea6040541412b8fa189341847218"}, - {file = "numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:03a8c78d01d9781b28a6989f6fa1bb2c4f2d51201cf99d3dd875df6fbd96b23b"}, - {file = "numpy-1.26.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9fad7dcb1aac3c7f0584a5a8133e3a43eeb2fe127f47e3632d43d677c66c102b"}, - {file = "numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675d61ffbfa78604709862923189bad94014bef562cc35cf61d3a07bba02a7ed"}, - {file = "numpy-1.26.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab47dbe5cc8210f55aa58e4805fe224dac469cde56b9f731a4c098b91917159a"}, - {file = "numpy-1.26.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1dda2e7b4ec9dd512f84935c5f126c8bd8b9f2fc001e9f54af255e8c5f16b0e0"}, - {file = "numpy-1.26.4-cp312-cp312-win32.whl", hash = "sha256:50193e430acfc1346175fcbdaa28ffec49947a06918b7b92130744e81e640110"}, - {file = "numpy-1.26.4-cp312-cp312-win_amd64.whl", hash = "sha256:08beddf13648eb95f8d867350f6a018a4be2e5ad54c8d8caed89ebca558b2818"}, - {file = "numpy-1.26.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7349ab0fa0c429c82442a27a9673fc802ffdb7c7775fad780226cb234965e53c"}, - {file = "numpy-1.26.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:52b8b60467cd7dd1e9ed082188b4e6bb35aa5cdd01777621a1658910745b90be"}, - {file = "numpy-1.26.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d5241e0a80d808d70546c697135da2c613f30e28251ff8307eb72ba696945764"}, - {file = "numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f870204a840a60da0b12273ef34f7051e98c3b5961b61b0c2c1be6dfd64fbcd3"}, - {file = "numpy-1.26.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:679b0076f67ecc0138fd2ede3a8fd196dddc2ad3254069bcb9faf9a79b1cebcd"}, - {file = "numpy-1.26.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:47711010ad8555514b434df65f7d7b076bb8261df1ca9bb78f53d3b2db02e95c"}, - {file = "numpy-1.26.4-cp39-cp39-win32.whl", hash = "sha256:a354325ee03388678242a4d7ebcd08b5c727033fcff3b2f536aea978e15ee9e6"}, - {file = "numpy-1.26.4-cp39-cp39-win_amd64.whl", hash = "sha256:3373d5d70a5fe74a2c1bb6d2cfd9609ecf686d47a2d7b1d37a8f3b6bf6003aea"}, - {file = "numpy-1.26.4-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:afedb719a9dcfc7eaf2287b839d8198e06dcd4cb5d276a3df279231138e83d30"}, - {file = "numpy-1.26.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:95a7476c59002f2f6c590b9b7b998306fba6a5aa646b1e22ddfeaf8f78c3a29c"}, - {file = "numpy-1.26.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:7e50d0a0cc3189f9cb0aeb3a6a6af18c16f59f004b866cd2be1c14b36134a4a0"}, - {file = "numpy-1.26.4.tar.gz", hash = "sha256:2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010"}, + {file = "numpy-2.2.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b412caa66f72040e6d268491a59f2c43bf03eb6c96dd8f0307829feb7fa2b6fb"}, + {file = "numpy-2.2.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8e41fd67c52b86603a91c1a505ebaef50b3314de0213461c7a6e99c9a3beff90"}, + {file = "numpy-2.2.6-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:37e990a01ae6ec7fe7fa1c26c55ecb672dd98b19c3d0e1d1f326fa13cb38d163"}, + {file = "numpy-2.2.6-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:5a6429d4be8ca66d889b7cf70f536a397dc45ba6faeb5f8c5427935d9592e9cf"}, + {file = "numpy-2.2.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:efd28d4e9cd7d7a8d39074a4d44c63eda73401580c5c76acda2ce969e0a38e83"}, + {file = "numpy-2.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc7b73d02efb0e18c000e9ad8b83480dfcd5dfd11065997ed4c6747470ae8915"}, + {file = "numpy-2.2.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:74d4531beb257d2c3f4b261bfb0fc09e0f9ebb8842d82a7b4209415896adc680"}, + {file = "numpy-2.2.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8fc377d995680230e83241d8a96def29f204b5782f371c532579b4f20607a289"}, + {file = "numpy-2.2.6-cp310-cp310-win32.whl", hash = "sha256:b093dd74e50a8cba3e873868d9e93a85b78e0daf2e98c6797566ad8044e8363d"}, + {file = "numpy-2.2.6-cp310-cp310-win_amd64.whl", hash = "sha256:f0fd6321b839904e15c46e0d257fdd101dd7f530fe03fd6359c1ea63738703f3"}, + {file = "numpy-2.2.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f9f1adb22318e121c5c69a09142811a201ef17ab257a1e66ca3025065b7f53ae"}, + {file = "numpy-2.2.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c820a93b0255bc360f53eca31a0e676fd1101f673dda8da93454a12e23fc5f7a"}, + {file = "numpy-2.2.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:3d70692235e759f260c3d837193090014aebdf026dfd167834bcba43e30c2a42"}, + {file = "numpy-2.2.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:481b49095335f8eed42e39e8041327c05b0f6f4780488f61286ed3c01368d491"}, + {file = "numpy-2.2.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b64d8d4d17135e00c8e346e0a738deb17e754230d7e0810ac5012750bbd85a5a"}, + {file = "numpy-2.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba10f8411898fc418a521833e014a77d3ca01c15b0c6cdcce6a0d2897e6dbbdf"}, + {file = "numpy-2.2.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:bd48227a919f1bafbdda0583705e547892342c26fb127219d60a5c36882609d1"}, + {file = "numpy-2.2.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9551a499bf125c1d4f9e250377c1ee2eddd02e01eac6644c080162c0c51778ab"}, + {file = "numpy-2.2.6-cp311-cp311-win32.whl", hash = "sha256:0678000bb9ac1475cd454c6b8c799206af8107e310843532b04d49649c717a47"}, + {file = "numpy-2.2.6-cp311-cp311-win_amd64.whl", hash = "sha256:e8213002e427c69c45a52bbd94163084025f533a55a59d6f9c5b820774ef3303"}, + {file = "numpy-2.2.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:41c5a21f4a04fa86436124d388f6ed60a9343a6f767fced1a8a71c3fbca038ff"}, + {file = "numpy-2.2.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:de749064336d37e340f640b05f24e9e3dd678c57318c7289d222a8a2f543e90c"}, + {file = "numpy-2.2.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:894b3a42502226a1cac872f840030665f33326fc3dac8e57c607905773cdcde3"}, + {file = "numpy-2.2.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:71594f7c51a18e728451bb50cc60a3ce4e6538822731b2933209a1f3614e9282"}, + {file = "numpy-2.2.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f2618db89be1b4e05f7a1a847a9c1c0abd63e63a1607d892dd54668dd92faf87"}, + {file = "numpy-2.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd83c01228a688733f1ded5201c678f0c53ecc1006ffbc404db9f7a899ac6249"}, + {file = "numpy-2.2.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:37c0ca431f82cd5fa716eca9506aefcabc247fb27ba69c5062a6d3ade8cf8f49"}, + {file = "numpy-2.2.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fe27749d33bb772c80dcd84ae7e8df2adc920ae8297400dabec45f0dedb3f6de"}, + {file = "numpy-2.2.6-cp312-cp312-win32.whl", hash = "sha256:4eeaae00d789f66c7a25ac5f34b71a7035bb474e679f410e5e1a94deb24cf2d4"}, + {file = "numpy-2.2.6-cp312-cp312-win_amd64.whl", hash = "sha256:c1f9540be57940698ed329904db803cf7a402f3fc200bfe599334c9bd84a40b2"}, + {file = "numpy-2.2.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0811bb762109d9708cca4d0b13c4f67146e3c3b7cf8d34018c722adb2d957c84"}, + {file = "numpy-2.2.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:287cc3162b6f01463ccd86be154f284d0893d2b3ed7292439ea97eafa8170e0b"}, + {file = "numpy-2.2.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f1372f041402e37e5e633e586f62aa53de2eac8d98cbfb822806ce4bbefcb74d"}, + {file = "numpy-2.2.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:55a4d33fa519660d69614a9fad433be87e5252f4b03850642f88993f7b2ca566"}, + {file = "numpy-2.2.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f92729c95468a2f4f15e9bb94c432a9229d0d50de67304399627a943201baa2f"}, + {file = "numpy-2.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1bc23a79bfabc5d056d106f9befb8d50c31ced2fbc70eedb8155aec74a45798f"}, + {file = "numpy-2.2.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e3143e4451880bed956e706a3220b4e5cf6172ef05fcc397f6f36a550b1dd868"}, + {file = "numpy-2.2.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b4f13750ce79751586ae2eb824ba7e1e8dba64784086c98cdbbcc6a42112ce0d"}, + {file = "numpy-2.2.6-cp313-cp313-win32.whl", hash = "sha256:5beb72339d9d4fa36522fc63802f469b13cdbe4fdab4a288f0c441b74272ebfd"}, + {file = "numpy-2.2.6-cp313-cp313-win_amd64.whl", hash = "sha256:b0544343a702fa80c95ad5d3d608ea3599dd54d4632df855e4c8d24eb6ecfa1c"}, + {file = "numpy-2.2.6-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0bca768cd85ae743b2affdc762d617eddf3bcf8724435498a1e80132d04879e6"}, + {file = "numpy-2.2.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:fc0c5673685c508a142ca65209b4e79ed6740a4ed6b2267dbba90f34b0b3cfda"}, + {file = "numpy-2.2.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:5bd4fc3ac8926b3819797a7c0e2631eb889b4118a9898c84f585a54d475b7e40"}, + {file = "numpy-2.2.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:fee4236c876c4e8369388054d02d0e9bb84821feb1a64dd59e137e6511a551f8"}, + {file = "numpy-2.2.6-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e1dda9c7e08dc141e0247a5b8f49cf05984955246a327d4c48bda16821947b2f"}, + {file = "numpy-2.2.6-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f447e6acb680fd307f40d3da4852208af94afdfab89cf850986c3ca00562f4fa"}, + {file = "numpy-2.2.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:389d771b1623ec92636b0786bc4ae56abafad4a4c513d36a55dce14bd9ce8571"}, + {file = "numpy-2.2.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8e9ace4a37db23421249ed236fdcdd457d671e25146786dfc96835cd951aa7c1"}, + {file = "numpy-2.2.6-cp313-cp313t-win32.whl", hash = "sha256:038613e9fb8c72b0a41f025a7e4c3f0b7a1b5d768ece4796b674c8f3fe13efff"}, + {file = "numpy-2.2.6-cp313-cp313t-win_amd64.whl", hash = "sha256:6031dd6dfecc0cf9f668681a37648373bddd6421fff6c66ec1624eed0180ee06"}, + {file = "numpy-2.2.6-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0b605b275d7bd0c640cad4e5d30fa701a8d59302e127e5f79138ad62762c3e3d"}, + {file = "numpy-2.2.6-pp310-pypy310_pp73-macosx_14_0_x86_64.whl", hash = "sha256:7befc596a7dc9da8a337f79802ee8adb30a552a94f792b9c9d18c840055907db"}, + {file = "numpy-2.2.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce47521a4754c8f4593837384bd3424880629f718d87c5d44f8ed763edd63543"}, + {file = "numpy-2.2.6-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d042d24c90c41b54fd506da306759e06e568864df8ec17ccc17e9e884634fd00"}, + {file = "numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd"}, +] + +[[package]] +name = "numpy" +version = "2.4.2" +description = "Fundamental package for array computing in Python" +optional = false +python-versions = ">=3.11" +groups = ["main"] +markers = "python_version >= \"3.13\"" +files = [ + {file = "numpy-2.4.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e7e88598032542bd49af7c4747541422884219056c268823ef6e5e89851c8825"}, + {file = "numpy-2.4.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7edc794af8b36ca37ef5fcb5e0d128c7e0595c7b96a2318d1badb6fcd8ee86b1"}, + {file = "numpy-2.4.2-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:6e9f61981ace1360e42737e2bae58b27bf28a1b27e781721047d84bd754d32e7"}, + {file = "numpy-2.4.2-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:cb7bbb88aa74908950d979eeaa24dbdf1a865e3c7e45ff0121d8f70387b55f73"}, + {file = "numpy-2.4.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4f069069931240b3fc703f1e23df63443dbd6390614c8c44a87d96cd0ec81eb1"}, + {file = "numpy-2.4.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c02ef4401a506fb60b411467ad501e1429a3487abca4664871d9ae0b46c8ba32"}, + {file = "numpy-2.4.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2653de5c24910e49c2b106499803124dde62a5a1fe0eedeaecf4309a5f639390"}, + {file = "numpy-2.4.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1ae241bbfc6ae276f94a170b14785e561cb5e7f626b6688cf076af4110887413"}, + {file = "numpy-2.4.2-cp311-cp311-win32.whl", hash = "sha256:df1b10187212b198dd45fa943d8985a3c8cf854aed4923796e0e019e113a1bda"}, + {file = "numpy-2.4.2-cp311-cp311-win_amd64.whl", hash = "sha256:b9c618d56a29c9cb1c4da979e9899be7578d2e0b3c24d52079c166324c9e8695"}, + {file = "numpy-2.4.2-cp311-cp311-win_arm64.whl", hash = "sha256:47c5a6ed21d9452b10227e5e8a0e1c22979811cad7dcc19d8e3e2fb8fa03f1a3"}, + {file = "numpy-2.4.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:21982668592194c609de53ba4933a7471880ccbaadcc52352694a59ecc860b3a"}, + {file = "numpy-2.4.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40397bda92382fcec844066efb11f13e1c9a3e2a8e8f318fb72ed8b6db9f60f1"}, + {file = "numpy-2.4.2-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:b3a24467af63c67829bfaa61eecf18d5432d4f11992688537be59ecd6ad32f5e"}, + {file = "numpy-2.4.2-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:805cc8de9fd6e7a22da5aed858e0ab16be5a4db6c873dde1d7451c541553aa27"}, + {file = "numpy-2.4.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6d82351358ffbcdcd7b686b90742a9b86632d6c1c051016484fa0b326a0a1548"}, + {file = "numpy-2.4.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9e35d3e0144137d9fdae62912e869136164534d64a169f86438bc9561b6ad49f"}, + {file = "numpy-2.4.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:adb6ed2ad29b9e15321d167d152ee909ec73395901b70936f029c3bc6d7f4460"}, + {file = "numpy-2.4.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8906e71fd8afcb76580404e2a950caef2685df3d2a57fe82a86ac8d33cc007ba"}, + {file = "numpy-2.4.2-cp312-cp312-win32.whl", hash = "sha256:ec055f6dae239a6299cace477b479cca2fc125c5675482daf1dd886933a1076f"}, + {file = "numpy-2.4.2-cp312-cp312-win_amd64.whl", hash = "sha256:209fae046e62d0ce6435fcfe3b1a10537e858249b3d9b05829e2a05218296a85"}, + {file = "numpy-2.4.2-cp312-cp312-win_arm64.whl", hash = "sha256:fbde1b0c6e81d56f5dccd95dd4a711d9b95df1ae4009a60887e56b27e8d903fa"}, + {file = "numpy-2.4.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:25f2059807faea4b077a2b6837391b5d830864b3543627f381821c646f31a63c"}, + {file = "numpy-2.4.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bd3a7a9f5847d2fb8c2c6d1c862fa109c31a9abeca1a3c2bd5a64572955b2979"}, + {file = "numpy-2.4.2-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:8e4549f8a3c6d13d55041925e912bfd834285ef1dd64d6bc7d542583355e2e98"}, + {file = "numpy-2.4.2-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:aea4f66ff44dfddf8c2cffd66ba6538c5ec67d389285292fe428cb2c738c8aef"}, + {file = "numpy-2.4.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c3cd545784805de05aafe1dde61752ea49a359ccba9760c1e5d1c88a93bbf2b7"}, + {file = "numpy-2.4.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d0d9b7c93578baafcbc5f0b83eaf17b79d345c6f36917ba0c67f45226911d499"}, + {file = "numpy-2.4.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f74f0f7779cc7ae07d1810aab8ac6b1464c3eafb9e283a40da7309d5e6e48fbb"}, + {file = "numpy-2.4.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c7ac672d699bf36275c035e16b65539931347d68b70667d28984c9fb34e07fa7"}, + {file = "numpy-2.4.2-cp313-cp313-win32.whl", hash = "sha256:8e9afaeb0beff068b4d9cd20d322ba0ee1cecfb0b08db145e4ab4dd44a6b5110"}, + {file = "numpy-2.4.2-cp313-cp313-win_amd64.whl", hash = "sha256:7df2de1e4fba69a51c06c28f5a3de36731eb9639feb8e1cf7e4a7b0daf4cf622"}, + {file = "numpy-2.4.2-cp313-cp313-win_arm64.whl", hash = "sha256:0fece1d1f0a89c16b03442eae5c56dc0be0c7883b5d388e0c03f53019a4bfd71"}, + {file = "numpy-2.4.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5633c0da313330fd20c484c78cdd3f9b175b55e1a766c4a174230c6b70ad8262"}, + {file = "numpy-2.4.2-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:d9f64d786b3b1dd742c946c42d15b07497ed14af1a1f3ce840cce27daa0ce913"}, + {file = "numpy-2.4.2-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:b21041e8cb6a1eb5312dd1d2f80a94d91efffb7a06b70597d44f1bd2dfc315ab"}, + {file = "numpy-2.4.2-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:00ab83c56211a1d7c07c25e3217ea6695e50a3e2f255053686b081dc0b091a82"}, + {file = "numpy-2.4.2-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2fb882da679409066b4603579619341c6d6898fc83a8995199d5249f986e8e8f"}, + {file = "numpy-2.4.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:66cb9422236317f9d44b67b4d18f44efe6e9c7f8794ac0462978513359461554"}, + {file = "numpy-2.4.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:0f01dcf33e73d80bd8dc0f20a71303abbafa26a19e23f6b68d1aa9990af90257"}, + {file = "numpy-2.4.2-cp313-cp313t-win32.whl", hash = "sha256:52b913ec40ff7ae845687b0b34d8d93b60cb66dcee06996dd5c99f2fc9328657"}, + {file = "numpy-2.4.2-cp313-cp313t-win_amd64.whl", hash = "sha256:5eea80d908b2c1f91486eb95b3fb6fab187e569ec9752ab7d9333d2e66bf2d6b"}, + {file = "numpy-2.4.2-cp313-cp313t-win_arm64.whl", hash = "sha256:fd49860271d52127d61197bb50b64f58454e9f578cb4b2c001a6de8b1f50b0b1"}, + {file = "numpy-2.4.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:444be170853f1f9d528428eceb55f12918e4fda5d8805480f36a002f1415e09b"}, + {file = "numpy-2.4.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:d1240d50adff70c2a88217698ca844723068533f3f5c5fa6ee2e3220e3bdb000"}, + {file = "numpy-2.4.2-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:7cdde6de52fb6664b00b056341265441192d1291c130e99183ec0d4b110ff8b1"}, + {file = "numpy-2.4.2-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:cda077c2e5b780200b6b3e09d0b42205a3d1c68f30c6dceb90401c13bff8fe74"}, + {file = "numpy-2.4.2-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d30291931c915b2ab5717c2974bb95ee891a1cf22ebc16a8006bd59cd210d40a"}, + {file = "numpy-2.4.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bba37bc29d4d85761deed3954a1bc62be7cf462b9510b51d367b769a8c8df325"}, + {file = "numpy-2.4.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b2f0073ed0868db1dcd86e052d37279eef185b9c8db5bf61f30f46adac63c909"}, + {file = "numpy-2.4.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7f54844851cdb630ceb623dcec4db3240d1ac13d4990532446761baede94996a"}, + {file = "numpy-2.4.2-cp314-cp314-win32.whl", hash = "sha256:12e26134a0331d8dbd9351620f037ec470b7c75929cb8a1537f6bfe411152a1a"}, + {file = "numpy-2.4.2-cp314-cp314-win_amd64.whl", hash = "sha256:068cdb2d0d644cdb45670810894f6a0600797a69c05f1ac478e8d31670b8ee75"}, + {file = "numpy-2.4.2-cp314-cp314-win_arm64.whl", hash = "sha256:6ed0be1ee58eef41231a5c943d7d1375f093142702d5723ca2eb07db9b934b05"}, + {file = "numpy-2.4.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:98f16a80e917003a12c0580f97b5f875853ebc33e2eaa4bccfc8201ac6869308"}, + {file = "numpy-2.4.2-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:20abd069b9cda45874498b245c8015b18ace6de8546bf50dfa8cea1696ed06ef"}, + {file = "numpy-2.4.2-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:e98c97502435b53741540a5717a6749ac2ada901056c7db951d33e11c885cc7d"}, + {file = "numpy-2.4.2-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:da6cad4e82cb893db4b69105c604d805e0c3ce11501a55b5e9f9083b47d2ffe8"}, + {file = "numpy-2.4.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9e4424677ce4b47fe73c8b5556d876571f7c6945d264201180db2dc34f676ab5"}, + {file = "numpy-2.4.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2b8f157c8a6f20eb657e240f8985cc135598b2b46985c5bccbde7616dc9c6b1e"}, + {file = "numpy-2.4.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5daf6f3914a733336dab21a05cdec343144600e964d2fcdabaac0c0269874b2a"}, + {file = "numpy-2.4.2-cp314-cp314t-win32.whl", hash = "sha256:8c50dd1fc8826f5b26a5ee4d77ca55d88a895f4e4819c7ecc2a9f5905047a443"}, + {file = "numpy-2.4.2-cp314-cp314t-win_amd64.whl", hash = "sha256:fcf92bee92742edd401ba41135185866f7026c502617f422eb432cfeca4fe236"}, + {file = "numpy-2.4.2-cp314-cp314t-win_arm64.whl", hash = "sha256:1f92f53998a17265194018d1cc321b2e96e900ca52d54c7c77837b71b9465181"}, + {file = "numpy-2.4.2-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:89f7268c009bc492f506abd6f5265defa7cb3f7487dc21d357c3d290add45082"}, + {file = "numpy-2.4.2-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:e6dee3bb76aa4009d5a912180bf5b2de012532998d094acee25d9cb8dee3e44a"}, + {file = "numpy-2.4.2-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:cd2bd2bbed13e213d6b55dc1d035a4f91748a7d3edc9480c13898b0353708920"}, + {file = "numpy-2.4.2-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:cf28c0c1d4c4bf00f509fa7eb02c58d7caf221b50b467bcb0d9bbf1584d5c821"}, + {file = "numpy-2.4.2-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e04ae107ac591763a47398bb45b568fc38f02dbc4aa44c063f67a131f99346cb"}, + {file = "numpy-2.4.2-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:602f65afdef699cda27ec0b9224ae5dc43e328f4c24c689deaf77133dbee74d0"}, + {file = "numpy-2.4.2-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:be71bf1edb48ebbbf7f6337b5bfd2f895d1902f6335a5830b20141fc126ffba0"}, + {file = "numpy-2.4.2.tar.gz", hash = "sha256:659a6107e31a83c4e33f763942275fd278b21d095094044eb35569e86a21ddae"}, ] [[package]] @@ -724,6 +845,21 @@ files = [ [package.dependencies] typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" +[[package]] +name = "pygments" +version = "2.19.2" +description = "Pygments is a syntax highlighting package written in Python." +optional = false +python-versions = ">=3.8" +groups = ["dev"] +files = [ + {file = "pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b"}, + {file = "pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887"}, +] + +[package.extras] +windows-terminal = ["colorama (>=0.4.6)"] + [[package]] name = "pyparsing" version = "3.2.0" @@ -741,26 +877,27 @@ diagrams = ["jinja2", "railroad-diagrams"] [[package]] name = "pytest" -version = "7.4.4" +version = "8.4.2" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.7" +python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8"}, - {file = "pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280"}, + {file = "pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79"}, + {file = "pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"}, ] [package.dependencies] -colorama = {version = "*", markers = "sys_platform == \"win32\""} -exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} -iniconfig = "*" -packaging = "*" -pluggy = ">=0.12,<2.0" -tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} +colorama = {version = ">=0.4", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1", markers = "python_version < \"3.11\""} +iniconfig = ">=1" +packaging = ">=20" +pluggy = ">=1.5,<2" +pygments = ">=2.7.2" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] -testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "requests", "setuptools", "xmlschema"] [[package]] name = "pytest-dotenv" @@ -795,14 +932,14 @@ six = ">=1.5" [[package]] name = "python-dotenv" -version = "1.0.1" +version = "1.2.1" description = "Read key-value pairs from a .env file and set them as environment variables" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca"}, - {file = "python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a"}, + {file = "python_dotenv-1.2.1-py3-none-any.whl", hash = "sha256:b81ee9561e9ca4004139c6cbba3a238c32b03e4894671e181b671e8cb8425d61"}, + {file = "python_dotenv-1.2.1.tar.gz", hash = "sha256:42667e897e16ab0d66954af0e60a9caa94f0fd4ecf3aaf6d2d260eec1aa36ad6"}, ] [package.extras] @@ -850,15 +987,60 @@ files = [ [[package]] name = "tomli" -version = "2.0.2" +version = "2.4.0" description = "A lil' TOML parser" optional = false python-versions = ">=3.8" groups = ["dev"] -markers = "python_version == \"3.10\"" +markers = "python_version < \"3.11\"" files = [ - {file = "tomli-2.0.2-py3-none-any.whl", hash = "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38"}, - {file = "tomli-2.0.2.tar.gz", hash = "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed"}, + {file = "tomli-2.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b5ef256a3fd497d4973c11bf142e9ed78b150d36f5773f1ca6088c230ffc5867"}, + {file = "tomli-2.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5572e41282d5268eb09a697c89a7bee84fae66511f87533a6f88bd2f7b652da9"}, + {file = "tomli-2.4.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:551e321c6ba03b55676970b47cb1b73f14a0a4dce6a3e1a9458fd6d921d72e95"}, + {file = "tomli-2.4.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5e3f639a7a8f10069d0e15408c0b96a2a828cfdec6fca05296ebcdcc28ca7c76"}, + {file = "tomli-2.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1b168f2731796b045128c45982d3a4874057626da0e2ef1fdd722848b741361d"}, + {file = "tomli-2.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:133e93646ec4300d651839d382d63edff11d8978be23da4cc106f5a18b7d0576"}, + {file = "tomli-2.4.0-cp311-cp311-win32.whl", hash = "sha256:b6c78bdf37764092d369722d9946cb65b8767bfa4110f902a1b2542d8d173c8a"}, + {file = "tomli-2.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:d3d1654e11d724760cdb37a3d7691f0be9db5fbdaef59c9f532aabf87006dbaa"}, + {file = "tomli-2.4.0-cp311-cp311-win_arm64.whl", hash = "sha256:cae9c19ed12d4e8f3ebf46d1a75090e4c0dc16271c5bce1c833ac168f08fb614"}, + {file = "tomli-2.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:920b1de295e72887bafa3ad9f7a792f811847d57ea6b1215154030cf131f16b1"}, + {file = "tomli-2.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7d6d9a4aee98fac3eab4952ad1d73aee87359452d1c086b5ceb43ed02ddb16b8"}, + {file = "tomli-2.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:36b9d05b51e65b254ea6c2585b59d2c4cb91c8a3d91d0ed0f17591a29aaea54a"}, + {file = "tomli-2.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c8a885b370751837c029ef9bc014f27d80840e48bac415f3412e6593bbc18c1"}, + {file = "tomli-2.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8768715ffc41f0008abe25d808c20c3d990f42b6e2e58305d5da280ae7d1fa3b"}, + {file = "tomli-2.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b438885858efd5be02a9a133caf5812b8776ee0c969fea02c45e8e3f296ba51"}, + {file = "tomli-2.4.0-cp312-cp312-win32.whl", hash = "sha256:0408e3de5ec77cc7f81960c362543cbbd91ef883e3138e81b729fc3eea5b9729"}, + {file = "tomli-2.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:685306e2cc7da35be4ee914fd34ab801a6acacb061b6a7abca922aaf9ad368da"}, + {file = "tomli-2.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:5aa48d7c2356055feef06a43611fc401a07337d5b006be13a30f6c58f869e3c3"}, + {file = "tomli-2.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:84d081fbc252d1b6a982e1870660e7330fb8f90f676f6e78b052ad4e64714bf0"}, + {file = "tomli-2.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9a08144fa4cba33db5255f9b74f0b89888622109bd2776148f2597447f92a94e"}, + {file = "tomli-2.4.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c73add4bb52a206fd0c0723432db123c0c75c280cbd67174dd9d2db228ebb1b4"}, + {file = "tomli-2.4.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fb2945cbe303b1419e2706e711b7113da57b7db31ee378d08712d678a34e51e"}, + {file = "tomli-2.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bbb1b10aa643d973366dc2cb1ad94f99c1726a02343d43cbc011edbfac579e7c"}, + {file = "tomli-2.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4cbcb367d44a1f0c2be408758b43e1ffb5308abe0ea222897d6bfc8e8281ef2f"}, + {file = "tomli-2.4.0-cp313-cp313-win32.whl", hash = "sha256:7d49c66a7d5e56ac959cb6fc583aff0651094ec071ba9ad43df785abc2320d86"}, + {file = "tomli-2.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:3cf226acb51d8f1c394c1b310e0e0e61fecdd7adcb78d01e294ac297dd2e7f87"}, + {file = "tomli-2.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:d20b797a5c1ad80c516e41bc1fb0443ddb5006e9aaa7bda2d71978346aeb9132"}, + {file = "tomli-2.4.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:26ab906a1eb794cd4e103691daa23d95c6919cc2fa9160000ac02370cc9dd3f6"}, + {file = "tomli-2.4.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:20cedb4ee43278bc4f2fee6cb50daec836959aadaf948db5172e776dd3d993fc"}, + {file = "tomli-2.4.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:39b0b5d1b6dd03684b3fb276407ebed7090bbec989fa55838c98560c01113b66"}, + {file = "tomli-2.4.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a26d7ff68dfdb9f87a016ecfd1e1c2bacbe3108f4e0f8bcd2228ef9a766c787d"}, + {file = "tomli-2.4.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:20ffd184fb1df76a66e34bd1b36b4a4641bd2b82954befa32fe8163e79f1a702"}, + {file = "tomli-2.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:75c2f8bbddf170e8effc98f5e9084a8751f8174ea6ccf4fca5398436e0320bc8"}, + {file = "tomli-2.4.0-cp314-cp314-win32.whl", hash = "sha256:31d556d079d72db7c584c0627ff3a24c5d3fb4f730221d3444f3efb1b2514776"}, + {file = "tomli-2.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:43e685b9b2341681907759cf3a04e14d7104b3580f808cfde1dfdb60ada85475"}, + {file = "tomli-2.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:3d895d56bd3f82ddd6faaff993c275efc2ff38e52322ea264122d72729dca2b2"}, + {file = "tomli-2.4.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:5b5807f3999fb66776dbce568cc9a828544244a8eb84b84b9bafc080c99597b9"}, + {file = "tomli-2.4.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c084ad935abe686bd9c898e62a02a19abfc9760b5a79bc29644463eaf2840cb0"}, + {file = "tomli-2.4.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0f2e3955efea4d1cfbcb87bc321e00dc08d2bcb737fd1d5e398af111d86db5df"}, + {file = "tomli-2.4.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0e0fe8a0b8312acf3a88077a0802565cb09ee34107813bba1c7cd591fa6cfc8d"}, + {file = "tomli-2.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:413540dce94673591859c4c6f794dfeaa845e98bf35d72ed59636f869ef9f86f"}, + {file = "tomli-2.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0dc56fef0e2c1c470aeac5b6ca8cc7b640bb93e92d9803ddaf9ea03e198f5b0b"}, + {file = "tomli-2.4.0-cp314-cp314t-win32.whl", hash = "sha256:d878f2a6707cc9d53a1be1414bbb419e629c3d6e67f69230217bb663e76b5087"}, + {file = "tomli-2.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2add28aacc7425117ff6364fe9e06a183bb0251b03f986df0e78e974047571fd"}, + {file = "tomli-2.4.0-cp314-cp314t-win_arm64.whl", hash = "sha256:2b1e3b80e1d5e52e40e9b924ec43d81570f0e7d09d11081b797bc4692765a3d4"}, + {file = "tomli-2.4.0-py3-none-any.whl", hash = "sha256:1f776e7d669ebceb01dee46484485f43a4048746235e683bcdffacdf1fb4785a"}, + {file = "tomli-2.4.0.tar.gz", hash = "sha256:aa89c3f6c277dd275d8e243ad24f3b5e701491a860d5121f2cdd399fbb31fc9c"}, ] [[package]] @@ -867,13 +1049,14 @@ version = "4.12.2" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" -groups = ["main"] +groups = ["main", "dev"] files = [ {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] +markers = {dev = "python_version < \"3.11\""} [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "068c79d18500bf2148afd71e659d29f5cff8a7bc089ddba56de911ba31714bdd" +content-hash = "7c5ae094b100602377714f266326fd947b979c004c0bd1dcaf915f290f63069b" diff --git a/chart_data_extractor/pyproject.toml b/chart_data_extractor/pyproject.toml index 1f33bbd0..a92a86ea 100644 --- a/chart_data_extractor/pyproject.toml +++ b/chart_data_extractor/pyproject.toml @@ -12,13 +12,13 @@ packages = [{ include = "e2b_charts" }] [tool.poetry.dependencies] python = "^3.10" -numpy = "^1.26.4" -matplotlib = "^3.9.2" -pydantic = "^2.8.2" +numpy = "^2.2.6" +matplotlib = "^3.10.3" +pydantic = "^2.9.1" [tool.poetry.group.dev.dependencies] -pytest = "^7.4.0" -python-dotenv = "^1.0.0" +pytest = "^8.3.5" +python-dotenv = "^1.2.1" pytest-dotenv = "^0.5.2" ruff = "^0.11.12" @@ -31,4 +31,4 @@ build-backend = "poetry.core.masonry.api" "Bug Tracker" = "https://github.com/e2b-dev/code-interpreter/issues" [tool.ruff.lint] -ignore = ["F401", "F403"] \ No newline at end of file +ignore = ["F401", "F403"] From aa7e267df59e0957ee1352c27574679e2d1196a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 12 Mar 2026 09:58:51 +0000 Subject: [PATCH 08/83] [skip ci] Release new versions --- .changeset/dry-lions-stare.md | 5 - chart_data_extractor/package.json | 2 +- chart_data_extractor/pyproject.toml | 2 +- .../v2.4.1/sandbox/page.mdx | 492 +++++++++--------- 4 files changed, 248 insertions(+), 253 deletions(-) delete mode 100644 .changeset/dry-lions-stare.md diff --git a/.changeset/dry-lions-stare.md b/.changeset/dry-lions-stare.md deleted file mode 100644 index 39666ae2..00000000 --- a/.changeset/dry-lions-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2b/data-extractor': major ---- - -updated dependencies to latest diff --git a/chart_data_extractor/package.json b/chart_data_extractor/package.json index 4015fd6a..89927490 100644 --- a/chart_data_extractor/package.json +++ b/chart_data_extractor/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/data-extractor", "private": true, - "version": "0.0.4", + "version": "1.0.0", "scripts": { "test": "poetry run pytest -n 4 --verbose -x", "example": "poetry run python3 example.py", diff --git a/chart_data_extractor/pyproject.toml b/chart_data_extractor/pyproject.toml index a92a86ea..1604bbac 100644 --- a/chart_data_extractor/pyproject.toml +++ b/chart_data_extractor/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "e2b-charts" -version = "0.0.4" +version = "1.0.0" description = "Package for extracting data for E2B Code Interpreter" authors = ["e2b "] license = "MIT" diff --git a/sdk-reference/code-interpreter-python-sdk/v2.4.1/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v2.4.1/sandbox/page.mdx index d6466bf3..f668374c 100644 --- a/sdk-reference/code-interpreter-python-sdk/v2.4.1/sandbox/page.mdx +++ b/sdk-reference/code-interpreter-python-sdk/v2.4.1/sandbox/page.mdx @@ -3,252 +3,6 @@ -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox.create() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - -### remove\_code\_context - -```python -def remove_code_context(context: Union[Context, str]) -> None -``` - -Removes a context. - -**Arguments**: - -- `context`: Context to remove. Can be a Context object or a context ID string. - -**Returns**: - -None - - -### list\_code\_contexts - -```python -def list_code_contexts() -> List[Context] -``` - -List all contexts. - -**Returns**: - -List of contexts. - - -### restart\_code\_context - -```python -def restart_code_context(context: Union[Context, str]) -> None -``` - -Restart a context. - -**Arguments**: - -- `context`: Context to restart. Can be a Context object or a context ID string. - -**Returns**: - -None - - - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - ## AsyncSandbox ```python @@ -817,3 +571,249 @@ The language of the context. The working directory of the context. + + + +## Sandbox + +```python +class Sandbox(BaseSandbox) +``` + +E2B cloud sandbox is a secure and isolated cloud environment. + +The sandbox allows you to: +- Access Linux OS +- Create, list, and delete files and directories +- Run commands +- Run isolated code +- Access the internet + +Check docs [here](https://e2b.dev/docs). + +Use the `Sandbox.create()` to create a new sandbox. + +**Example**: + +```python +from e2b_code_interpreter import Sandbox + +sandbox = Sandbox.create() +``` + + +### run\_code + +```python +@overload +def run_code(code: str, + language: Union[Literal["python"], None] = None, + on_stdout: Optional[OutputHandler[OutputMessage]] = None, + on_stderr: Optional[OutputHandler[OutputMessage]] = None, + on_result: Optional[OutputHandler[Result]] = None, + on_error: Optional[OutputHandler[ExecutionError]] = None, + envs: Optional[Dict[str, str]] = None, + timeout: Optional[float] = None, + request_timeout: Optional[float] = None) -> Execution +``` + +Runs the code as Python. + +Specify the `language` or `context` option to run the code as a different language or in a different `Context`. + +You can reference previously defined variables, imports, and functions in the code. + +**Arguments**: + +- `code`: Code to execute +- `language`: Language to use for code execution. If not defined, the default Python context is used. +- `on_stdout`: Callback for stdout messages +- `on_stderr`: Callback for stderr messages +- `on_result`: Callback for the `Result` object +- `on_error`: Callback for the `ExecutionError` object +- `envs`: Custom environment variables +- `timeout`: Timeout for the code execution in **seconds** +- `request_timeout`: Timeout for the request in **seconds** + +**Returns**: + +`Execution` result object + + +### run\_code + +```python +@overload +def run_code(code: str, + language: Optional[str] = None, + on_stdout: Optional[OutputHandler[OutputMessage]] = None, + on_stderr: Optional[OutputHandler[OutputMessage]] = None, + on_result: Optional[OutputHandler[Result]] = None, + on_error: Optional[OutputHandler[ExecutionError]] = None, + envs: Optional[Dict[str, str]] = None, + timeout: Optional[float] = None, + request_timeout: Optional[float] = None) -> Execution +``` + +Runs the code for the specified language. + +Specify the `language` or `context` option to run the code as a different language or in a different `Context`. +If no language is specified, Python is used. + +You can reference previously defined variables, imports, and functions in the code. + +**Arguments**: + +- `code`: Code to execute +- `language`: Language to use for code execution. If not defined, the default Python context is used. +- `on_stdout`: Callback for stdout messages +- `on_stderr`: Callback for stderr messages +- `on_result`: Callback for the `Result` object +- `on_error`: Callback for the `ExecutionError` object +- `envs`: Custom environment variables +- `timeout`: Timeout for the code execution in **seconds** +- `request_timeout`: Timeout for the request in **seconds** + +**Returns**: + +`Execution` result object + + +### run\_code + +```python +@overload +def run_code(code: str, + context: Optional[Context] = None, + on_stdout: Optional[OutputHandler[OutputMessage]] = None, + on_stderr: Optional[OutputHandler[OutputMessage]] = None, + on_result: Optional[OutputHandler[Result]] = None, + on_error: Optional[OutputHandler[ExecutionError]] = None, + envs: Optional[Dict[str, str]] = None, + timeout: Optional[float] = None, + request_timeout: Optional[float] = None) -> Execution +``` + +Runs the code in the specified context, if not specified, the default context is used. + +Specify the `language` or `context` option to run the code as a different language or in a different `Context`. + +You can reference previously defined variables, imports, and functions in the code. + +**Arguments**: + +- `code`: Code to execute +- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. +- `on_stdout`: Callback for stdout messages +- `on_stderr`: Callback for stderr messages +- `on_result`: Callback for the `Result` object +- `on_error`: Callback for the `ExecutionError` object +- `envs`: Custom environment variables +- `timeout`: Timeout for the code execution in **seconds** +- `request_timeout`: Timeout for the request in **seconds** + +**Returns**: + +`Execution` result object + + +### create\_code\_context + +```python +def create_code_context(cwd: Optional[str] = None, + language: Optional[str] = None, + request_timeout: Optional[float] = None) -> Context +``` + +Creates a new context to run code in. + +**Arguments**: + +- `cwd`: Set the current working directory for the context, defaults to `/home/user` +- `language`: Language of the context. If not specified, defaults to Python +- `request_timeout`: Timeout for the request in **milliseconds** + +**Returns**: + +Context object + + +### remove\_code\_context + +```python +def remove_code_context(context: Union[Context, str]) -> None +``` + +Removes a context. + +**Arguments**: + +- `context`: Context to remove. Can be a Context object or a context ID string. + +**Returns**: + +None + + +### list\_code\_contexts + +```python +def list_code_contexts() -> List[Context] +``` + +List all contexts. + +**Returns**: + +List of contexts. + + +### restart\_code\_context + +```python +def restart_code_context(context: Union[Context, str]) -> None +``` + +Restart a context. + +**Arguments**: + +- `context`: Context to restart. Can be a Context object or a context ID string. + +**Returns**: + +None + + + + +## ChartType + +```python +class ChartType(str, enum.Enum) +``` + +Chart types + + +## ScaleType + +```python +class ScaleType(str, enum.Enum) +``` + +Ax scale types + + +## Chart + +```python +class Chart() +``` + +Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. + + + + + From fff3df6134db4029e331b4339d39978658e66bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Nov=C3=A1k?= Date: Thu, 12 Mar 2026 03:13:43 -0700 Subject: [PATCH 09/83] fix(release): chart release skipped (#218) --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 847699bc..5cd11506 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -111,6 +111,7 @@ jobs: charts-release: name: Charts release + needs: [changes] if: needs.changes.outputs.charts == 'true' runs-on: ubuntu-latest outputs: From fb13ab09b7b26f806e0d94ac0f5b676e1949b223 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Thu, 12 Mar 2026 17:33:32 +0100 Subject: [PATCH 10/83] Update Python 3.13 support and bump dependencies (#192) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update Python 3.13 support: bump dependencies and fix numpy constraints Update template to Python 3.13 base image and bump key packages for compatibility: - numpy 1.26.4 → 2.3.5 (Python 3.13 requires numpy 2.x) - scipy 1.13.1 → 1.17.0, gensim 4.3.3 → 4.4.0, numba 0.61.2 → 0.63.1, spacy 3.8.2 → 3.8.11 - e2b_charts: relax numpy constraint from ^1.26.4 to >=1.26.4 for numpy 2 compatibility Co-Authored-By: Claude Haiku 4.5 * Regenerate poetry.lock for updated dependencies Co-Authored-By: Claude Opus 4.6 * Install e2b_charts with --no-deps to bypass numpy<2 pin on PyPI The published e2b_charts 0.0.4 on PyPI still has numpy<2.0.0. Until a new version is published, install it separately with --no-deps. Co-Authored-By: Claude Opus 4.6 * Revert template/requirements.txt and build script changes Keep these files as-is on main; e2b_charts updates will be in a separate PR. Co-Authored-By: Claude Opus 4.6 * moved the changes here to separate pr * keep comment * added changeset * re-try with fix missing * return * skip cache * return * install r-base with fix missing * simplify r install --------- Co-authored-by: Claude Haiku 4.5 Co-authored-by: Jakub Novák --- .changeset/tangy-grapes-crash.md | 5 +++++ template/requirements.txt | 10 +++++----- template/template.py | 22 ++++++---------------- 3 files changed, 16 insertions(+), 21 deletions(-) create mode 100644 .changeset/tangy-grapes-crash.md diff --git a/.changeset/tangy-grapes-crash.md b/.changeset/tangy-grapes-crash.md new file mode 100644 index 00000000..7efed436 --- /dev/null +++ b/.changeset/tangy-grapes-crash.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter-template': minor +--- + +updated Python version to 3.13 diff --git a/template/requirements.txt b/template/requirements.txt index 70f37bed..1d1bc031 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -15,13 +15,13 @@ e2b_charts aiohttp==3.13.3 beautifulsoup4==4.14.3 bokeh==3.8.2 -gensim==4.3.3 # unmaintained, blocking numpy and scipy bump +gensim==4.4.0 imageio==2.37.2 joblib==1.5.3 librosa==0.11.0 nltk==3.9.3 -numpy==1.26.4 # bump blocked by gensim -numba==0.61.2 +numpy==2.3.5 +numba==0.63.1 opencv-python==4.11.0.86 openpyxl==3.1.5 plotly==6.0.1 @@ -32,10 +32,10 @@ pytz==2025.2 requests==2.32.5 scikit-image==0.25.2 scikit-learn==1.6.1 -scipy==1.13.1 # bump blocked by gensim +scipy==1.17.0 seaborn==0.13.2 soundfile==0.13.1 -spacy==3.8.11 # doesn't work on 3.13.x +spacy==3.8.11 textblob==0.19.0 tornado==6.5.4 urllib3==2.6.3 diff --git a/template/template.py b/template/template.py index 7fb2f1e0..e10e89a8 100644 --- a/template/template.py +++ b/template/template.py @@ -9,7 +9,7 @@ def make_template( # Start with base template template = ( Template() - .from_image("python:3.12") + .from_image("python:3.13") .set_user("root") .set_workdir("/root") .set_envs( @@ -51,21 +51,11 @@ def make_template( # Install R Kernel if requested if "r" in enabled_kernels: - template = ( - template.run_cmd( - [ - "sudo gpg --keyserver keyserver.ubuntu.com --recv-key 95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7", - "sudo gpg --armor --export 95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7 | sudo tee /etc/apt/trusted.gpg.d/cran_debian_key.asc", - 'echo "deb https://cloud.r-project.org/bin/linux/debian trixie-cran40/" | sudo tee /etc/apt/sources.list.d/cran.list', - ] - ) - .apt_install("r-base=${R_VERSION} r-base-dev") - .run_cmd( - [ - "R -e \"install.packages('IRkernel', repos='https://cloud.r-project.org')\"", - "R -e \"IRkernel::installspec(user = FALSE, name = 'r', displayname = 'R')\"", - ] - ) + template = template.apt_install("r-base=${R_VERSION} r-base-dev").run_cmd( + [ + "R -e \"install.packages('IRkernel', repos='https://cloud.r-project.org')\"", + "R -e \"IRkernel::installspec(user = FALSE, name = 'r', displayname = 'R')\"", + ] ) # Install JavaScript Kernel if requested From 93842f95290f59ce0260e93c2a4e26baa5b62415 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 12 Mar 2026 17:01:07 +0000 Subject: [PATCH 11/83] [skip ci] Release new versions --- .changeset/tangy-grapes-crash.md | 5 ----- template/package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/tangy-grapes-crash.md diff --git a/.changeset/tangy-grapes-crash.md b/.changeset/tangy-grapes-crash.md deleted file mode 100644 index 7efed436..00000000 --- a/.changeset/tangy-grapes-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2b/code-interpreter-template': minor ---- - -updated Python version to 3.13 diff --git a/template/package.json b/template/package.json index d8c5dc6b..17497708 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.2.1", + "version": "0.3.0", "scripts": { "lint": "ruff check .", "format": "ruff format ." From 77d722ad203eb2cc7f77d0fcfca9e4ae207485d7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 00:29:05 -0700 Subject: [PATCH 12/83] Update dependency tornado to v6.5.5 [SECURITY] (#217) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 1d1bc031..e2d0ce04 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -37,7 +37,7 @@ seaborn==0.13.2 soundfile==0.13.1 spacy==3.8.11 textblob==0.19.0 -tornado==6.5.4 +tornado==6.5.5 urllib3==2.6.3 xarray==2025.4.0 xlrd==2.0.2 From 09b5c72f578a23281b24d56b570ca5b89cf40410 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 00:36:40 -0700 Subject: [PATCH 13/83] Update dependency bun to v1.3.10 (#205) --- .github/workflows/js_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/js_tests.yml b/.github/workflows/js_tests.yml index e39fcebc..395c7c52 100644 --- a/.github/workflows/js_tests.yml +++ b/.github/workflows/js_tests.yml @@ -62,7 +62,7 @@ jobs: - name: Install Bun uses: oven-sh/setup-bun@v2 with: - bun-version: 1.2.15 + bun-version: 1.3.10 - name: Run Bun tests run: pnpm test:bun From cdb96a99e501d6f07e46d7f47890d6a446bc8c44 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 07:41:56 +0000 Subject: [PATCH 14/83] Update patch-updates (#220) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .tool-versions | 2 +- chart_data_extractor/poetry.lock | 154 +++++++++++++++---------------- pnpm-lock.yaml | 54 +++++------ template/requirements-dev.txt | 2 +- template/requirements.txt | 4 +- 5 files changed, 108 insertions(+), 108 deletions(-) diff --git a/.tool-versions b/.tool-versions index f2006127..d98d583a 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ python 3.10 -poetry 1.8.1 +poetry 1.8.5 diff --git a/chart_data_extractor/poetry.lock b/chart_data_extractor/poetry.lock index ffa8368d..74c58811 100644 --- a/chart_data_extractor/poetry.lock +++ b/chart_data_extractor/poetry.lock @@ -501,85 +501,85 @@ files = [ [[package]] name = "numpy" -version = "2.4.2" +version = "2.4.3" description = "Fundamental package for array computing in Python" optional = false python-versions = ">=3.11" groups = ["main"] markers = "python_version >= \"3.13\"" files = [ - {file = "numpy-2.4.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e7e88598032542bd49af7c4747541422884219056c268823ef6e5e89851c8825"}, - {file = "numpy-2.4.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7edc794af8b36ca37ef5fcb5e0d128c7e0595c7b96a2318d1badb6fcd8ee86b1"}, - {file = "numpy-2.4.2-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:6e9f61981ace1360e42737e2bae58b27bf28a1b27e781721047d84bd754d32e7"}, - {file = "numpy-2.4.2-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:cb7bbb88aa74908950d979eeaa24dbdf1a865e3c7e45ff0121d8f70387b55f73"}, - {file = "numpy-2.4.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4f069069931240b3fc703f1e23df63443dbd6390614c8c44a87d96cd0ec81eb1"}, - {file = "numpy-2.4.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c02ef4401a506fb60b411467ad501e1429a3487abca4664871d9ae0b46c8ba32"}, - {file = "numpy-2.4.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2653de5c24910e49c2b106499803124dde62a5a1fe0eedeaecf4309a5f639390"}, - {file = "numpy-2.4.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1ae241bbfc6ae276f94a170b14785e561cb5e7f626b6688cf076af4110887413"}, - {file = "numpy-2.4.2-cp311-cp311-win32.whl", hash = "sha256:df1b10187212b198dd45fa943d8985a3c8cf854aed4923796e0e019e113a1bda"}, - {file = "numpy-2.4.2-cp311-cp311-win_amd64.whl", hash = "sha256:b9c618d56a29c9cb1c4da979e9899be7578d2e0b3c24d52079c166324c9e8695"}, - {file = "numpy-2.4.2-cp311-cp311-win_arm64.whl", hash = "sha256:47c5a6ed21d9452b10227e5e8a0e1c22979811cad7dcc19d8e3e2fb8fa03f1a3"}, - {file = "numpy-2.4.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:21982668592194c609de53ba4933a7471880ccbaadcc52352694a59ecc860b3a"}, - {file = "numpy-2.4.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40397bda92382fcec844066efb11f13e1c9a3e2a8e8f318fb72ed8b6db9f60f1"}, - {file = "numpy-2.4.2-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:b3a24467af63c67829bfaa61eecf18d5432d4f11992688537be59ecd6ad32f5e"}, - {file = "numpy-2.4.2-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:805cc8de9fd6e7a22da5aed858e0ab16be5a4db6c873dde1d7451c541553aa27"}, - {file = "numpy-2.4.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6d82351358ffbcdcd7b686b90742a9b86632d6c1c051016484fa0b326a0a1548"}, - {file = "numpy-2.4.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9e35d3e0144137d9fdae62912e869136164534d64a169f86438bc9561b6ad49f"}, - {file = "numpy-2.4.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:adb6ed2ad29b9e15321d167d152ee909ec73395901b70936f029c3bc6d7f4460"}, - {file = "numpy-2.4.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8906e71fd8afcb76580404e2a950caef2685df3d2a57fe82a86ac8d33cc007ba"}, - {file = "numpy-2.4.2-cp312-cp312-win32.whl", hash = "sha256:ec055f6dae239a6299cace477b479cca2fc125c5675482daf1dd886933a1076f"}, - {file = "numpy-2.4.2-cp312-cp312-win_amd64.whl", hash = "sha256:209fae046e62d0ce6435fcfe3b1a10537e858249b3d9b05829e2a05218296a85"}, - {file = "numpy-2.4.2-cp312-cp312-win_arm64.whl", hash = "sha256:fbde1b0c6e81d56f5dccd95dd4a711d9b95df1ae4009a60887e56b27e8d903fa"}, - {file = "numpy-2.4.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:25f2059807faea4b077a2b6837391b5d830864b3543627f381821c646f31a63c"}, - {file = "numpy-2.4.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bd3a7a9f5847d2fb8c2c6d1c862fa109c31a9abeca1a3c2bd5a64572955b2979"}, - {file = "numpy-2.4.2-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:8e4549f8a3c6d13d55041925e912bfd834285ef1dd64d6bc7d542583355e2e98"}, - {file = "numpy-2.4.2-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:aea4f66ff44dfddf8c2cffd66ba6538c5ec67d389285292fe428cb2c738c8aef"}, - {file = "numpy-2.4.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c3cd545784805de05aafe1dde61752ea49a359ccba9760c1e5d1c88a93bbf2b7"}, - {file = "numpy-2.4.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d0d9b7c93578baafcbc5f0b83eaf17b79d345c6f36917ba0c67f45226911d499"}, - {file = "numpy-2.4.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f74f0f7779cc7ae07d1810aab8ac6b1464c3eafb9e283a40da7309d5e6e48fbb"}, - {file = "numpy-2.4.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c7ac672d699bf36275c035e16b65539931347d68b70667d28984c9fb34e07fa7"}, - {file = "numpy-2.4.2-cp313-cp313-win32.whl", hash = "sha256:8e9afaeb0beff068b4d9cd20d322ba0ee1cecfb0b08db145e4ab4dd44a6b5110"}, - {file = "numpy-2.4.2-cp313-cp313-win_amd64.whl", hash = "sha256:7df2de1e4fba69a51c06c28f5a3de36731eb9639feb8e1cf7e4a7b0daf4cf622"}, - {file = "numpy-2.4.2-cp313-cp313-win_arm64.whl", hash = "sha256:0fece1d1f0a89c16b03442eae5c56dc0be0c7883b5d388e0c03f53019a4bfd71"}, - {file = "numpy-2.4.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5633c0da313330fd20c484c78cdd3f9b175b55e1a766c4a174230c6b70ad8262"}, - {file = "numpy-2.4.2-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:d9f64d786b3b1dd742c946c42d15b07497ed14af1a1f3ce840cce27daa0ce913"}, - {file = "numpy-2.4.2-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:b21041e8cb6a1eb5312dd1d2f80a94d91efffb7a06b70597d44f1bd2dfc315ab"}, - {file = "numpy-2.4.2-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:00ab83c56211a1d7c07c25e3217ea6695e50a3e2f255053686b081dc0b091a82"}, - {file = "numpy-2.4.2-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2fb882da679409066b4603579619341c6d6898fc83a8995199d5249f986e8e8f"}, - {file = "numpy-2.4.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:66cb9422236317f9d44b67b4d18f44efe6e9c7f8794ac0462978513359461554"}, - {file = "numpy-2.4.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:0f01dcf33e73d80bd8dc0f20a71303abbafa26a19e23f6b68d1aa9990af90257"}, - {file = "numpy-2.4.2-cp313-cp313t-win32.whl", hash = "sha256:52b913ec40ff7ae845687b0b34d8d93b60cb66dcee06996dd5c99f2fc9328657"}, - {file = "numpy-2.4.2-cp313-cp313t-win_amd64.whl", hash = "sha256:5eea80d908b2c1f91486eb95b3fb6fab187e569ec9752ab7d9333d2e66bf2d6b"}, - {file = "numpy-2.4.2-cp313-cp313t-win_arm64.whl", hash = "sha256:fd49860271d52127d61197bb50b64f58454e9f578cb4b2c001a6de8b1f50b0b1"}, - {file = "numpy-2.4.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:444be170853f1f9d528428eceb55f12918e4fda5d8805480f36a002f1415e09b"}, - {file = "numpy-2.4.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:d1240d50adff70c2a88217698ca844723068533f3f5c5fa6ee2e3220e3bdb000"}, - {file = "numpy-2.4.2-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:7cdde6de52fb6664b00b056341265441192d1291c130e99183ec0d4b110ff8b1"}, - {file = "numpy-2.4.2-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:cda077c2e5b780200b6b3e09d0b42205a3d1c68f30c6dceb90401c13bff8fe74"}, - {file = "numpy-2.4.2-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d30291931c915b2ab5717c2974bb95ee891a1cf22ebc16a8006bd59cd210d40a"}, - {file = "numpy-2.4.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bba37bc29d4d85761deed3954a1bc62be7cf462b9510b51d367b769a8c8df325"}, - {file = "numpy-2.4.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b2f0073ed0868db1dcd86e052d37279eef185b9c8db5bf61f30f46adac63c909"}, - {file = "numpy-2.4.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7f54844851cdb630ceb623dcec4db3240d1ac13d4990532446761baede94996a"}, - {file = "numpy-2.4.2-cp314-cp314-win32.whl", hash = "sha256:12e26134a0331d8dbd9351620f037ec470b7c75929cb8a1537f6bfe411152a1a"}, - {file = "numpy-2.4.2-cp314-cp314-win_amd64.whl", hash = "sha256:068cdb2d0d644cdb45670810894f6a0600797a69c05f1ac478e8d31670b8ee75"}, - {file = "numpy-2.4.2-cp314-cp314-win_arm64.whl", hash = "sha256:6ed0be1ee58eef41231a5c943d7d1375f093142702d5723ca2eb07db9b934b05"}, - {file = "numpy-2.4.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:98f16a80e917003a12c0580f97b5f875853ebc33e2eaa4bccfc8201ac6869308"}, - {file = "numpy-2.4.2-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:20abd069b9cda45874498b245c8015b18ace6de8546bf50dfa8cea1696ed06ef"}, - {file = "numpy-2.4.2-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:e98c97502435b53741540a5717a6749ac2ada901056c7db951d33e11c885cc7d"}, - {file = "numpy-2.4.2-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:da6cad4e82cb893db4b69105c604d805e0c3ce11501a55b5e9f9083b47d2ffe8"}, - {file = "numpy-2.4.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9e4424677ce4b47fe73c8b5556d876571f7c6945d264201180db2dc34f676ab5"}, - {file = "numpy-2.4.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2b8f157c8a6f20eb657e240f8985cc135598b2b46985c5bccbde7616dc9c6b1e"}, - {file = "numpy-2.4.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5daf6f3914a733336dab21a05cdec343144600e964d2fcdabaac0c0269874b2a"}, - {file = "numpy-2.4.2-cp314-cp314t-win32.whl", hash = "sha256:8c50dd1fc8826f5b26a5ee4d77ca55d88a895f4e4819c7ecc2a9f5905047a443"}, - {file = "numpy-2.4.2-cp314-cp314t-win_amd64.whl", hash = "sha256:fcf92bee92742edd401ba41135185866f7026c502617f422eb432cfeca4fe236"}, - {file = "numpy-2.4.2-cp314-cp314t-win_arm64.whl", hash = "sha256:1f92f53998a17265194018d1cc321b2e96e900ca52d54c7c77837b71b9465181"}, - {file = "numpy-2.4.2-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:89f7268c009bc492f506abd6f5265defa7cb3f7487dc21d357c3d290add45082"}, - {file = "numpy-2.4.2-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:e6dee3bb76aa4009d5a912180bf5b2de012532998d094acee25d9cb8dee3e44a"}, - {file = "numpy-2.4.2-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:cd2bd2bbed13e213d6b55dc1d035a4f91748a7d3edc9480c13898b0353708920"}, - {file = "numpy-2.4.2-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:cf28c0c1d4c4bf00f509fa7eb02c58d7caf221b50b467bcb0d9bbf1584d5c821"}, - {file = "numpy-2.4.2-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e04ae107ac591763a47398bb45b568fc38f02dbc4aa44c063f67a131f99346cb"}, - {file = "numpy-2.4.2-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:602f65afdef699cda27ec0b9224ae5dc43e328f4c24c689deaf77133dbee74d0"}, - {file = "numpy-2.4.2-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:be71bf1edb48ebbbf7f6337b5bfd2f895d1902f6335a5830b20141fc126ffba0"}, - {file = "numpy-2.4.2.tar.gz", hash = "sha256:659a6107e31a83c4e33f763942275fd278b21d095094044eb35569e86a21ddae"}, + {file = "numpy-2.4.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:33b3bf58ee84b172c067f56aeadc7ee9ab6de69c5e800ab5b10295d54c581adb"}, + {file = "numpy-2.4.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8ba7b51e71c05aa1f9bc3641463cd82308eab40ce0d5c7e1fd4038cbf9938147"}, + {file = "numpy-2.4.3-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:a1988292870c7cb9d0ebb4cc96b4d447513a9644801de54606dc7aabf2b7d920"}, + {file = "numpy-2.4.3-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:23b46bb6d8ecb68b58c09944483c135ae5f0e9b8d8858ece5e4ead783771d2a9"}, + {file = "numpy-2.4.3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a016db5c5dba78fa8fe9f5d80d6708f9c42ab087a739803c0ac83a43d686a470"}, + {file = "numpy-2.4.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:715de7f82e192e8cae5a507a347d97ad17598f8e026152ca97233e3666daaa71"}, + {file = "numpy-2.4.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2ddb7919366ee468342b91dea2352824c25b55814a987847b6c52003a7c97f15"}, + {file = "numpy-2.4.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a315e5234d88067f2d97e1f2ef670a7569df445d55400f1e33d117418d008d52"}, + {file = "numpy-2.4.3-cp311-cp311-win32.whl", hash = "sha256:2b3f8d2c4589b1a2028d2a770b0fc4d1f332fb5e01521f4de3199a896d158ddd"}, + {file = "numpy-2.4.3-cp311-cp311-win_amd64.whl", hash = "sha256:77e76d932c49a75617c6d13464e41203cd410956614d0a0e999b25e9e8d27eec"}, + {file = "numpy-2.4.3-cp311-cp311-win_arm64.whl", hash = "sha256:eb610595dd91560905c132c709412b512135a60f1851ccbd2c959e136431ff67"}, + {file = "numpy-2.4.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:61b0cbabbb6126c8df63b9a3a0c4b1f44ebca5e12ff6997b80fcf267fb3150ef"}, + {file = "numpy-2.4.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7395e69ff32526710748f92cd8c9849b361830968ea3e24a676f272653e8983e"}, + {file = "numpy-2.4.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:abdce0f71dcb4a00e4e77f3faf05e4616ceccfe72ccaa07f47ee79cda3b7b0f4"}, + {file = "numpy-2.4.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:48da3a4ee1336454b07497ff7ec83903efa5505792c4e6d9bf83d99dc07a1e18"}, + {file = "numpy-2.4.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:32e3bef222ad6b052280311d1d60db8e259e4947052c3ae7dd6817451fc8a4c5"}, + {file = "numpy-2.4.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e7dd01a46700b1967487141a66ac1a3cf0dd8ebf1f08db37d46389401512ca97"}, + {file = "numpy-2.4.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:76f0f283506c28b12bba319c0fab98217e9f9b54e6160e9c79e9f7348ba32e9c"}, + {file = "numpy-2.4.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:737f630a337364665aba3b5a77e56a68cc42d350edd010c345d65a3efa3addcc"}, + {file = "numpy-2.4.3-cp312-cp312-win32.whl", hash = "sha256:26952e18d82a1dbbc2f008d402021baa8d6fc8e84347a2072a25e08b46d698b9"}, + {file = "numpy-2.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:65f3c2455188f09678355f5cae1f959a06b778bc66d535da07bf2ef20cd319d5"}, + {file = "numpy-2.4.3-cp312-cp312-win_arm64.whl", hash = "sha256:2abad5c7fef172b3377502bde47892439bae394a71bc329f31df0fd829b41a9e"}, + {file = "numpy-2.4.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b346845443716c8e542d54112966383b448f4a3ba5c66409771b8c0889485dd3"}, + {file = "numpy-2.4.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2629289168f4897a3c4e23dc98d6f1731f0fc0fe52fb9db19f974041e4cc12b9"}, + {file = "numpy-2.4.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:bb2e3cf95854233799013779216c57e153c1ee67a0bf92138acca0e429aefaee"}, + {file = "numpy-2.4.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:7f3408ff897f8ab07a07fbe2823d7aee6ff644c097cc1f90382511fe982f647f"}, + {file = "numpy-2.4.3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:decb0eb8a53c3b009b0962378065589685d66b23467ef5dac16cbe818afde27f"}, + {file = "numpy-2.4.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5f51900414fc9204a0e0da158ba2ac52b75656e7dce7e77fb9f84bfa343b4cc"}, + {file = "numpy-2.4.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6bd06731541f89cdc01b261ba2c9e037f1543df7472517836b78dfb15bd6e476"}, + {file = "numpy-2.4.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:22654fe6be0e5206f553a9250762c653d3698e46686eee53b399ab90da59bd92"}, + {file = "numpy-2.4.3-cp313-cp313-win32.whl", hash = "sha256:d71e379452a2f670ccb689ec801b1218cd3983e253105d6e83780967e899d687"}, + {file = "numpy-2.4.3-cp313-cp313-win_amd64.whl", hash = "sha256:0a60e17a14d640f49146cb38e3f105f571318db7826d9b6fef7e4dce758faecd"}, + {file = "numpy-2.4.3-cp313-cp313-win_arm64.whl", hash = "sha256:c9619741e9da2059cd9c3f206110b97583c7152c1dc9f8aafd4beb450ac1c89d"}, + {file = "numpy-2.4.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:7aa4e54f6469300ebca1d9eb80acd5253cdfa36f2c03d79a35883687da430875"}, + {file = "numpy-2.4.3-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:d1b90d840b25874cf5cd20c219af10bac3667db3876d9a495609273ebe679070"}, + {file = "numpy-2.4.3-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:a749547700de0a20a6718293396ec237bb38218049cfce788e08fcb716e8cf73"}, + {file = "numpy-2.4.3-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:94f3c4a151a2e529adf49c1d54f0f57ff8f9b233ee4d44af623a81553ab86368"}, + {file = "numpy-2.4.3-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:22c31dc07025123aedf7f2db9e91783df13f1776dc52c6b22c620870dc0fab22"}, + {file = "numpy-2.4.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:148d59127ac95979d6f07e4d460f934ebdd6eed641db9c0db6c73026f2b2101a"}, + {file = "numpy-2.4.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:a97cbf7e905c435865c2d939af3d93f99d18eaaa3cabe4256f4304fb51604349"}, + {file = "numpy-2.4.3-cp313-cp313t-win32.whl", hash = "sha256:be3b8487d725a77acccc9924f65fd8bce9af7fac8c9820df1049424a2115af6c"}, + {file = "numpy-2.4.3-cp313-cp313t-win_amd64.whl", hash = "sha256:1ec84fd7c8e652b0f4aaaf2e6e9cc8eaa9b1b80a537e06b2e3a2fb176eedcb26"}, + {file = "numpy-2.4.3-cp313-cp313t-win_arm64.whl", hash = "sha256:120df8c0a81ebbf5b9020c91439fccd85f5e018a927a39f624845be194a2be02"}, + {file = "numpy-2.4.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:5884ce5c7acfae1e4e1b6fde43797d10aa506074d25b531b4f54bde33c0c31d4"}, + {file = "numpy-2.4.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:297837823f5bc572c5f9379b0c9f3a3365f08492cbdc33bcc3af174372ebb168"}, + {file = "numpy-2.4.3-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:a111698b4a3f8dcbe54c64a7708f049355abd603e619013c346553c1fd4ca90b"}, + {file = "numpy-2.4.3-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:4bd4741a6a676770e0e97fe9ab2e51de01183df3dcbcec591d26d331a40de950"}, + {file = "numpy-2.4.3-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:54f29b877279d51e210e0c80709ee14ccbbad647810e8f3d375561c45ef613dd"}, + {file = "numpy-2.4.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:679f2a834bae9020f81534671c56fd0cc76dd7e5182f57131478e23d0dc59e24"}, + {file = "numpy-2.4.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:d84f0f881cb2225c2dfd7f78a10a5645d487a496c6668d6cc39f0f114164f3d0"}, + {file = "numpy-2.4.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:d213c7e6e8d211888cc359bab7199670a00f5b82c0978b9d1c75baf1eddbeac0"}, + {file = "numpy-2.4.3-cp314-cp314-win32.whl", hash = "sha256:52077feedeff7c76ed7c9f1a0428558e50825347b7545bbb8523da2cd55c547a"}, + {file = "numpy-2.4.3-cp314-cp314-win_amd64.whl", hash = "sha256:0448e7f9caefb34b4b7dd2b77f21e8906e5d6f0365ad525f9f4f530b13df2afc"}, + {file = "numpy-2.4.3-cp314-cp314-win_arm64.whl", hash = "sha256:b44fd60341c4d9783039598efadd03617fa28d041fc37d22b62d08f2027fa0e7"}, + {file = "numpy-2.4.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0a195f4216be9305a73c0e91c9b026a35f2161237cf1c6de9b681637772ea657"}, + {file = "numpy-2.4.3-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:cd32fbacb9fd1bf041bf8e89e4576b6f00b895f06d00914820ae06a616bdfef7"}, + {file = "numpy-2.4.3-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:2e03c05abaee1f672e9d67bc858f300b5ccba1c21397211e8d77d98350972093"}, + {file = "numpy-2.4.3-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7d1ce23cce91fcea443320a9d0ece9b9305d4368875bab09538f7a5b4131938a"}, + {file = "numpy-2.4.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c59020932feb24ed49ffd03704fbab89f22aa9c0d4b180ff45542fe8918f5611"}, + {file = "numpy-2.4.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:9684823a78a6cd6ad7511fc5e25b07947d1d5b5e2812c93fe99d7d4195130720"}, + {file = "numpy-2.4.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0200b25c687033316fb39f0ff4e3e690e8957a2c3c8d22499891ec58c37a3eb5"}, + {file = "numpy-2.4.3-cp314-cp314t-win32.whl", hash = "sha256:5e10da9e93247e554bb1d22f8edc51847ddd7dde52d85ce31024c1b4312bfba0"}, + {file = "numpy-2.4.3-cp314-cp314t-win_amd64.whl", hash = "sha256:45f003dbdffb997a03da2d1d0cb41fbd24a87507fb41605c0420a3db5bd4667b"}, + {file = "numpy-2.4.3-cp314-cp314t-win_arm64.whl", hash = "sha256:4d382735cecd7bcf090172489a525cd7d4087bc331f7df9f60ddc9a296cf208e"}, + {file = "numpy-2.4.3-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:c6b124bfcafb9e8d3ed09130dbee44848c20b3e758b6bbf006e641778927c028"}, + {file = "numpy-2.4.3-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:76dbb9d4e43c16cf9aa711fcd8de1e2eeb27539dcefb60a1d5e9f12fae1d1ed8"}, + {file = "numpy-2.4.3-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:29363fbfa6f8ee855d7569c96ce524845e3d726d6c19b29eceec7dd555dab152"}, + {file = "numpy-2.4.3-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:bc71942c789ef415a37f0d4eab90341425a00d538cd0642445d30b41023d3395"}, + {file = "numpy-2.4.3-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7e58765ad74dcebd3ef0208a5078fba32dc8ec3578fe84a604432950cd043d79"}, + {file = "numpy-2.4.3-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e236dbda4e1d319d681afcbb136c0c4a8e0f1a5c58ceec2adebb547357fe857"}, + {file = "numpy-2.4.3-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:4b42639cdde6d24e732ff823a3fa5b701d8acad89c4142bc1d0bd6dc85200ba5"}, + {file = "numpy-2.4.3.tar.gz", hash = "sha256:483a201202b73495f00dbc83796c6ae63137a9bdade074f7648b3e32613412dd"}, ] [[package]] @@ -932,14 +932,14 @@ six = ">=1.5" [[package]] name = "python-dotenv" -version = "1.2.1" +version = "1.2.2" description = "Read key-value pairs from a .env file and set them as environment variables" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" groups = ["dev"] files = [ - {file = "python_dotenv-1.2.1-py3-none-any.whl", hash = "sha256:b81ee9561e9ca4004139c6cbba3a238c32b03e4894671e181b671e8cb8425d61"}, - {file = "python_dotenv-1.2.1.tar.gz", hash = "sha256:42667e897e16ab0d66954af0e60a9caa94f0fd4ecf3aaf6d2d260eec1aa36ad6"}, + {file = "python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a"}, + {file = "python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3"}, ] [package.extras] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ed527dba..3bae84f8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: devDependencies: '@changesets/read': specifier: ^0.6.2 - version: 0.6.6 + version: 0.6.7 '@stylistic/eslint-plugin-ts': specifier: ^1.6.2 version: 1.8.1(eslint@8.57.1)(typescript@5.7.3) @@ -53,13 +53,13 @@ importers: devDependencies: '@types/node': specifier: ^20.19.19 - version: 20.19.33 + version: 20.19.37 dotenv: specifier: ^16.4.5 version: 16.6.1 knip: specifier: ^5.25.1 - version: 5.43.6(@types/node@20.19.33)(typescript@5.7.3) + version: 5.43.6(@types/node@20.19.37)(typescript@5.7.3) npm-check-updates: specifier: ^17.1.14 version: 17.1.18 @@ -77,7 +77,7 @@ importers: version: 5.7.3 vitest: specifier: ^3.2.4 - version: 3.2.4(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0) + version: 3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) python: {} @@ -101,11 +101,11 @@ packages: '@changesets/logger@0.1.1': resolution: {integrity: sha512-OQtR36ZlnuTxKqoW4Sv6x5YIhOmClRd5pWsjZsddYxpWs517R0HkyiefQPIytCVh4ZcC5x9XaG8KTdd5iRQUfg==} - '@changesets/parse@0.4.2': - resolution: {integrity: sha512-Uo5MC5mfg4OM0jU3up66fmSn6/NE9INK+8/Vn/7sMVcdWg46zfbvvUSjD9EMonVqPi9fbrJH9SXHn48Tr1f2yA==} + '@changesets/parse@0.4.3': + resolution: {integrity: sha512-ZDmNc53+dXdWEv7fqIUSgRQOLYoUom5Z40gmLgmATmYR9NbL6FJJHwakcCpzaeCy+1D0m0n7mT4jj2B/MQPl7A==} - '@changesets/read@0.6.6': - resolution: {integrity: sha512-P5QaN9hJSQQKJShzzpBT13FzOSPyHbqdoIBUd2DJdgvnECCyO6LmAOWSV+O8se2TaZJVwSXjL+v9yhb+a9JeJg==} + '@changesets/read@0.6.7': + resolution: {integrity: sha512-D1G4AUYGrBEk8vj8MGwf75k9GpN6XL3wg8i42P2jZZwFLXnlr2Pn7r9yuQNbaMCarP7ZQWNJbV6XLeysAIMhTA==} '@changesets/types@4.1.0': resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} @@ -679,8 +679,8 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@20.19.33': - resolution: {integrity: sha512-Rs1bVAIdBs5gbTIKza/tgpMuG1k3U/UMJLWecIMxNdJFDMzcM5LOiLVRYh3PilWEYDIeUDv7bpiHPLPsbydGcw==} + '@types/node@20.19.37': + resolution: {integrity: sha512-8kzdPJ3FsNsVIurqBs7oodNnCEVbni9yUEkaHbgptDACOPW04jimGagZ51E6+lXUwJjgnBw+hyko/lkFWCldqw==} '@types/semver@7.7.0': resolution: {integrity: sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==} @@ -2081,16 +2081,16 @@ snapshots: dependencies: picocolors: 1.1.1 - '@changesets/parse@0.4.2': + '@changesets/parse@0.4.3': dependencies: '@changesets/types': 6.1.0 js-yaml: 4.1.1 - '@changesets/read@0.6.6': + '@changesets/read@0.6.7': dependencies: '@changesets/git': 3.0.4 '@changesets/logger': 0.1.1 - '@changesets/parse': 0.4.2 + '@changesets/parse': 0.4.3 '@changesets/types': 6.1.0 fs-extra: 7.0.1 p-filter: 2.1.0 @@ -2506,7 +2506,7 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@20.19.33': + '@types/node@20.19.37': dependencies: undici-types: 6.21.0 @@ -2691,13 +2691,13 @@ snapshots: chai: 5.2.0 tinyrainbow: 2.0.0 - '@vitest/mocker@3.2.4(vite@6.4.1(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0))': + '@vitest/mocker@3.2.4(vite@6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0))': dependencies: '@vitest/spy': 3.2.4 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.4.1(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) '@vitest/pretty-format@3.2.4': dependencies: @@ -3282,11 +3282,11 @@ snapshots: dependencies: json-buffer: 3.0.1 - knip@5.43.6(@types/node@20.19.33)(typescript@5.7.3): + knip@5.43.6(@types/node@20.19.37)(typescript@5.7.3): dependencies: '@nodelib/fs.walk': 3.0.1 '@snyk/github-codeowners': 1.1.0 - '@types/node': 20.19.33 + '@types/node': 20.19.37 easy-table: 1.2.0 enhanced-resolve: 5.18.1 fast-glob: 3.3.3 @@ -3858,13 +3858,13 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@3.2.4(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0): + vite-node@3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): dependencies: cac: 6.7.14 debug: 4.4.3 es-module-lexer: 1.7.0 pathe: 2.0.3 - vite: 6.4.1(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) transitivePeerDependencies: - '@types/node' - jiti @@ -3879,7 +3879,7 @@ snapshots: - tsx - yaml - vite@6.4.1(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0): + vite@6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): dependencies: esbuild: 0.25.0 fdir: 6.5.0(picomatch@4.0.3) @@ -3888,16 +3888,16 @@ snapshots: rollup: 4.39.0 tinyglobby: 0.2.15 optionalDependencies: - '@types/node': 20.19.33 + '@types/node': 20.19.37 fsevents: 2.3.3 jiti: 2.4.2 yaml: 2.7.0 - vitest@3.2.4(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0): + vitest@3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): dependencies: '@types/chai': 5.2.3 '@vitest/expect': 3.2.4 - '@vitest/mocker': 3.2.4(vite@6.4.1(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0)) + '@vitest/mocker': 3.2.4(vite@6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)) '@vitest/pretty-format': 3.2.4 '@vitest/runner': 3.2.4 '@vitest/snapshot': 3.2.4 @@ -3915,11 +3915,11 @@ snapshots: tinyglobby: 0.2.15 tinypool: 1.1.1 tinyrainbow: 2.0.0 - vite: 6.4.1(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0) - vite-node: 3.2.4(@types/node@20.19.33)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) + vite-node: 3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.19.33 + '@types/node': 20.19.37 transitivePeerDependencies: - jiti - less diff --git a/template/requirements-dev.txt b/template/requirements-dev.txt index 72a43e72..c1821021 100644 --- a/template/requirements-dev.txt +++ b/template/requirements-dev.txt @@ -1,2 +1,2 @@ e2b==2.15.2 -python-dotenv==1.2.1 \ No newline at end of file +python-dotenv==1.2.2 \ No newline at end of file diff --git a/template/requirements.txt b/template/requirements.txt index e2d0ce04..86c715f2 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -16,7 +16,7 @@ aiohttp==3.13.3 beautifulsoup4==4.14.3 bokeh==3.8.2 gensim==4.4.0 -imageio==2.37.2 +imageio==2.37.3 joblib==1.5.3 librosa==0.11.0 nltk==3.9.3 @@ -32,7 +32,7 @@ pytz==2025.2 requests==2.32.5 scikit-image==0.25.2 scikit-learn==1.6.1 -scipy==1.17.0 +scipy==1.17.1 seaborn==0.13.2 soundfile==0.13.1 spacy==3.8.11 From 046fcd915093c25a340d57c6c7c48f05a1ec605b Mon Sep 17 00:00:00 2001 From: Ben Fornefeld <50748440+ben-fornefeld@users.noreply.github.com> Date: Fri, 13 Mar 2026 14:46:38 -0700 Subject: [PATCH 15/83] Remove: SDK Reference Artifacts (#223) remove: sdk reference artifacts --- .github/scripts/is_new_sdk_ref.sh | 11 - .github/workflows/release.yml | 13 - js/package.json | 3 - js/scripts/CustomMarkdownTheme.js | 64 -- js/scripts/generate_sdk_ref.sh | 35 - js/typedoc.json | 31 - pnpm-lock.yaml | 404 +-------- python/package.json | 1 - python/poetry.lock | 783 +---------------- python/pyproject.toml | 3 +- python/scripts/generate_sdk_ref.sh | 30 - .../v1.0.4/charts/page.mdx | 240 ----- .../v1.0.4/consts/page.mdx | 13 - .../v1.0.4/index/page.mdx | 103 --- .../v1.0.4/messaging/page.mdx | 326 ------- .../v1.0.4/sandbox/page.mdx | 312 ------- .../v1.1.0/charts/page.mdx | 240 ----- .../v1.1.0/consts/page.mdx | 13 - .../v1.1.0/index/page.mdx | 103 --- .../v1.1.0/messaging/page.mdx | 326 ------- .../v1.1.0/sandbox/page.mdx | 312 ------- .../v1.1.1/charts/page.mdx | 240 ----- .../v1.1.1/consts/page.mdx | 13 - .../v1.1.1/index/page.mdx | 103 --- .../v1.1.1/messaging/page.mdx | 326 ------- .../v1.1.1/sandbox/page.mdx | 312 ------- .../v1.2.0/charts/page.mdx | 240 ----- .../v1.2.0/consts/page.mdx | 13 - .../v1.2.0/index/page.mdx | 103 --- .../v1.2.0/messaging/page.mdx | 326 ------- .../v1.2.0/sandbox/page.mdx | 312 ------- .../v1.5.0/charts/page.mdx | 240 ----- .../v1.5.0/consts/page.mdx | 13 - .../v1.5.0/index/page.mdx | 103 --- .../v1.5.0/messaging/page.mdx | 326 ------- .../v1.5.0/sandbox/page.mdx | 312 ------- .../v1.5.1/charts/page.mdx | 240 ----- .../v1.5.1/consts/page.mdx | 13 - .../v1.5.1/index/page.mdx | 103 --- .../v1.5.1/messaging/page.mdx | 326 ------- .../v1.5.1/sandbox/page.mdx | 312 ------- .../v2.0.0/charts/page.mdx | 240 ----- .../v2.0.0/consts/page.mdx | 13 - .../v2.0.0/index/page.mdx | 103 --- .../v2.0.0/messaging/page.mdx | 326 ------- .../v2.0.0/sandbox/page.mdx | 312 ------- .../v2.0.1/charts/page.mdx | 240 ----- .../v2.0.1/consts/page.mdx | 13 - .../v2.0.1/index/page.mdx | 103 --- .../v2.0.1/messaging/page.mdx | 326 ------- .../v2.0.1/sandbox/page.mdx | 312 ------- .../v2.1.0/charts/page.mdx | 240 ----- .../v2.1.0/consts/page.mdx | 13 - .../v2.1.0/index/page.mdx | 103 --- .../v2.1.0/messaging/page.mdx | 326 ------- .../v2.1.0/sandbox/page.mdx | 312 ------- .../v2.2.0/charts/page.mdx | 240 ----- .../v2.2.0/consts/page.mdx | 13 - .../v2.2.0/index/page.mdx | 103 --- .../v2.2.0/messaging/page.mdx | 326 ------- .../v2.2.0/sandbox/page.mdx | 312 ------- .../v2.3.0/charts/page.mdx | 240 ----- .../v2.3.0/consts/page.mdx | 13 - .../v2.3.0/index/page.mdx | 103 --- .../v2.3.0/messaging/page.mdx | 326 ------- .../v2.3.0/sandbox/page.mdx | 366 -------- .../v2.3.1/charts/page.mdx | 240 ----- .../v2.3.1/consts/page.mdx | 13 - .../v2.3.1/index/page.mdx | 103 --- .../v2.3.1/messaging/page.mdx | 326 ------- .../v2.3.1/sandbox/page.mdx | 366 -------- .../v2.3.2/charts/page.mdx | 240 ----- .../v2.3.2/consts/page.mdx | 13 - .../v2.3.2/index/page.mdx | 103 --- .../v2.3.2/messaging/page.mdx | 326 ------- .../v2.3.2/sandbox/page.mdx | 366 -------- .../v2.3.3/charts/page.mdx | 240 ----- .../v2.3.3/consts/page.mdx | 13 - .../v2.3.3/index/page.mdx | 103 --- .../v2.3.3/messaging/page.mdx | 326 ------- .../v2.3.3/sandbox/page.mdx | 366 -------- .../v1.0.1/sandbox/page.mdx | 722 --------------- .../v1.0.2/sandbox/page.mdx | 722 --------------- .../v1.0.3/sandbox/page.mdx | 722 --------------- .../v1.0.4/sandbox/page.mdx | 722 --------------- .../v1.0.5/sandbox/page.mdx | 722 --------------- .../v1.1.0/sandbox/page.mdx | 722 --------------- .../v1.1.1/sandbox/page.mdx | 722 --------------- .../v1.2.0/sandbox/page.mdx | 722 --------------- .../v1.2.1/sandbox/page.mdx | 722 --------------- .../v1.5.0/sandbox/page.mdx | 722 --------------- .../v1.5.1/sandbox/page.mdx | 722 --------------- .../v1.5.2/sandbox/page.mdx | 722 --------------- .../v2.0.0/sandbox/page.mdx | 722 --------------- .../v2.1.0/sandbox/page.mdx | 722 --------------- .../v2.1.1/sandbox/page.mdx | 722 --------------- .../v2.2.0/sandbox/page.mdx | 722 --------------- .../v2.2.1/sandbox/page.mdx | 725 ---------------- .../v2.3.0/sandbox/page.mdx | 725 ---------------- .../v2.4.0/sandbox/page.mdx | 819 ------------------ .../v2.4.1/sandbox/page.mdx | 819 ------------------ 101 files changed, 4 insertions(+), 30146 deletions(-) delete mode 100755 .github/scripts/is_new_sdk_ref.sh delete mode 100644 js/scripts/CustomMarkdownTheme.js delete mode 100755 js/scripts/generate_sdk_ref.sh delete mode 100644 js/typedoc.json delete mode 100755 python/scripts/generate_sdk_ref.sh delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.0.4/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.0.4/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.0.4/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.0.4/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.0.4/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.0/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.0/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.0/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.0/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.1/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.1/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.1/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.1/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.1.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.2.0/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.2.0/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.2.0/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.2.0/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.2.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.0/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.0/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.0/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.0/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.1/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.1/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.1/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.1/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v1.5.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.0/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.0/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.0/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.0/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.1/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.1/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.1/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.1/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.0.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.1.0/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.1.0/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.1.0/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.1.0/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.1.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.2.0/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.2.0/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.2.0/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.2.0/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.2.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.0/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.0/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.0/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.0/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.1/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.1/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.1/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.1/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.2/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.2/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.2/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.2/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.2/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.3/charts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.3/consts/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.3/index/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.3/messaging/page.mdx delete mode 100644 sdk-reference/code-interpreter-js-sdk/v2.3.3/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.0.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.0.2/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.0.3/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.0.4/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.0.5/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.1.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.1.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.2.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.2.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.5.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.5.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v1.5.2/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v2.0.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v2.1.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v2.1.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v2.2.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v2.2.1/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v2.3.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v2.4.0/sandbox/page.mdx delete mode 100644 sdk-reference/code-interpreter-python-sdk/v2.4.1/sandbox/page.mdx diff --git a/.github/scripts/is_new_sdk_ref.sh b/.github/scripts/is_new_sdk_ref.sh deleted file mode 100755 index 70685851..00000000 --- a/.github/scripts/is_new_sdk_ref.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -# This script checks for diffs in the js/ and python/ directory. -# If there are diffs, it means we need to generate new SDK references. -if git diff --name-only HEAD^ | grep -q '^js/\|^python/'; then - echo "true" -else - echo "false" -fi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5cd11506..8c66f04d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -356,18 +356,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Generate SDK reference - id: sdk-ref - run: pnpm run --recursive generate-ref - - - name: Show docs file structure - run: | - if [ -d "./sdk-reference" ]; then - tree ./sdk-reference - else - echo "sdk-reference directory does not exist" - fi - - name: Release new versions uses: changesets/action@v1 with: @@ -385,7 +373,6 @@ jobs: run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git add ./sdk-reference git commit -am "[skip ci] Release new versions" || exit 0 git push env: diff --git a/js/package.json b/js/package.json index 411551a0..4d54a7fc 100644 --- a/js/package.json +++ b/js/package.json @@ -34,7 +34,6 @@ "example": "npx tsx example.mts", "test:bun": "bun test tests/runtimes/bun --env-file=.env", "test:deno": "deno test tests/runtimes/deno/ --allow-net --allow-read --allow-env --unstable-sloppy-imports --trace-leaks", - "generate-ref": "./scripts/generate_sdk_ref.sh", "lint": "eslint src/ tests/", "format": "prettier --write src/ tests/ example.mts" }, @@ -44,8 +43,6 @@ "knip": "^5.25.1", "npm-check-updates": "^17.1.14", "tsup": "^8.5.1", - "typedoc": "0.26.8", - "typedoc-plugin-markdown": "4.2.7", "typescript": "^5.5.3", "vitest": "^3.2.4" }, diff --git a/js/scripts/CustomMarkdownTheme.js b/js/scripts/CustomMarkdownTheme.js deleted file mode 100644 index 6046d845..00000000 --- a/js/scripts/CustomMarkdownTheme.js +++ /dev/null @@ -1,64 +0,0 @@ -const { MarkdownTheme, MarkdownPageEvent } = require('typedoc-plugin-markdown') - -function load(app) { - // Listen to the render event - app.renderer.on(MarkdownPageEvent.END, (page) => { - // Remove Markdown links from the document contents - page.contents = removeMarkdownLinks( - removeFirstNLines( - convertH5toH3(removeLinesWithConditions(page.contents)), - 6 - ) - ) - }) -} - -// this is a hacky way to make methods in the js-sdk sdk reference look more prominent -function convertH5toH3(text) { - return text.replace(/^##### (.*)$/gm, '### $1') -} - -// Function to remove Markdown-style links -function removeMarkdownLinks(text) { - // Regular expression to match Markdown links [text](url) - return text.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '$1') // Replace with just the link text -} - -function removeFirstNLines(text, n, condition) { - // Split the text into lines, then join back excluding the first four lines - return text.split('\n').slice(n).join('\n') -} - -// Function to remove lines based on conditions -function removeLinesWithConditions(text) { - const lines = text.split('\n') - const filteredLines = [] - - for (let i = 0; i < lines.length; i++) { - // Check if the current line starts with "#### Extends" or "###### Overrides" - if ( - lines[i].startsWith('#### Extends') || - lines[i].startsWith('###### Overrides') || - lines[i].startsWith('###### Inherited from') - ) { - // If it does, skip this line and the next three lines - i += 3 // Skip this line and the next three - continue - } - - if (lines[i].startsWith('##### new')) { - // avoid promoting constructors - i += 1 - continue - } - - // If not removed, add the line to filteredLines - filteredLines.push(convertH5toH3(lines[i])) - } - - // Join the filtered lines back into a single string - return filteredLines.join('\n') -} - -// Export the load function -module.exports = { load } diff --git a/js/scripts/generate_sdk_ref.sh b/js/scripts/generate_sdk_ref.sh deleted file mode 100755 index b2bb4c34..00000000 --- a/js/scripts/generate_sdk_ref.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -# This script generates the Code Interpreter JS SDK reference markdown files -# Run it in the `js/` directory - -# generate raw SDK reference markdown files -npx typedoc - -PKG_VERSION="v$(node -p "require('./package.json').version")" -ROUTES_DIR="../sdk-reference/code-interpreter-js-sdk/${PKG_VERSION}" -mkdir -p "${ROUTES_DIR}" - -rm -rf sdk_ref/README.md - -# Flatten the sdk_ref directory by moving all nested files to the root level and remove empty subdirectories -find sdk_ref -mindepth 2 -type f | while read -r file; do - mv "$file" sdk_ref/ -done -find sdk_ref -type d -empty -delete - -# Transfrom top level MD files into folders of the same name with page.mdx inside -find sdk_ref -maxdepth 1 -type f -name "*.md" | while read -r file; do - # Extract the filename without extension - filename=$(basename "$file" .md) - # Create the directory of the same name in sdk_ref - mkdir -p "sdk_ref/${filename}" - # Move the file inside the newly created directory - mv "$file" "sdk_ref/${filename}/page.mdx" -done - -cp -r sdk_ref/* "${ROUTES_DIR}" - -rm -rf sdk_ref diff --git a/js/typedoc.json b/js/typedoc.json deleted file mode 100644 index 09eb343a..00000000 --- a/js/typedoc.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "out": "sdk_ref", - "plugin": ["typedoc-plugin-markdown", "./scripts/CustomMarkdownTheme.js"], - "exclude": ["**/*.spec.ts"], - "entryPoints": [ - "src/index.ts", - "src/charts.ts", - "src/consts.ts", - "src/messaging.ts", - "src/sandbox.ts" - ], - "excludeExternals": true, - "excludePrivate": true, - "excludeProtected": true, - "navigation": { - "includeGroups": false, - "includeCategories": false - }, - "outputFileStrategy": "modules", - "readme": "none", - "disableSources": true, - // typedoc-plugin-markdown options - "classPropertiesFormat": "table", - "typeDeclarationFormat": "table", - "enumMembersFormat": "table", - "parametersFormat": "table", - "expandParameters": true, - "useCodeBlocks": true, - "hidePageTitle": true, - "hideBreadcrumbs": true -} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3bae84f8..205c48b3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -66,12 +66,6 @@ importers: tsup: specifier: ^8.5.1 version: 8.5.1(jiti@2.4.2)(postcss@8.5.3)(typescript@5.7.3)(yaml@2.7.0) - typedoc: - specifier: 0.26.8 - version: 0.26.8(typescript@5.7.3) - typedoc-plugin-markdown: - specifier: 4.2.7 - version: 4.2.7(typedoc@0.26.8(typescript@5.7.3)) typescript: specifier: ^5.5.3 version: 5.7.3 @@ -617,27 +611,6 @@ packages: cpu: [x64] os: [win32] - '@shikijs/core@1.29.2': - resolution: {integrity: sha512-vju0lY9r27jJfOY4Z7+Rt/nIOjzJpZ3y+nYpqtUZInVoXQ/TJZcfGnNOGnKjFdVZb8qexiCuSlZRKcGfhhTTZQ==} - - '@shikijs/engine-javascript@1.29.2': - resolution: {integrity: sha512-iNEZv4IrLYPv64Q6k7EPpOCE/nuvGiKl7zxdq0WFuRPF5PAE9PRo2JGq/d8crLusM59BRemJ4eOqrFrC4wiQ+A==} - - '@shikijs/engine-oniguruma@1.29.2': - resolution: {integrity: sha512-7iiOx3SG8+g1MnlzZVDYiaeHe7Ez2Kf2HrJzdmGwkRisT7r4rak0e655AcM/tF9JG/kg5fMNYlLLKglbN7gBqA==} - - '@shikijs/langs@1.29.2': - resolution: {integrity: sha512-FIBA7N3LZ+223U7cJDUYd5shmciFQlYkFXlkKVaHsCPgfVLiO+e12FmQE6Tf9vuyEsFe3dIl8qGWKXgEHL9wmQ==} - - '@shikijs/themes@1.29.2': - resolution: {integrity: sha512-i9TNZlsq4uoyqSbluIcZkmPL9Bfi3djVxRnofUHwvx/h6SRW3cwgBC5SML7vsDcWyukY0eCzVN980rqP6qNl9g==} - - '@shikijs/types@1.29.2': - resolution: {integrity: sha512-VJjK0eIijTZf0QSTODEXCqinjBn0joAHQ+aPSBzrv4O2d/QSbsMw+ZeSRx03kV34Hy7NzUvV/7NqfYGRLrASmw==} - - '@shikijs/vscode-textmate@10.0.1': - resolution: {integrity: sha512-fTIQwLF+Qhuws31iw7Ncl1R3HUDtGwIipiJ9iU+UsDUwMhegFcQKQHd51nZjb7CArq0MvON8rbgCGQYWHUKAdg==} - '@snyk/github-codeowners@1.1.0': resolution: {integrity: sha512-lGFf08pbkEac0NYgVf4hdANpAgApRjNByLXB+WBip3qj1iendOIyAwP2GKkKbQMNVy2r1xxDf0ssfWscoiC+Vw==} engines: {node: '>=8.10'} @@ -667,15 +640,9 @@ packages: '@types/estree@1.0.7': resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==} - '@types/hast@3.0.4': - resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} - '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/mdast@4.0.4': - resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} - '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} @@ -685,9 +652,6 @@ packages: '@types/semver@7.7.0': resolution: {integrity: sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==} - '@types/unist@3.0.3': - resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} - '@typescript-eslint/eslint-plugin@6.21.0': resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} engines: {node: ^16.0.0 || >=18.0.0} @@ -917,9 +881,6 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - ccount@2.0.1: - resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} - chai@5.2.0: resolution: {integrity: sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==} engines: {node: '>=12'} @@ -935,12 +896,6 @@ packages: changeset@0.2.6: resolution: {integrity: sha512-d21ym9zLPOKMVhIa8ulJo5IV3QR2NNdK6BWuwg48qJA0XSQaMeDjo1UGThcTn7YDmU08j3UpKyFNvb3zplk8mw==} - character-entities-html4@2.1.0: - resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==} - - character-entities-legacy@3.0.0: - resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==} - check-error@2.1.1: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} @@ -968,9 +923,6 @@ packages: color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - comma-separated-tokens@2.0.3: - resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} - commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} @@ -1020,13 +972,6 @@ packages: defaults@1.0.4: resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} - dequal@2.0.3: - resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} - engines: {node: '>=6'} - - devlop@1.1.0: - resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} - dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -1049,17 +994,10 @@ packages: easy-table@1.2.0: resolution: {integrity: sha512-OFzVOv03YpvtcWGe5AayU5G2hgybsg3iqA6drU8UaoZyB9jLGMTrz9+asnLp/E+6qPh88yEI1gvyZFZ41dmgww==} - emoji-regex-xs@1.0.0: - resolution: {integrity: sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg==} - enhanced-resolve@5.18.1: resolution: {integrity: sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==} engines: {node: '>=10.13.0'} - entities@4.5.0: - resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} - engines: {node: '>=0.12'} - es-module-lexer@1.7.0: resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} @@ -1247,15 +1185,6 @@ packages: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} - hast-util-to-html@9.0.5: - resolution: {integrity: sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==} - - hast-util-whitespace@3.0.0: - resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} - - html-void-elements@3.0.0: - resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} - ignore@5.3.1: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} @@ -1363,9 +1292,6 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - linkify-it@5.0.0: - resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} - load-tsconfig@0.2.5: resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -1395,41 +1321,13 @@ packages: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} - lunr@2.3.9: - resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==} - magic-string@0.30.17: resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} - markdown-it@14.1.0: - resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} - hasBin: true - - mdast-util-to-hast@13.2.1: - resolution: {integrity: sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==} - - mdurl@2.0.0: - resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} - merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - micromark-util-character@2.1.1: - resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==} - - micromark-util-encode@2.0.1: - resolution: {integrity: sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==} - - micromark-util-sanitize-uri@2.0.1: - resolution: {integrity: sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==} - - micromark-util-symbol@2.0.1: - resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==} - - micromark-util-types@2.0.2: - resolution: {integrity: sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==} - micromatch@4.0.8: resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} @@ -1445,10 +1343,6 @@ packages: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} - minimatch@9.0.5: - resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} - engines: {node: '>=16 || 14 >=14.17'} - minimatch@9.0.9: resolution: {integrity: sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==} engines: {node: '>=16 || 14 >=14.17'} @@ -1493,9 +1387,6 @@ packages: once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - oniguruma-to-es@2.3.0: - resolution: {integrity: sha512-bwALDxriqfKGfUufKGGepCzu9x7nJQuoRoAFp4AnwehhC2crqrDIAP/uN2qdlsAvSMpeRC3+Yzhqc7hLmle5+g==} - openapi-fetch@0.14.1: resolution: {integrity: sha512-l7RarRHxlEZYjMLd/PR0slfMVse2/vvIAGm75/F7J6MlQ8/b9uUQmUF2kCPrQhJqMXSxmYWObVgeYXbFYzZR+A==} @@ -1640,13 +1531,6 @@ packages: resolution: {integrity: sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==} engines: {node: '>=18'} - property-information@7.0.0: - resolution: {integrity: sha512-7D/qOz/+Y4X/rzSB6jKxKUsQnphO046ei8qxG59mtM3RG3DHgTK81HrxrmoDVINJb8NKT5ZsRbwHvQ6B68Iyhg==} - - punycode.js@2.3.1: - resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} - engines: {node: '>=6'} - punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} @@ -1662,15 +1546,6 @@ packages: resolution: {integrity: sha512-h80JrZu/MHUZCyHu5ciuoI0+WxsCxzxJTILn6Fs8rxSnFPh+UVHYfeIxK1nVGugMqkfC4vJcBOYbkfkwYK0+gw==} engines: {node: '>= 14.18.0'} - regex-recursion@5.1.1: - resolution: {integrity: sha512-ae7SBCbzVNrIjgSbh7wMznPcQel1DNlDtzensnFxpiNpXt1U2ju/bHugH422r+4LAVS1FpW1YCwilmnNsjum9w==} - - regex-utilities@2.3.0: - resolution: {integrity: sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==} - - regex@5.1.1: - resolution: {integrity: sha512-dN5I359AVGPnwzJm2jN1k0W9LPZ+ePvoOeVMMfqIMFz53sSwXkxaJoxr50ptnsC771lK95BnTrVSZxq0b9yCGw==} - resolve-from@4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} @@ -1709,9 +1584,6 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - shiki@1.29.2: - resolution: {integrity: sha512-njXuliz/cP+67jU2hukkxCNuH1yUi4QfdZZY+sMr5PPrIyXSu5iTb/qYC4BiWWB0vZ+7TbdvYUCeL23zpwCfbg==} - siginfo@2.0.0: resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} @@ -1735,9 +1607,6 @@ packages: resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==} engines: {node: '>= 12'} - space-separated-tokens@2.0.2: - resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} - spawndamnit@3.0.1: resolution: {integrity: sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==} @@ -1750,9 +1619,6 @@ packages: std-env@3.9.0: resolution: {integrity: sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==} - stringify-entities@4.0.4: - resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==} - strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} @@ -1832,9 +1698,6 @@ packages: resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} hasBin: true - trim-lines@3.0.1: - resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} - ts-api-utils@1.4.3: resolution: {integrity: sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==} engines: {node: '>=16'} @@ -1871,27 +1734,11 @@ packages: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} - typedoc-plugin-markdown@4.2.7: - resolution: {integrity: sha512-bLsQdweSm48P9j6kGqQ3/4GCH5zu2EnURSkkxqirNc+uVFE9YK825ogDw+WbNkRHIV6eZK/1U43gT7YfglyYOg==} - engines: {node: '>= 18'} - peerDependencies: - typedoc: 0.26.x - - typedoc@0.26.8: - resolution: {integrity: sha512-QBF0BMbnNeUc6U7pRHY7Jb8pjhmiNWZNQT8LU6uk9qP9t3goP9bJptdlNqMC0wBB2w9sQrxjZt835bpRSSq1LA==} - engines: {node: '>= 18'} - hasBin: true - peerDependencies: - typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x - typescript@5.7.3: resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==} engines: {node: '>=14.17'} hasBin: true - uc.micro@2.1.0: - resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==} - udc@1.0.1: resolution: {integrity: sha512-jv+D9de1flsum5QkFtBdjyppCQAdz9kTck/0xST5Vx48T9LL2BYnw0Iw77dSKDQ9KZ/PS3qPO1vfXHDpLZlxcQ==} @@ -1904,21 +1751,6 @@ packages: undici-types@6.21.0: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} - unist-util-is@6.0.0: - resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==} - - unist-util-position@5.0.0: - resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==} - - unist-util-stringify-position@4.0.0: - resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} - - unist-util-visit-parents@6.0.1: - resolution: {integrity: sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==} - - unist-util-visit@5.0.0: - resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} - universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} @@ -1926,12 +1758,6 @@ packages: uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} - vfile-message@4.0.2: - resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==} - - vfile@6.0.3: - resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vite-node@3.2.4: resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} @@ -2056,9 +1882,6 @@ packages: zod@3.22.4: resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} - zwitch@2.0.4: - resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} - snapshots: '@babel/runtime@7.28.6': {} @@ -2420,41 +2243,6 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.39.0': optional: true - '@shikijs/core@1.29.2': - dependencies: - '@shikijs/engine-javascript': 1.29.2 - '@shikijs/engine-oniguruma': 1.29.2 - '@shikijs/types': 1.29.2 - '@shikijs/vscode-textmate': 10.0.1 - '@types/hast': 3.0.4 - hast-util-to-html: 9.0.5 - - '@shikijs/engine-javascript@1.29.2': - dependencies: - '@shikijs/types': 1.29.2 - '@shikijs/vscode-textmate': 10.0.1 - oniguruma-to-es: 2.3.0 - - '@shikijs/engine-oniguruma@1.29.2': - dependencies: - '@shikijs/types': 1.29.2 - '@shikijs/vscode-textmate': 10.0.1 - - '@shikijs/langs@1.29.2': - dependencies: - '@shikijs/types': 1.29.2 - - '@shikijs/themes@1.29.2': - dependencies: - '@shikijs/types': 1.29.2 - - '@shikijs/types@1.29.2': - dependencies: - '@shikijs/vscode-textmate': 10.0.1 - '@types/hast': 3.0.4 - - '@shikijs/vscode-textmate@10.0.1': {} - '@snyk/github-codeowners@1.1.0': dependencies: commander: 4.1.1 @@ -2494,16 +2282,8 @@ snapshots: '@types/estree@1.0.7': {} - '@types/hast@3.0.4': - dependencies: - '@types/unist': 3.0.3 - '@types/json-schema@7.0.15': {} - '@types/mdast@4.0.4': - dependencies: - '@types/unist': 3.0.3 - '@types/node@12.20.55': {} '@types/node@20.19.37': @@ -2512,8 +2292,6 @@ snapshots: '@types/semver@7.7.0': {} - '@types/unist@3.0.3': {} - '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)': dependencies: '@eslint-community/regexpp': 4.12.1 @@ -2795,8 +2573,6 @@ snapshots: callsites@3.1.0: {} - ccount@2.0.1: {} - chai@5.2.0: dependencies: assertion-error: 2.0.1 @@ -2817,10 +2593,6 @@ snapshots: udc: 1.0.1 underscore: 1.13.6 - character-entities-html4@2.1.0: {} - - character-entities-legacy@3.0.0: {} - check-error@2.1.1: {} chokidar@4.0.3: @@ -2840,8 +2612,6 @@ snapshots: color-name@1.1.4: {} - comma-separated-tokens@2.0.3: {} - commander@4.1.1: {} compare-versions@6.1.1: {} @@ -2875,12 +2645,6 @@ snapshots: clone: 1.0.4 optional: true - dequal@2.0.3: {} - - devlop@1.1.0: - dependencies: - dequal: 2.0.3 - dir-glob@3.0.1: dependencies: path-type: 4.0.0 @@ -2915,15 +2679,11 @@ snapshots: optionalDependencies: wcwidth: 1.0.1 - emoji-regex-xs@1.0.0: {} - enhanced-resolve@5.18.1: dependencies: graceful-fs: 4.2.11 tapable: 2.2.1 - entities@4.5.0: {} - es-module-lexer@1.7.0: {} esbuild@0.25.0: @@ -3193,26 +2953,6 @@ snapshots: has-flag@4.0.0: {} - hast-util-to-html@9.0.5: - dependencies: - '@types/hast': 3.0.4 - '@types/unist': 3.0.3 - ccount: 2.0.1 - comma-separated-tokens: 2.0.3 - hast-util-whitespace: 3.0.0 - html-void-elements: 3.0.0 - mdast-util-to-hast: 13.2.1 - property-information: 7.0.0 - space-separated-tokens: 2.0.2 - stringify-entities: 4.0.4 - zwitch: 2.0.4 - - hast-util-whitespace@3.0.0: - dependencies: - '@types/hast': 3.0.4 - - html-void-elements@3.0.0: {} - ignore@5.3.1: {} import-fresh@3.3.1: @@ -3312,10 +3052,6 @@ snapshots: lines-and-columns@1.2.4: {} - linkify-it@5.0.0: - dependencies: - uc.micro: 2.1.0 - load-tsconfig@0.2.5: {} locate-path@5.0.0: @@ -3338,54 +3074,12 @@ snapshots: dependencies: yallist: 4.0.0 - lunr@2.3.9: {} - magic-string@0.30.17: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 - markdown-it@14.1.0: - dependencies: - argparse: 2.0.1 - entities: 4.5.0 - linkify-it: 5.0.0 - mdurl: 2.0.0 - punycode.js: 2.3.1 - uc.micro: 2.1.0 - - mdast-util-to-hast@13.2.1: - dependencies: - '@types/hast': 3.0.4 - '@types/mdast': 4.0.4 - '@ungap/structured-clone': 1.3.0 - devlop: 1.1.0 - micromark-util-sanitize-uri: 2.0.1 - trim-lines: 3.0.1 - unist-util-position: 5.0.0 - unist-util-visit: 5.0.0 - vfile: 6.0.3 - - mdurl@2.0.0: {} - merge2@1.4.1: {} - micromark-util-character@2.1.1: - dependencies: - micromark-util-symbol: 2.0.1 - micromark-util-types: 2.0.2 - - micromark-util-encode@2.0.1: {} - - micromark-util-sanitize-uri@2.0.1: - dependencies: - micromark-util-character: 2.1.1 - micromark-util-encode: 2.0.1 - micromark-util-symbol: 2.0.1 - - micromark-util-symbol@2.0.1: {} - - micromark-util-types@2.0.2: {} - micromatch@4.0.8: dependencies: braces: 3.0.3 @@ -3403,10 +3097,6 @@ snapshots: dependencies: brace-expansion: 2.0.2 - minimatch@9.0.5: - dependencies: - brace-expansion: 2.0.2 - minimatch@9.0.9: dependencies: brace-expansion: 2.0.2 @@ -3446,12 +3136,6 @@ snapshots: dependencies: wrappy: 1.0.2 - oniguruma-to-es@2.3.0: - dependencies: - emoji-regex-xs: 1.0.0 - regex: 5.1.1 - regex-recursion: 5.1.1 - openapi-fetch@0.14.1: dependencies: openapi-typescript-helpers: 0.0.15 @@ -3562,10 +3246,6 @@ snapshots: dependencies: parse-ms: 4.0.0 - property-information@7.0.0: {} - - punycode.js@2.3.1: {} - punycode@2.3.1: {} queue-microtask@1.2.3: {} @@ -3579,17 +3259,6 @@ snapshots: readdirp@4.1.1: {} - regex-recursion@5.1.1: - dependencies: - regex: 5.1.1 - regex-utilities: 2.3.0 - - regex-utilities@2.3.0: {} - - regex@5.1.1: - dependencies: - regex-utilities: 2.3.0 - resolve-from@4.0.0: {} resolve-from@5.0.0: {} @@ -3640,17 +3309,6 @@ snapshots: shebang-regex@3.0.0: {} - shiki@1.29.2: - dependencies: - '@shikijs/core': 1.29.2 - '@shikijs/engine-javascript': 1.29.2 - '@shikijs/engine-oniguruma': 1.29.2 - '@shikijs/langs': 1.29.2 - '@shikijs/themes': 1.29.2 - '@shikijs/types': 1.29.2 - '@shikijs/vscode-textmate': 10.0.1 - '@types/hast': 3.0.4 - siginfo@2.0.0: {} signal-exit@4.1.0: {} @@ -3663,8 +3321,6 @@ snapshots: source-map@0.7.6: {} - space-separated-tokens@2.0.2: {} - spawndamnit@3.0.1: dependencies: cross-spawn: 7.0.6 @@ -3676,11 +3332,6 @@ snapshots: std-env@3.9.0: {} - stringify-entities@4.0.4: - dependencies: - character-entities-html4: 2.1.0 - character-entities-legacy: 3.0.0 - strip-ansi@6.0.1: dependencies: ansi-regex: 5.0.1 @@ -3752,8 +3403,6 @@ snapshots: tree-kill@1.2.2: {} - trim-lines@3.0.1: {} - ts-api-utils@1.4.3(typescript@5.7.3): dependencies: typescript: 5.7.3 @@ -3794,23 +3443,8 @@ snapshots: type-fest@0.20.2: {} - typedoc-plugin-markdown@4.2.7(typedoc@0.26.8(typescript@5.7.3)): - dependencies: - typedoc: 0.26.8(typescript@5.7.3) - - typedoc@0.26.8(typescript@5.7.3): - dependencies: - lunr: 2.3.9 - markdown-it: 14.1.0 - minimatch: 9.0.5 - shiki: 1.29.2 - typescript: 5.7.3 - yaml: 2.7.0 - typescript@5.7.3: {} - uc.micro@2.1.0: {} - udc@1.0.1: {} ufo@1.6.1: {} @@ -3819,45 +3453,12 @@ snapshots: undici-types@6.21.0: {} - unist-util-is@6.0.0: - dependencies: - '@types/unist': 3.0.3 - - unist-util-position@5.0.0: - dependencies: - '@types/unist': 3.0.3 - - unist-util-stringify-position@4.0.0: - dependencies: - '@types/unist': 3.0.3 - - unist-util-visit-parents@6.0.1: - dependencies: - '@types/unist': 3.0.3 - unist-util-is: 6.0.0 - - unist-util-visit@5.0.0: - dependencies: - '@types/unist': 3.0.3 - unist-util-is: 6.0.0 - unist-util-visit-parents: 6.0.1 - universalify@0.1.2: {} uri-js@4.4.1: dependencies: punycode: 2.3.1 - vfile-message@4.0.2: - dependencies: - '@types/unist': 3.0.3 - unist-util-stringify-position: 4.0.0 - - vfile@6.0.3: - dependencies: - '@types/unist': 3.0.3 - vfile-message: 4.0.2 - vite-node@3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): dependencies: cac: 6.7.14 @@ -3960,7 +3561,8 @@ snapshots: yallist@5.0.0: {} - yaml@2.7.0: {} + yaml@2.7.0: + optional: true yocto-queue@0.1.0: {} @@ -3969,5 +3571,3 @@ snapshots: zod: 3.22.4 zod@3.22.4: {} - - zwitch@2.0.4: {} diff --git a/python/package.json b/python/package.json index ecb7e5a1..8a486671 100644 --- a/python/package.json +++ b/python/package.json @@ -10,7 +10,6 @@ "postVersion": "poetry version $(pnpm pkg get version --workspaces=false | tr -d \\\")", "postPublish": "poetry build && poetry config pypi-token.pypi ${PYPI_TOKEN} && poetry publish --skip-existing", "pretest": "poetry install", - "generate-ref": "poetry install && ./scripts/generate_sdk_ref.sh", "lint": "poetry run ruff check .", "format": "poetry run ruff format ." } diff --git a/python/poetry.lock b/python/poetry.lock index 734f2a66..b75f949b 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -43,53 +43,6 @@ tests = ["attrs[tests-no-zope]", "zope-interface"] tests-mypy = ["mypy (>=1.6) ; platform_python_implementation == \"CPython\" and python_version >= \"3.8\"", "pytest-mypy-plugins ; platform_python_implementation == \"CPython\" and python_version >= \"3.8\""] tests-no-zope = ["attrs[tests-mypy]", "cloudpickle ; platform_python_implementation == \"CPython\"", "hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist[psutil]"] -[[package]] -name = "black" -version = "23.12.1" -description = "The uncompromising code formatter." -optional = false -python-versions = ">=3.8" -groups = ["dev"] -files = [ - {file = "black-23.12.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e0aaf6041986767a5e0ce663c7a2f0e9eaf21e6ff87a5f95cbf3675bfd4c41d2"}, - {file = "black-23.12.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c88b3711d12905b74206227109272673edce0cb29f27e1385f33b0163c414bba"}, - {file = "black-23.12.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a920b569dc6b3472513ba6ddea21f440d4b4c699494d2e972a1753cdc25df7b0"}, - {file = "black-23.12.1-cp310-cp310-win_amd64.whl", hash = "sha256:3fa4be75ef2a6b96ea8d92b1587dd8cb3a35c7e3d51f0738ced0781c3aa3a5a3"}, - {file = "black-23.12.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:8d4df77958a622f9b5a4c96edb4b8c0034f8434032ab11077ec6c56ae9f384ba"}, - {file = "black-23.12.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:602cfb1196dc692424c70b6507593a2b29aac0547c1be9a1d1365f0d964c353b"}, - {file = "black-23.12.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c4352800f14be5b4864016882cdba10755bd50805c95f728011bcb47a4afd59"}, - {file = "black-23.12.1-cp311-cp311-win_amd64.whl", hash = "sha256:0808494f2b2df923ffc5723ed3c7b096bd76341f6213989759287611e9837d50"}, - {file = "black-23.12.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:25e57fd232a6d6ff3f4478a6fd0580838e47c93c83eaf1ccc92d4faf27112c4e"}, - {file = "black-23.12.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2d9e13db441c509a3763a7a3d9a49ccc1b4e974a47be4e08ade2a228876500ec"}, - {file = "black-23.12.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6d1bd9c210f8b109b1762ec9fd36592fdd528485aadb3f5849b2740ef17e674e"}, - {file = "black-23.12.1-cp312-cp312-win_amd64.whl", hash = "sha256:ae76c22bde5cbb6bfd211ec343ded2163bba7883c7bc77f6b756a1049436fbb9"}, - {file = "black-23.12.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1fa88a0f74e50e4487477bc0bb900c6781dbddfdfa32691e780bf854c3b4a47f"}, - {file = "black-23.12.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:a4d6a9668e45ad99d2f8ec70d5c8c04ef4f32f648ef39048d010b0689832ec6d"}, - {file = "black-23.12.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b18fb2ae6c4bb63eebe5be6bd869ba2f14fd0259bda7d18a46b764d8fb86298a"}, - {file = "black-23.12.1-cp38-cp38-win_amd64.whl", hash = "sha256:c04b6d9d20e9c13f43eee8ea87d44156b8505ca8a3c878773f68b4e4812a421e"}, - {file = "black-23.12.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3e1b38b3135fd4c025c28c55ddfc236b05af657828a8a6abe5deec419a0b7055"}, - {file = "black-23.12.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4f0031eaa7b921db76decd73636ef3a12c942ed367d8c3841a0739412b260a54"}, - {file = "black-23.12.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:97e56155c6b737854e60a9ab1c598ff2533d57e7506d97af5481141671abf3ea"}, - {file = "black-23.12.1-cp39-cp39-win_amd64.whl", hash = "sha256:dd15245c8b68fe2b6bd0f32c1556509d11bb33aec9b5d0866dd8e2ed3dba09c2"}, - {file = "black-23.12.1-py3-none-any.whl", hash = "sha256:78baad24af0f033958cad29731e27363183e140962595def56423e626f4bee3e"}, - {file = "black-23.12.1.tar.gz", hash = "sha256:4ce3ef14ebe8d9509188014d96af1c456a910d5b5cbf434a09fef7e024b3d0d5"}, -] - -[package.dependencies] -click = ">=8.0.0" -mypy-extensions = ">=0.4.3" -packaging = ">=22.0" -pathspec = ">=0.9.0" -platformdirs = ">=2" -tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} - -[package.extras] -colorama = ["colorama (>=0.4.3)"] -d = ["aiohttp (>=3.7.4) ; sys_platform != \"win32\" or implementation_name != \"pypy\"", "aiohttp (>=3.7.4,!=3.9.0) ; sys_platform == \"win32\" and implementation_name == \"pypy\""] -jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] -uvloop = ["uvloop (>=0.15.2)"] - [[package]] name = "bracex" version = "2.6" @@ -114,136 +67,6 @@ files = [ {file = "certifi-2024.7.4.tar.gz", hash = "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b"}, ] -[[package]] -name = "charset-normalizer" -version = "3.4.0" -description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -optional = false -python-versions = ">=3.7.0" -groups = ["dev"] -files = [ - {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4f9fc98dad6c2eaa32fc3af1417d95b5e3d08aff968df0cd320066def971f9a6"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0de7b687289d3c1b3e8660d0741874abe7888100efe14bd0f9fd7141bcbda92b"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5ed2e36c3e9b4f21dd9422f6893dec0abf2cca553af509b10cd630f878d3eb99"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:40d3ff7fc90b98c637bda91c89d51264a3dcf210cade3a2c6f838c7268d7a4ca"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1110e22af8ca26b90bd6364fe4c763329b0ebf1ee213ba32b68c73de5752323d"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:86f4e8cca779080f66ff4f191a685ced73d2f72d50216f7112185dc02b90b9b7"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7f683ddc7eedd742e2889d2bfb96d69573fde1d92fcb811979cdb7165bb9c7d3"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27623ba66c183eca01bf9ff833875b459cad267aeeb044477fedac35e19ba907"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f606a1881d2663630ea5b8ce2efe2111740df4b687bd78b34a8131baa007f79b"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:0b309d1747110feb25d7ed6b01afdec269c647d382c857ef4663bbe6ad95a912"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:136815f06a3ae311fae551c3df1f998a1ebd01ddd424aa5603a4336997629e95"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:14215b71a762336254351b00ec720a8e85cada43b987da5a042e4ce3e82bd68e"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:79983512b108e4a164b9c8d34de3992f76d48cadc9554c9e60b43f308988aabe"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-win32.whl", hash = "sha256:c94057af19bc953643a33581844649a7fdab902624d2eb739738a30e2b3e60fc"}, - {file = "charset_normalizer-3.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:55f56e2ebd4e3bc50442fbc0888c9d8c94e4e06a933804e2af3e89e2f9c1c749"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0d99dd8ff461990f12d6e42c7347fd9ab2532fb70e9621ba520f9e8637161d7c"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c57516e58fd17d03ebe67e181a4e4e2ccab1168f8c2976c6a334d4f819fe5944"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6dba5d19c4dfab08e58d5b36304b3f92f3bd5d42c1a3fa37b5ba5cdf6dfcbcee"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf4475b82be41b07cc5e5ff94810e6a01f276e37c2d55571e3fe175e467a1a1c"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ce031db0408e487fd2775d745ce30a7cd2923667cf3b69d48d219f1d8f5ddeb6"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ff4e7cdfdb1ab5698e675ca622e72d58a6fa2a8aa58195de0c0061288e6e3ea"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3710a9751938947e6327ea9f3ea6332a09bf0ba0c09cae9cb1f250bd1f1549bc"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:82357d85de703176b5587dbe6ade8ff67f9f69a41c0733cf2425378b49954de5"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47334db71978b23ebcf3c0f9f5ee98b8d65992b65c9c4f2d34c2eaf5bcaf0594"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8ce7fd6767a1cc5a92a639b391891bf1c268b03ec7e021c7d6d902285259685c"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:f1a2f519ae173b5b6a2c9d5fa3116ce16e48b3462c8b96dfdded11055e3d6365"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:63bc5c4ae26e4bc6be6469943b8253c0fd4e4186c43ad46e713ea61a0ba49129"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:bcb4f8ea87d03bc51ad04add8ceaf9b0f085ac045ab4d74e73bbc2dc033f0236"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-win32.whl", hash = "sha256:9ae4ef0b3f6b41bad6366fb0ea4fc1d7ed051528e113a60fa2a65a9abb5b1d99"}, - {file = "charset_normalizer-3.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:cee4373f4d3ad28f1ab6290684d8e2ebdb9e7a1b74fdc39e4c211995f77bec27"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0713f3adb9d03d49d365b70b84775d0a0d18e4ab08d12bc46baa6132ba78aaf6"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:de7376c29d95d6719048c194a9cf1a1b0393fbe8488a22008610b0361d834ecf"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4a51b48f42d9358460b78725283f04bddaf44a9358197b889657deba38f329db"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b295729485b06c1a0683af02a9e42d2caa9db04a373dc38a6a58cdd1e8abddf1"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ee803480535c44e7f5ad00788526da7d85525cfefaf8acf8ab9a310000be4b03"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3d59d125ffbd6d552765510e3f31ed75ebac2c7470c7274195b9161a32350284"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8cda06946eac330cbe6598f77bb54e690b4ca93f593dee1568ad22b04f347c15"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:07afec21bbbbf8a5cc3651aa96b980afe2526e7f048fdfb7f1014d84acc8b6d8"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6b40e8d38afe634559e398cc32b1472f376a4099c75fe6299ae607e404c033b2"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b8dcd239c743aa2f9c22ce674a145e0a25cb1566c495928440a181ca1ccf6719"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:84450ba661fb96e9fd67629b93d2941c871ca86fc38d835d19d4225ff946a631"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:44aeb140295a2f0659e113b31cfe92c9061622cadbc9e2a2f7b8ef6b1e29ef4b"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1db4e7fefefd0f548d73e2e2e041f9df5c59e178b4c72fbac4cc6f535cfb1565"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-win32.whl", hash = "sha256:5726cf76c982532c1863fb64d8c6dd0e4c90b6ece9feb06c9f202417a31f7dd7"}, - {file = "charset_normalizer-3.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:b197e7094f232959f8f20541ead1d9862ac5ebea1d58e9849c1bf979255dfac9"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:dd4eda173a9fcccb5f2e2bd2a9f423d180194b1bf17cf59e3269899235b2a114"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e9e3c4c9e1ed40ea53acf11e2a386383c3304212c965773704e4603d589343ed"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:92a7e36b000bf022ef3dbb9c46bfe2d52c047d5e3f3343f43204263c5addc250"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:54b6a92d009cbe2fb11054ba694bc9e284dad30a26757b1e372a1fdddaf21920"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ffd9493de4c922f2a38c2bf62b831dcec90ac673ed1ca182fe11b4d8e9f2a64"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:35c404d74c2926d0287fbd63ed5d27eb911eb9e4a3bb2c6d294f3cfd4a9e0c23"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4796efc4faf6b53a18e3d46343535caed491776a22af773f366534056c4e1fbc"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e7fdd52961feb4c96507aa649550ec2a0d527c086d284749b2f582f2d40a2e0d"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:92db3c28b5b2a273346bebb24857fda45601aef6ae1c011c0a997106581e8a88"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ab973df98fc99ab39080bfb0eb3a925181454d7c3ac8a1e695fddfae696d9e90"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:4b67fdab07fdd3c10bb21edab3cbfe8cf5696f453afce75d815d9d7223fbe88b"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:aa41e526a5d4a9dfcfbab0716c7e8a1b215abd3f3df5a45cf18a12721d31cb5d"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ffc519621dce0c767e96b9c53f09c5d215578e10b02c285809f76509a3931482"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-win32.whl", hash = "sha256:f19c1585933c82098c2a520f8ec1227f20e339e33aca8fa6f956f6691b784e67"}, - {file = "charset_normalizer-3.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:707b82d19e65c9bd28b81dde95249b07bf9f5b90ebe1ef17d9b57473f8a64b7b"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:dbe03226baf438ac4fda9e2d0715022fd579cb641c4cf639fa40d53b2fe6f3e2"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd9a8bd8900e65504a305bf8ae6fa9fbc66de94178c420791d0293702fce2df7"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b8831399554b92b72af5932cdbbd4ddc55c55f631bb13ff8fe4e6536a06c5c51"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a14969b8691f7998e74663b77b4c36c0337cb1df552da83d5c9004a93afdb574"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dcaf7c1524c0542ee2fc82cc8ec337f7a9f7edee2532421ab200d2b920fc97cf"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:425c5f215d0eecee9a56cdb703203dda90423247421bf0d67125add85d0c4455"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_aarch64.whl", hash = "sha256:d5b054862739d276e09928de37c79ddeec42a6e1bfc55863be96a36ba22926f6"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_i686.whl", hash = "sha256:f3e73a4255342d4eb26ef6df01e3962e73aa29baa3124a8e824c5d3364a65748"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_ppc64le.whl", hash = "sha256:2f6c34da58ea9c1a9515621f4d9ac379871a8f21168ba1b5e09d74250de5ad62"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_s390x.whl", hash = "sha256:f09cb5a7bbe1ecae6e87901a2eb23e0256bb524a79ccc53eb0b7629fbe7677c4"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_x86_64.whl", hash = "sha256:0099d79bdfcf5c1f0c2c72f91516702ebf8b0b8ddd8905f97a8aecf49712c621"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-win32.whl", hash = "sha256:9c98230f5042f4945f957d006edccc2af1e03ed5e37ce7c373f00a5a4daa6149"}, - {file = "charset_normalizer-3.4.0-cp37-cp37m-win_amd64.whl", hash = "sha256:62f60aebecfc7f4b82e3f639a7d1433a20ec32824db2199a11ad4f5e146ef5ee"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:af73657b7a68211996527dbfeffbb0864e043d270580c5aef06dc4b659a4b578"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cab5d0b79d987c67f3b9e9c53f54a61360422a5a0bc075f43cab5621d530c3b6"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:9289fd5dddcf57bab41d044f1756550f9e7cf0c8e373b8cdf0ce8773dc4bd417"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6b493a043635eb376e50eedf7818f2f322eabbaa974e948bd8bdd29eb7ef2a51"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fa2566ca27d67c86569e8c85297aaf413ffab85a8960500f12ea34ff98e4c41"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8e538f46104c815be19c975572d74afb53f29650ea2025bbfaef359d2de2f7f"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fd30dc99682dc2c603c2b315bded2799019cea829f8bf57dc6b61efde6611c8"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2006769bd1640bdf4d5641c69a3d63b71b81445473cac5ded39740a226fa88ab"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:dc15e99b2d8a656f8e666854404f1ba54765871104e50c8e9813af8a7db07f12"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:ab2e5bef076f5a235c3774b4f4028a680432cded7cad37bba0fd90d64b187d19"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:4ec9dd88a5b71abfc74e9df5ebe7921c35cbb3b641181a531ca65cdb5e8e4dea"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:43193c5cda5d612f247172016c4bb71251c784d7a4d9314677186a838ad34858"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:aa693779a8b50cd97570e5a0f343538a8dbd3e496fa5dcb87e29406ad0299654"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-win32.whl", hash = "sha256:7706f5850360ac01d80c89bcef1640683cc12ed87f42579dab6c5d3ed6888613"}, - {file = "charset_normalizer-3.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:c3e446d253bd88f6377260d07c895816ebf33ffffd56c1c792b13bff9c3e1ade"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:980b4f289d1d90ca5efcf07958d3eb38ed9c0b7676bf2831a54d4f66f9c27dfa"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f28f891ccd15c514a0981f3b9db9aa23d62fe1a99997512b0491d2ed323d229a"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8aacce6e2e1edcb6ac625fb0f8c3a9570ccc7bfba1f63419b3769ccf6a00ed0"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bd7af3717683bea4c87acd8c0d3d5b44d56120b26fd3f8a692bdd2d5260c620a"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5ff2ed8194587faf56555927b3aa10e6fb69d931e33953943bc4f837dfee2242"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e91f541a85298cf35433bf66f3fab2a4a2cff05c127eeca4af174f6d497f0d4b"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:309a7de0a0ff3040acaebb35ec45d18db4b28232f21998851cfa709eeff49d62"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:285e96d9d53422efc0d7a17c60e59f37fbf3dfa942073f666db4ac71e8d726d0"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:5d447056e2ca60382d460a604b6302d8db69476fd2015c81e7c35417cfabe4cd"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:20587d20f557fe189b7947d8e7ec5afa110ccf72a3128d61a2a387c3313f46be"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:130272c698667a982a5d0e626851ceff662565379baf0ff2cc58067b81d4f11d"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:ab22fbd9765e6954bc0bcff24c25ff71dcbfdb185fcdaca49e81bac68fe724d3"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7782afc9b6b42200f7362858f9e73b1f8316afb276d316336c0ec3bd73312742"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-win32.whl", hash = "sha256:2de62e8801ddfff069cd5c504ce3bc9672b23266597d4e4f50eda28846c322f2"}, - {file = "charset_normalizer-3.4.0-cp39-cp39-win_amd64.whl", hash = "sha256:95c3c157765b031331dd4db3c775e58deaee050a3042fcad72cbc4189d7c8dca"}, - {file = "charset_normalizer-3.4.0-py3-none-any.whl", hash = "sha256:fe9f97feb71aa9896b81973a7bbada8c49501dc73e58a10fcef6663af95e5079"}, - {file = "charset_normalizer-3.4.0.tar.gz", hash = "sha256:223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e"}, -] - -[[package]] -name = "click" -version = "8.1.7" -description = "Composable command line interface toolkit" -optional = false -python-versions = ">=3.7" -groups = ["dev"] -files = [ - {file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"}, - {file = "click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"}, -] - -[package.dependencies] -colorama = {version = "*", markers = "platform_system == \"Windows\""} - [[package]] name = "colorama" version = "0.4.6" @@ -358,74 +181,6 @@ files = [ docs = ["ipython", "matplotlib", "numpydoc", "sphinx"] tests = ["pytest", "pytest-cov", "pytest-xdist"] -[[package]] -name = "databind" -version = "4.5.2" -description = "Databind is a library inspired by jackson-databind to de-/serialize Python dataclasses. The `databind` package will install the full suite of databind packages. Compatible with Python 3.8 and newer." -optional = false -python-versions = "<4.0.0,>=3.8.0" -groups = ["dev"] -files = [ - {file = "databind-4.5.2-py3-none-any.whl", hash = "sha256:b9c3a03c0414aa4567f095d7218ac904bd2b267b58e3763dac28e83d64b69770"}, - {file = "databind-4.5.2.tar.gz", hash = "sha256:0a8aa0ff130a0306581c559388f5ef65e0fae7ef4b86412eacb1f4a0420006c4"}, -] - -[package.dependencies] -Deprecated = ">=1.2.12,<2.0.0" -nr-date = ">=2.0.0,<3.0.0" -nr-stream = ">=1.0.0,<2.0.0" -setuptools = {version = ">=40.8.0", markers = "python_version < \"3.10\""} -typeapi = ">=2.0.1,<3" -typing-extensions = ">=3.10.0,<5" - -[[package]] -name = "databind-core" -version = "4.5.2" -description = "Databind is a library inspired by jackson-databind to de-/serialize Python dataclasses. Compatible with Python 3.8 and newer. Deprecated, use `databind` package." -optional = false -python-versions = "<4.0.0,>=3.8.0" -groups = ["dev"] -files = [ - {file = "databind.core-4.5.2-py3-none-any.whl", hash = "sha256:a1dd1c6bd8ca9907d1292d8df9ec763ce91543e27f7eda4268e4a1a84fcd1c42"}, - {file = "databind.core-4.5.2.tar.gz", hash = "sha256:b8ac8127bc5d6b239a2a81aeddb268b0c4cadd53fbce7e8b2c7a9ef6413bccb3"}, -] - -[package.dependencies] -databind = ">=4.5.2,<5.0.0" - -[[package]] -name = "databind-json" -version = "4.5.2" -description = "De-/serialize Python dataclasses to or from JSON payloads. Compatible with Python 3.8 and newer. Deprecated, use `databind` module instead." -optional = false -python-versions = "<4.0.0,>=3.8.0" -groups = ["dev"] -files = [ - {file = "databind.json-4.5.2-py3-none-any.whl", hash = "sha256:a803bf440634685984361cb2a5a975887e487c854ed48d81ff7aaf3a1ed1e94c"}, - {file = "databind.json-4.5.2.tar.gz", hash = "sha256:6cc9b5c6fddaebd49b2433932948eb3be8a41633b90aa37998d7922504b8f165"}, -] - -[package.dependencies] -databind = ">=4.5.2,<5.0.0" - -[[package]] -name = "deprecated" -version = "1.2.15" -description = "Python @deprecated decorator to deprecate old python classes, functions or methods." -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" -groups = ["dev"] -files = [ - {file = "Deprecated-1.2.15-py2.py3-none-any.whl", hash = "sha256:353bc4a8ac4bfc96800ddab349d89c25dec1079f65fd53acdcc1e0b975b21320"}, - {file = "deprecated-1.2.15.tar.gz", hash = "sha256:683e561a90de76239796e6b6feac66b99030d2dd3fcf61ef996330f14bbb9b0d"}, -] - -[package.dependencies] -wrapt = ">=1.10,<2" - -[package.extras] -dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "jinja2 (>=3.0.3,<3.1.0)", "setuptools ; python_version >= \"3.12\"", "sphinx (<2)", "tox"] - [[package]] name = "dockerfile-parse" version = "2.0.1" @@ -438,54 +193,6 @@ files = [ {file = "dockerfile_parse-2.0.1-py2.py3-none-any.whl", hash = "sha256:bdffd126d2eb26acf1066acb54cb2e336682e1d72b974a40894fac76a4df17f6"}, ] -[[package]] -name = "docspec" -version = "2.2.1" -description = "Docspec is a JSON object specification for representing API documentation of programming languages." -optional = false -python-versions = ">=3.7,<4.0" -groups = ["dev"] -files = [ - {file = "docspec-2.2.1-py3-none-any.whl", hash = "sha256:7538f750095a9688c6980ff9a4e029a823a500f64bd00b6b4bdb27951feb31cb"}, - {file = "docspec-2.2.1.tar.gz", hash = "sha256:4854e77edc0e2de40e785e57e95880f7095a05fe978f8b54cef7a269586e15ff"}, -] - -[package.dependencies] -"databind.core" = ">=4.2.6,<5.0.0" -"databind.json" = ">=4.2.6,<5.0.0" -Deprecated = ">=1.2.12,<2.0.0" - -[[package]] -name = "docspec-python" -version = "2.2.1" -description = "A parser based on lib2to3 producing docspec data from Python source code." -optional = false -python-versions = ">=3.7,<4.0" -groups = ["dev"] -files = [ - {file = "docspec_python-2.2.1-py3-none-any.whl", hash = "sha256:76ac41d35a8face35b2d766c2e8a416fb8832359785d396f0d53bcb00f178e54"}, - {file = "docspec_python-2.2.1.tar.gz", hash = "sha256:c41b850b4d6f4de30999ea6f82c9cdb9183d9bcba45559ee9173d3dab7281559"}, -] - -[package.dependencies] -black = ">=23.1.0,<24.0.0" -docspec = ">=2.2.1,<3.0.0" -"nr.util" = ">=0.7.0" - -[[package]] -name = "docstring-parser" -version = "0.11" -description = "\"Parse Python docstrings in reST, Google and Numpydoc format\"" -optional = false -python-versions = ">=3.6" -groups = ["dev"] -files = [ - {file = "docstring_parser-0.11.tar.gz", hash = "sha256:93b3f8f481c7d24e37c5d9f30293c89e2933fa209421c8abd731dd3ef0715ecb"}, -] - -[package.extras] -test = ["black", "pytest"] - [[package]] name = "e2b" version = "2.10.2" @@ -729,24 +436,6 @@ files = [ {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, ] -[[package]] -name = "jinja2" -version = "3.1.6" -description = "A very fast and expressive template engine." -optional = false -python-versions = ">=3.7" -groups = ["dev"] -files = [ - {file = "jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67"}, - {file = "jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"}, -] - -[package.dependencies] -MarkupSafe = ">=2.0" - -[package.extras] -i18n = ["Babel (>=2.7)"] - [[package]] name = "kiwisolver" version = "1.4.7" @@ -896,76 +585,6 @@ profiling = ["gprof2dot"] rtd = ["jupyter_sphinx", "mdit-py-plugins", "myst-parser", "pyyaml", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinx_book_theme"] testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"] -[[package]] -name = "markupsafe" -version = "2.1.5" -description = "Safely add untrusted strings to HTML/XML markup." -optional = false -python-versions = ">=3.7" -groups = ["dev"] -files = [ - {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a17a92de5231666cfbe003f0e4b9b3a7ae3afb1ec2845aadc2bacc93ff85febc"}, - {file = "MarkupSafe-2.1.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:72b6be590cc35924b02c78ef34b467da4ba07e4e0f0454a2c5907f473fc50ce5"}, - {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e61659ba32cf2cf1481e575d0462554625196a1f2fc06a1c777d3f48e8865d46"}, - {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2174c595a0d73a3080ca3257b40096db99799265e1c27cc5a610743acd86d62f"}, - {file = "MarkupSafe-2.1.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ae2ad8ae6ebee9d2d94b17fb62763125f3f374c25618198f40cbb8b525411900"}, - {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:075202fa5b72c86ad32dc7d0b56024ebdbcf2048c0ba09f1cde31bfdd57bcfff"}, - {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:598e3276b64aff0e7b3451b72e94fa3c238d452e7ddcd893c3ab324717456bad"}, - {file = "MarkupSafe-2.1.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fce659a462a1be54d2ffcacea5e3ba2d74daa74f30f5f143fe0c58636e355fdd"}, - {file = "MarkupSafe-2.1.5-cp310-cp310-win32.whl", hash = "sha256:d9fad5155d72433c921b782e58892377c44bd6252b5af2f67f16b194987338a4"}, - {file = "MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl", hash = "sha256:bf50cd79a75d181c9181df03572cdce0fbb75cc353bc350712073108cba98de5"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:629ddd2ca402ae6dbedfceeba9c46d5f7b2a61d9749597d4307f943ef198fc1f"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5b7b716f97b52c5a14bffdf688f971b2d5ef4029127f1ad7a513973cfd818df2"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ec585f69cec0aa07d945b20805be741395e28ac1627333b1c5b0105962ffced"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b91c037585eba9095565a3556f611e3cbfaa42ca1e865f7b8015fe5c7336d5a5"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7502934a33b54030eaf1194c21c692a534196063db72176b0c4028e140f8f32c"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0e397ac966fdf721b2c528cf028494e86172b4feba51d65f81ffd65c63798f3f"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c061bb86a71b42465156a3ee7bd58c8c2ceacdbeb95d05a99893e08b8467359a"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:3a57fdd7ce31c7ff06cdfbf31dafa96cc533c21e443d57f5b1ecc6cdc668ec7f"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-win32.whl", hash = "sha256:397081c1a0bfb5124355710fe79478cdbeb39626492b15d399526ae53422b906"}, - {file = "MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl", hash = "sha256:2b7c57a4dfc4f16f7142221afe5ba4e093e09e728ca65c51f5620c9aaeb9a617"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:3c6b973f22eb18a789b1460b4b91bf04ae3f0c4234a0a6aa6b0a92f6f7b951d4"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac07bad82163452a6884fe8fa0963fb98c2346ba78d779ec06bd7a6262132aee"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5dfb42c4604dddc8e4305050aa6deb084540643ed5804d7455b5df8fe16f5e5"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ea3d8a3d18833cf4304cd2fc9cbb1efe188ca9b5efef2bdac7adc20594a0e46b"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:d050b3361367a06d752db6ead6e7edeb0009be66bc3bae0ee9d97fb326badc2a"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:bec0a414d016ac1a18862a519e54b2fd0fc8bbfd6890376898a6c0891dd82e9f"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:58c98fee265677f63a4385256a6d7683ab1832f3ddd1e66fe948d5880c21a169"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-win32.whl", hash = "sha256:8590b4ae07a35970728874632fed7bd57b26b0102df2d2b233b6d9d82f6c62ad"}, - {file = "MarkupSafe-2.1.5-cp312-cp312-win_amd64.whl", hash = "sha256:823b65d8706e32ad2df51ed89496147a42a2a6e01c13cfb6ffb8b1e92bc910bb"}, - {file = "MarkupSafe-2.1.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:c8b29db45f8fe46ad280a7294f5c3ec36dbac9491f2d1c17345be8e69cc5928f"}, - {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ec6a563cff360b50eed26f13adc43e61bc0c04d94b8be985e6fb24b81f6dcfdf"}, - {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a549b9c31bec33820e885335b451286e2969a2d9e24879f83fe904a5ce59d70a"}, - {file = "MarkupSafe-2.1.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4f11aa001c540f62c6166c7726f71f7573b52c68c31f014c25cc7901deea0b52"}, - {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:7b2e5a267c855eea6b4283940daa6e88a285f5f2a67f2220203786dfa59b37e9"}, - {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:2d2d793e36e230fd32babe143b04cec8a8b3eb8a3122d2aceb4a371e6b09b8df"}, - {file = "MarkupSafe-2.1.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ce409136744f6521e39fd8e2a24c53fa18ad67aa5bc7c2cf83645cce5b5c4e50"}, - {file = "MarkupSafe-2.1.5-cp37-cp37m-win32.whl", hash = "sha256:4096e9de5c6fdf43fb4f04c26fb114f61ef0bf2e5604b6ee3019d51b69e8c371"}, - {file = "MarkupSafe-2.1.5-cp37-cp37m-win_amd64.whl", hash = "sha256:4275d846e41ecefa46e2015117a9f491e57a71ddd59bbead77e904dc02b1bed2"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:656f7526c69fac7f600bd1f400991cc282b417d17539a1b228617081106feb4a"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:97cafb1f3cbcd3fd2b6fbfb99ae11cdb14deea0736fc2b0952ee177f2b813a46"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f3fbcb7ef1f16e48246f704ab79d79da8a46891e2da03f8783a5b6fa41a9532"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa9db3f79de01457b03d4f01b34cf91bc0048eb2c3846ff26f66687c2f6d16ab"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ffee1f21e5ef0d712f9033568f8344d5da8cc2869dbd08d87c84656e6a2d2f68"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:5dedb4db619ba5a2787a94d877bc8ffc0566f92a01c0ef214865e54ecc9ee5e0"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:30b600cf0a7ac9234b2638fbc0fb6158ba5bdcdf46aeb631ead21248b9affbc4"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8dd717634f5a044f860435c1d8c16a270ddf0ef8588d4887037c5028b859b0c3"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-win32.whl", hash = "sha256:daa4ee5a243f0f20d528d939d06670a298dd39b1ad5f8a72a4275124a7819eff"}, - {file = "MarkupSafe-2.1.5-cp38-cp38-win_amd64.whl", hash = "sha256:619bc166c4f2de5caa5a633b8b7326fbe98e0ccbfacabd87268a2b15ff73a029"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7a68b554d356a91cce1236aa7682dc01df0edba8d043fd1ce607c49dd3c1edcf"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:db0b55e0f3cc0be60c1f19efdde9a637c32740486004f20d1cff53c3c0ece4d2"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3e53af139f8579a6d5f7b76549125f0d94d7e630761a2111bc431fd820e163b8"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:17b950fccb810b3293638215058e432159d2b71005c74371d784862b7e4683f3"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c31f53cdae6ecfa91a77820e8b151dba54ab528ba65dfd235c80b086d68a465"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:bff1b4290a66b490a2f4719358c0cdcd9bafb6b8f061e45c7a2460866bf50c2e"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bc1667f8b83f48511b94671e0e441401371dfd0f0a795c7daa4a3cd1dde55bea"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5049256f536511ee3f7e1b3f87d1d1209d327e818e6ae1365e8653d7e3abb6a6"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-win32.whl", hash = "sha256:00e046b6dd71aa03a41079792f8473dc494d564611a8f89bbbd7cb93295ebdcf"}, - {file = "MarkupSafe-2.1.5-cp39-cp39-win_amd64.whl", hash = "sha256:fa173ec60341d6bb97a89f5ea19c85c5643c1e7dedebc22f5181eb73573142c5"}, - {file = "MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b"}, -] - [[package]] name = "matplotlib" version = "3.9.4" @@ -1044,58 +663,6 @@ files = [ {file = "mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"}, ] -[[package]] -name = "mypy-extensions" -version = "1.0.0" -description = "Type system extensions for programs checked with the mypy type checker." -optional = false -python-versions = ">=3.5" -groups = ["dev"] -files = [ - {file = "mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"}, - {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"}, -] - -[[package]] -name = "nr-date" -version = "2.1.0" -description = "" -optional = false -python-versions = ">=3.6,<4.0" -groups = ["dev"] -files = [ - {file = "nr_date-2.1.0-py3-none-any.whl", hash = "sha256:bd672a9dfbdcf7c4b9289fea6750c42490eaee08036a72059dcc78cb236ed568"}, - {file = "nr_date-2.1.0.tar.gz", hash = "sha256:0643aea13bcdc2a8bc56af9d5e6a89ef244c9744a1ef00cdc735902ba7f7d2e6"}, -] - -[[package]] -name = "nr-stream" -version = "1.1.5" -description = "" -optional = false -python-versions = ">=3.6,<4.0" -groups = ["dev"] -files = [ - {file = "nr_stream-1.1.5-py3-none-any.whl", hash = "sha256:47e12150b331ad2cb729cfd9d2abd281c9949809729ba461c6aa87dd9927b2d4"}, - {file = "nr_stream-1.1.5.tar.gz", hash = "sha256:eb0216c6bfc61a46d4568dba3b588502c610ec8ddef4ac98f3932a2bd7264f65"}, -] - -[[package]] -name = "nr-util" -version = "0.8.12" -description = "General purpose Python utility library." -optional = false -python-versions = ">=3.7,<4.0" -groups = ["dev"] -files = [ - {file = "nr.util-0.8.12-py3-none-any.whl", hash = "sha256:91da02ac9795eb8e015372275c1efe54bac9051231ee9b0e7e6f96b0b4e7d2bb"}, - {file = "nr.util-0.8.12.tar.gz", hash = "sha256:a4549c2033d99d2f0379b3f3d233fd2a8ade286bbf0b3ad0cc7cea16022214f4"}, -] - -[package.dependencies] -deprecated = ">=1.2.0,<2.0.0" -typing-extensions = ">=3.0.0" - [[package]] name = "numpy" version = "2.0.2" @@ -1163,18 +730,6 @@ files = [ {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, ] -[[package]] -name = "pathspec" -version = "0.12.1" -description = "Utility library for gitignore style pattern matching of file paths." -optional = false -python-versions = ">=3.8" -groups = ["dev"] -files = [ - {file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"}, - {file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"}, -] - [[package]] name = "pillow" version = "11.3.0" @@ -1300,23 +855,6 @@ tests = ["check-manifest", "coverage (>=7.4.2)", "defusedxml", "markdown2", "ole typing = ["typing-extensions ; python_version < \"3.10\""] xmp = ["defusedxml"] -[[package]] -name = "platformdirs" -version = "4.3.6" -description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." -optional = false -python-versions = ">=3.8" -groups = ["dev"] -files = [ - {file = "platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb"}, - {file = "platformdirs-4.3.6.tar.gz", hash = "sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907"}, -] - -[package.extras] -docs = ["furo (>=2024.8.6)", "proselint (>=0.14)", "sphinx (>=8.0.2)", "sphinx-autodoc-typehints (>=2.4)"] -test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=8.3.2)", "pytest-cov (>=5)", "pytest-mock (>=3.14)"] -type = ["mypy (>=1.11.2)"] - [[package]] name = "pluggy" version = "1.5.0" @@ -1353,34 +891,6 @@ files = [ {file = "protobuf-6.33.5.tar.gz", hash = "sha256:6ddcac2a081f8b7b9642c09406bc6a4290128fce5f471cddd165960bb9119e5c"}, ] -[[package]] -name = "pydoc-markdown" -version = "4.8.2" -description = "Create Python API documentation in Markdown format." -optional = false -python-versions = ">=3.7,<4.0" -groups = ["dev"] -files = [ - {file = "pydoc_markdown-4.8.2-py3-none-any.whl", hash = "sha256:203f74119e6bb2f9deba43d452422de7c8ec31955b61e0620fa4dd8c2611715f"}, - {file = "pydoc_markdown-4.8.2.tar.gz", hash = "sha256:fb6c927e31386de17472d42f9bd3d3be2905977d026f6216881c65145aa67f0b"}, -] - -[package.dependencies] -click = ">=7.1,<9.0" -"databind.core" = ">=4.4.0,<5.0.0" -"databind.json" = ">=4.4.0,<5.0.0" -docspec = ">=2.2.1,<3.0.0" -docspec-python = ">=2.2.1,<3.0.0" -docstring-parser = ">=0.11,<0.12" -jinja2 = ">=3.0.0,<4.0.0" -"nr.util" = ">=0.7.5,<1.0.0" -PyYAML = ">=5.0,<7.0" -requests = ">=2.23.0,<3.0.0" -tomli = ">=2.0.0,<3.0.0" -tomli_w = ">=1.0.0,<2.0.0" -watchdog = "*" -yapf = ">=0.30.0" - [[package]] name = "pygments" version = "2.19.2" @@ -1521,91 +1031,6 @@ files = [ [package.extras] cli = ["click (>=5.0)"] -[[package]] -name = "pyyaml" -version = "6.0.2" -description = "YAML parser and emitter for Python" -optional = false -python-versions = ">=3.8" -groups = ["dev"] -files = [ - {file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"}, - {file = "PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf"}, - {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8824b5a04a04a047e72eea5cec3bc266db09e35de6bdfe34c9436ac5ee27d237"}, - {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c36280e6fb8385e520936c3cb3b8042851904eba0e58d277dca80a5cfed590b"}, - {file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed"}, - {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:936d68689298c36b53b29f23c6dbb74de12b4ac12ca6cfe0e047bedceea56180"}, - {file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23502f431948090f597378482b4812b0caae32c22213aecf3b55325e049a6c68"}, - {file = "PyYAML-6.0.2-cp310-cp310-win32.whl", hash = "sha256:2e99c6826ffa974fe6e27cdb5ed0021786b03fc98e5ee3c5bfe1fd5015f42b99"}, - {file = "PyYAML-6.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:a4d3091415f010369ae4ed1fc6b79def9416358877534caf6a0fdd2146c87a3e"}, - {file = "PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774"}, - {file = "PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee"}, - {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c"}, - {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317"}, - {file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85"}, - {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4"}, - {file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e"}, - {file = "PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5"}, - {file = "PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44"}, - {file = "PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab"}, - {file = "PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725"}, - {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5"}, - {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425"}, - {file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476"}, - {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48"}, - {file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b"}, - {file = "PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4"}, - {file = "PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8"}, - {file = "PyYAML-6.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba"}, - {file = "PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1"}, - {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133"}, - {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484"}, - {file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5"}, - {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc"}, - {file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652"}, - {file = "PyYAML-6.0.2-cp313-cp313-win32.whl", hash = "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183"}, - {file = "PyYAML-6.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563"}, - {file = "PyYAML-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:24471b829b3bf607e04e88d79542a9d48bb037c2267d7927a874e6c205ca7e9a"}, - {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7fded462629cfa4b685c5416b949ebad6cec74af5e2d42905d41e257e0869f5"}, - {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d84a1718ee396f54f3a086ea0a66d8e552b2ab2017ef8b420e92edbc841c352d"}, - {file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9056c1ecd25795207ad294bcf39f2db3d845767be0ea6e6a34d856f006006083"}, - {file = "PyYAML-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:82d09873e40955485746739bcb8b4586983670466c23382c19cffecbf1fd8706"}, - {file = "PyYAML-6.0.2-cp38-cp38-win32.whl", hash = "sha256:43fa96a3ca0d6b1812e01ced1044a003533c47f6ee8aca31724f78e93ccc089a"}, - {file = "PyYAML-6.0.2-cp38-cp38-win_amd64.whl", hash = "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff"}, - {file = "PyYAML-6.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:688ba32a1cffef67fd2e9398a2efebaea461578b0923624778664cc1c914db5d"}, - {file = "PyYAML-6.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8786accb172bd8afb8be14490a16625cbc387036876ab6ba70912730faf8e1f"}, - {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8e03406cac8513435335dbab54c0d385e4a49e4945d2909a581c83647ca0290"}, - {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12"}, - {file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b1fdb9dc17f5a7677423d508ab4f243a726dea51fa5e70992e59a7411c89d19"}, - {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0b69e4ce7a131fe56b7e4d770c67429700908fc0752af059838b1cfb41960e4e"}, - {file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a9f8c2e67970f13b16084e04f134610fd1d374bf477b17ec1599185cf611d725"}, - {file = "PyYAML-6.0.2-cp39-cp39-win32.whl", hash = "sha256:6395c297d42274772abc367baaa79683958044e5d3835486c16da75d2a694631"}, - {file = "PyYAML-6.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:39693e1f8320ae4f43943590b49779ffb98acb81f788220ea932a6b6c51004d8"}, - {file = "pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"}, -] - -[[package]] -name = "requests" -version = "2.32.4" -description = "Python HTTP for Humans." -optional = false -python-versions = ">=3.8" -groups = ["dev"] -files = [ - {file = "requests-2.32.4-py3-none-any.whl", hash = "sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c"}, - {file = "requests-2.32.4.tar.gz", hash = "sha256:27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422"}, -] - -[package.dependencies] -certifi = ">=2017.4.17" -charset_normalizer = ">=2,<4" -idna = ">=2.5,<4" -urllib3 = ">=1.21.1,<3" - -[package.extras] -socks = ["PySocks (>=1.5.6,!=1.5.7)"] -use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] - [[package]] name = "rich" version = "14.2.0" @@ -1653,28 +1078,6 @@ files = [ {file = "ruff-0.11.13.tar.gz", hash = "sha256:26fa247dc68d1d4e72c179e08889a25ac0c7ba4d78aecfc835d49cbfd60bf514"}, ] -[[package]] -name = "setuptools" -version = "78.1.1" -description = "Easily download, build, install, upgrade, and uninstall Python packages" -optional = false -python-versions = ">=3.9" -groups = ["dev"] -markers = "python_version == \"3.9\"" -files = [ - {file = "setuptools-78.1.1-py3-none-any.whl", hash = "sha256:c3a9c4211ff4c309edb8b8c4f1cbfa7ae324c4ba9f91ff254e3d305b9fd54561"}, - {file = "setuptools-78.1.1.tar.gz", hash = "sha256:fcc17fd9cd898242f6b4adfaca46137a9edef687f43e6f78469692a5e70d851d"}, -] - -[package.extras] -check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\"", "ruff (>=0.8.0) ; sys_platform != \"cygwin\""] -core = ["importlib_metadata (>=6) ; python_version < \"3.10\"", "jaraco.functools (>=4)", "jaraco.text (>=3.7)", "more_itertools", "more_itertools (>=8.8)", "packaging (>=24.2)", "platformdirs (>=4.2.2)", "tomli (>=2.0.1) ; python_version < \"3.11\"", "wheel (>=0.43.0)"] -cover = ["pytest-cov"] -doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier", "towncrier (<24.7)"] -enabler = ["pytest-enabler (>=2.2)"] -test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21) ; python_version >= \"3.9\" and sys_platform != \"cygwin\"", "jaraco.envs (>=2.2)", "jaraco.path (>=3.7.2)", "jaraco.test (>=5.5)", "packaging (>=24.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-home (>=0.5)", "pytest-perf ; sys_platform != \"cygwin\"", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel (>=0.44.0)"] -type = ["importlib_metadata (>=7.0.2) ; python_version < \"3.10\"", "jaraco.develop (>=7.21) ; sys_platform != \"cygwin\"", "mypy (==1.14.*)", "pytest-mypy"] - [[package]] name = "six" version = "1.16.0" @@ -1711,33 +1114,6 @@ files = [ {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, ] -[[package]] -name = "tomli-w" -version = "1.0.0" -description = "A lil' TOML writer" -optional = false -python-versions = ">=3.7" -groups = ["dev"] -files = [ - {file = "tomli_w-1.0.0-py3-none-any.whl", hash = "sha256:9f2a07e8be30a0729e533ec968016807069991ae2fd921a78d42f429ae5f4463"}, - {file = "tomli_w-1.0.0.tar.gz", hash = "sha256:f463434305e0336248cac9c2dc8076b707d8a12d019dd349f5c1e382dd1ae1b9"}, -] - -[[package]] -name = "typeapi" -version = "2.2.3" -description = "" -optional = false -python-versions = "<4.0,>=3.8" -groups = ["dev"] -files = [ - {file = "typeapi-2.2.3-py3-none-any.whl", hash = "sha256:038062b473dd9bc182966469d7a37d81ba7fa5bb0c01f30b0604b5667b13a47b"}, - {file = "typeapi-2.2.3.tar.gz", hash = "sha256:61cf8c852c05471522fcf55ec37d0c37f0de6943cc8e4d58529f796881e32c08"}, -] - -[package.dependencies] -typing-extensions = ">=3.0.0" - [[package]] name = "typing-extensions" version = "4.12.2" @@ -1750,72 +1126,6 @@ files = [ {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] -[[package]] -name = "urllib3" -version = "2.6.3" -description = "HTTP library with thread-safe connection pooling, file post, and more." -optional = false -python-versions = ">=3.9" -groups = ["dev"] -files = [ - {file = "urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4"}, - {file = "urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed"}, -] - -[package.extras] -brotli = ["brotli (>=1.2.0) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=1.2.0.0) ; platform_python_implementation != \"CPython\""] -h2 = ["h2 (>=4,<5)"] -socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] -zstd = ["backports-zstd (>=1.0.0) ; python_version < \"3.14\""] - -[[package]] -name = "watchdog" -version = "4.0.2" -description = "Filesystem events monitoring" -optional = false -python-versions = ">=3.8" -groups = ["dev"] -files = [ - {file = "watchdog-4.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ede7f010f2239b97cc79e6cb3c249e72962404ae3865860855d5cbe708b0fd22"}, - {file = "watchdog-4.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a2cffa171445b0efa0726c561eca9a27d00a1f2b83846dbd5a4f639c4f8ca8e1"}, - {file = "watchdog-4.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c50f148b31b03fbadd6d0b5980e38b558046b127dc483e5e4505fcef250f9503"}, - {file = "watchdog-4.0.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7c7d4bf585ad501c5f6c980e7be9c4f15604c7cc150e942d82083b31a7548930"}, - {file = "watchdog-4.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:914285126ad0b6eb2258bbbcb7b288d9dfd655ae88fa28945be05a7b475a800b"}, - {file = "watchdog-4.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:984306dc4720da5498b16fc037b36ac443816125a3705dfde4fd90652d8028ef"}, - {file = "watchdog-4.0.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:1cdcfd8142f604630deef34722d695fb455d04ab7cfe9963055df1fc69e6727a"}, - {file = "watchdog-4.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:d7ab624ff2f663f98cd03c8b7eedc09375a911794dfea6bf2a359fcc266bff29"}, - {file = "watchdog-4.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:132937547a716027bd5714383dfc40dc66c26769f1ce8a72a859d6a48f371f3a"}, - {file = "watchdog-4.0.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:cd67c7df93eb58f360c43802acc945fa8da70c675b6fa37a241e17ca698ca49b"}, - {file = "watchdog-4.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:bcfd02377be80ef3b6bc4ce481ef3959640458d6feaae0bd43dd90a43da90a7d"}, - {file = "watchdog-4.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:980b71510f59c884d684b3663d46e7a14b457c9611c481e5cef08f4dd022eed7"}, - {file = "watchdog-4.0.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:aa160781cafff2719b663c8a506156e9289d111d80f3387cf3af49cedee1f040"}, - {file = "watchdog-4.0.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:f6ee8dedd255087bc7fe82adf046f0b75479b989185fb0bdf9a98b612170eac7"}, - {file = "watchdog-4.0.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:0b4359067d30d5b864e09c8597b112fe0a0a59321a0f331498b013fb097406b4"}, - {file = "watchdog-4.0.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:770eef5372f146997638d737c9a3c597a3b41037cfbc5c41538fc27c09c3a3f9"}, - {file = "watchdog-4.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:eeea812f38536a0aa859972d50c76e37f4456474b02bd93674d1947cf1e39578"}, - {file = "watchdog-4.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b2c45f6e1e57ebb4687690c05bc3a2c1fb6ab260550c4290b8abb1335e0fd08b"}, - {file = "watchdog-4.0.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:10b6683df70d340ac3279eff0b2766813f00f35a1d37515d2c99959ada8f05fa"}, - {file = "watchdog-4.0.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:f7c739888c20f99824f7aa9d31ac8a97353e22d0c0e54703a547a218f6637eb3"}, - {file = "watchdog-4.0.2-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:c100d09ac72a8a08ddbf0629ddfa0b8ee41740f9051429baa8e31bb903ad7508"}, - {file = "watchdog-4.0.2-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:f5315a8c8dd6dd9425b974515081fc0aadca1d1d61e078d2246509fd756141ee"}, - {file = "watchdog-4.0.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:2d468028a77b42cc685ed694a7a550a8d1771bb05193ba7b24006b8241a571a1"}, - {file = "watchdog-4.0.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:f15edcae3830ff20e55d1f4e743e92970c847bcddc8b7509bcd172aa04de506e"}, - {file = "watchdog-4.0.2-py3-none-manylinux2014_aarch64.whl", hash = "sha256:936acba76d636f70db8f3c66e76aa6cb5136a936fc2a5088b9ce1c7a3508fc83"}, - {file = "watchdog-4.0.2-py3-none-manylinux2014_armv7l.whl", hash = "sha256:e252f8ca942a870f38cf785aef420285431311652d871409a64e2a0a52a2174c"}, - {file = "watchdog-4.0.2-py3-none-manylinux2014_i686.whl", hash = "sha256:0e83619a2d5d436a7e58a1aea957a3c1ccbf9782c43c0b4fed80580e5e4acd1a"}, - {file = "watchdog-4.0.2-py3-none-manylinux2014_ppc64.whl", hash = "sha256:88456d65f207b39f1981bf772e473799fcdc10801062c36fd5ad9f9d1d463a73"}, - {file = "watchdog-4.0.2-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:32be97f3b75693a93c683787a87a0dc8db98bb84701539954eef991fb35f5fbc"}, - {file = "watchdog-4.0.2-py3-none-manylinux2014_s390x.whl", hash = "sha256:c82253cfc9be68e3e49282831afad2c1f6593af80c0daf1287f6a92657986757"}, - {file = "watchdog-4.0.2-py3-none-manylinux2014_x86_64.whl", hash = "sha256:c0b14488bd336c5b1845cee83d3e631a1f8b4e9c5091ec539406e4a324f882d8"}, - {file = "watchdog-4.0.2-py3-none-win32.whl", hash = "sha256:0d8a7e523ef03757a5aa29f591437d64d0d894635f8a50f370fe37f913ce4e19"}, - {file = "watchdog-4.0.2-py3-none-win_amd64.whl", hash = "sha256:c344453ef3bf875a535b0488e3ad28e341adbd5a9ffb0f7d62cefacc8824ef2b"}, - {file = "watchdog-4.0.2-py3-none-win_ia64.whl", hash = "sha256:baececaa8edff42cd16558a639a9b0ddf425f93d892e8392a56bf904f5eff22c"}, - {file = "watchdog-4.0.2.tar.gz", hash = "sha256:b4dfbb6c49221be4535623ea4474a4d6ee0a9cef4a80b20c28db4d858b64e270"}, -] - -[package.extras] -watchmedo = ["PyYAML (>=3.10)"] - [[package]] name = "wcmatch" version = "10.1" @@ -1831,97 +1141,6 @@ files = [ [package.dependencies] bracex = ">=2.1.1" -[[package]] -name = "wrapt" -version = "1.17.0" -description = "Module for decorators, wrappers and monkey patching." -optional = false -python-versions = ">=3.8" -groups = ["dev"] -files = [ - {file = "wrapt-1.17.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2a0c23b8319848426f305f9cb0c98a6e32ee68a36264f45948ccf8e7d2b941f8"}, - {file = "wrapt-1.17.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b1ca5f060e205f72bec57faae5bd817a1560fcfc4af03f414b08fa29106b7e2d"}, - {file = "wrapt-1.17.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e185ec6060e301a7e5f8461c86fb3640a7beb1a0f0208ffde7a65ec4074931df"}, - {file = "wrapt-1.17.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bb90765dd91aed05b53cd7a87bd7f5c188fcd95960914bae0d32c5e7f899719d"}, - {file = "wrapt-1.17.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:879591c2b5ab0a7184258274c42a126b74a2c3d5a329df16d69f9cee07bba6ea"}, - {file = "wrapt-1.17.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:fce6fee67c318fdfb7f285c29a82d84782ae2579c0e1b385b7f36c6e8074fffb"}, - {file = "wrapt-1.17.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:0698d3a86f68abc894d537887b9bbf84d29bcfbc759e23f4644be27acf6da301"}, - {file = "wrapt-1.17.0-cp310-cp310-win32.whl", hash = "sha256:69d093792dc34a9c4c8a70e4973a3361c7a7578e9cd86961b2bbf38ca71e4e22"}, - {file = "wrapt-1.17.0-cp310-cp310-win_amd64.whl", hash = "sha256:f28b29dc158ca5d6ac396c8e0a2ef45c4e97bb7e65522bfc04c989e6fe814575"}, - {file = "wrapt-1.17.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:74bf625b1b4caaa7bad51d9003f8b07a468a704e0644a700e936c357c17dd45a"}, - {file = "wrapt-1.17.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0f2a28eb35cf99d5f5bd12f5dd44a0f41d206db226535b37b0c60e9da162c3ed"}, - {file = "wrapt-1.17.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:81b1289e99cf4bad07c23393ab447e5e96db0ab50974a280f7954b071d41b489"}, - {file = "wrapt-1.17.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9f2939cd4a2a52ca32bc0b359015718472d7f6de870760342e7ba295be9ebaf9"}, - {file = "wrapt-1.17.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6a9653131bda68a1f029c52157fd81e11f07d485df55410401f745007bd6d339"}, - {file = "wrapt-1.17.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:4e4b4385363de9052dac1a67bfb535c376f3d19c238b5f36bddc95efae15e12d"}, - {file = "wrapt-1.17.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:bdf62d25234290db1837875d4dceb2151e4ea7f9fff2ed41c0fde23ed542eb5b"}, - {file = "wrapt-1.17.0-cp311-cp311-win32.whl", hash = "sha256:5d8fd17635b262448ab8f99230fe4dac991af1dabdbb92f7a70a6afac8a7e346"}, - {file = "wrapt-1.17.0-cp311-cp311-win_amd64.whl", hash = "sha256:92a3d214d5e53cb1db8b015f30d544bc9d3f7179a05feb8f16df713cecc2620a"}, - {file = "wrapt-1.17.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:89fc28495896097622c3fc238915c79365dd0ede02f9a82ce436b13bd0ab7569"}, - {file = "wrapt-1.17.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:875d240fdbdbe9e11f9831901fb8719da0bd4e6131f83aa9f69b96d18fae7504"}, - {file = "wrapt-1.17.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e5ed16d95fd142e9c72b6c10b06514ad30e846a0d0917ab406186541fe68b451"}, - {file = "wrapt-1.17.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18b956061b8db634120b58f668592a772e87e2e78bc1f6a906cfcaa0cc7991c1"}, - {file = "wrapt-1.17.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:daba396199399ccabafbfc509037ac635a6bc18510ad1add8fd16d4739cdd106"}, - {file = "wrapt-1.17.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:4d63f4d446e10ad19ed01188d6c1e1bb134cde8c18b0aa2acfd973d41fcc5ada"}, - {file = "wrapt-1.17.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8a5e7cc39a45fc430af1aefc4d77ee6bad72c5bcdb1322cfde852c15192b8bd4"}, - {file = "wrapt-1.17.0-cp312-cp312-win32.whl", hash = "sha256:0a0a1a1ec28b641f2a3a2c35cbe86c00051c04fffcfcc577ffcdd707df3f8635"}, - {file = "wrapt-1.17.0-cp312-cp312-win_amd64.whl", hash = "sha256:3c34f6896a01b84bab196f7119770fd8466c8ae3dfa73c59c0bb281e7b588ce7"}, - {file = "wrapt-1.17.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:714c12485aa52efbc0fc0ade1e9ab3a70343db82627f90f2ecbc898fdf0bb181"}, - {file = "wrapt-1.17.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:da427d311782324a376cacb47c1a4adc43f99fd9d996ffc1b3e8529c4074d393"}, - {file = "wrapt-1.17.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ba1739fb38441a27a676f4de4123d3e858e494fac05868b7a281c0a383c098f4"}, - {file = "wrapt-1.17.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e711fc1acc7468463bc084d1b68561e40d1eaa135d8c509a65dd534403d83d7b"}, - {file = "wrapt-1.17.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:140ea00c87fafc42739bd74a94a5a9003f8e72c27c47cd4f61d8e05e6dec8721"}, - {file = "wrapt-1.17.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:73a96fd11d2b2e77d623a7f26e004cc31f131a365add1ce1ce9a19e55a1eef90"}, - {file = "wrapt-1.17.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0b48554952f0f387984da81ccfa73b62e52817a4386d070c75e4db7d43a28c4a"}, - {file = "wrapt-1.17.0-cp313-cp313-win32.whl", hash = "sha256:498fec8da10e3e62edd1e7368f4b24aa362ac0ad931e678332d1b209aec93045"}, - {file = "wrapt-1.17.0-cp313-cp313-win_amd64.whl", hash = "sha256:fd136bb85f4568fffca995bd3c8d52080b1e5b225dbf1c2b17b66b4c5fa02838"}, - {file = "wrapt-1.17.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:17fcf043d0b4724858f25b8826c36e08f9fb2e475410bece0ec44a22d533da9b"}, - {file = "wrapt-1.17.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e4a557d97f12813dc5e18dad9fa765ae44ddd56a672bb5de4825527c847d6379"}, - {file = "wrapt-1.17.0-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0229b247b0fc7dee0d36176cbb79dbaf2a9eb7ecc50ec3121f40ef443155fb1d"}, - {file = "wrapt-1.17.0-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8425cfce27b8b20c9b89d77fb50e368d8306a90bf2b6eef2cdf5cd5083adf83f"}, - {file = "wrapt-1.17.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9c900108df470060174108012de06d45f514aa4ec21a191e7ab42988ff42a86c"}, - {file = "wrapt-1.17.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:4e547b447073fc0dbfcbff15154c1be8823d10dab4ad401bdb1575e3fdedff1b"}, - {file = "wrapt-1.17.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:914f66f3b6fc7b915d46c1cc424bc2441841083de01b90f9e81109c9759e43ab"}, - {file = "wrapt-1.17.0-cp313-cp313t-win32.whl", hash = "sha256:a4192b45dff127c7d69b3bdfb4d3e47b64179a0b9900b6351859f3001397dabf"}, - {file = "wrapt-1.17.0-cp313-cp313t-win_amd64.whl", hash = "sha256:4f643df3d4419ea3f856c5c3f40fec1d65ea2e89ec812c83f7767c8730f9827a"}, - {file = "wrapt-1.17.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:69c40d4655e078ede067a7095544bcec5a963566e17503e75a3a3e0fe2803b13"}, - {file = "wrapt-1.17.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2f495b6754358979379f84534f8dd7a43ff8cff2558dcdea4a148a6e713a758f"}, - {file = "wrapt-1.17.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:baa7ef4e0886a6f482e00d1d5bcd37c201b383f1d314643dfb0367169f94f04c"}, - {file = "wrapt-1.17.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a8fc931382e56627ec4acb01e09ce66e5c03c384ca52606111cee50d931a342d"}, - {file = "wrapt-1.17.0-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:8f8909cdb9f1b237786c09a810e24ee5e15ef17019f7cecb207ce205b9b5fcce"}, - {file = "wrapt-1.17.0-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:ad47b095f0bdc5585bced35bd088cbfe4177236c7df9984b3cc46b391cc60627"}, - {file = "wrapt-1.17.0-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:948a9bd0fb2c5120457b07e59c8d7210cbc8703243225dbd78f4dfc13c8d2d1f"}, - {file = "wrapt-1.17.0-cp38-cp38-win32.whl", hash = "sha256:5ae271862b2142f4bc687bdbfcc942e2473a89999a54231aa1c2c676e28f29ea"}, - {file = "wrapt-1.17.0-cp38-cp38-win_amd64.whl", hash = "sha256:f335579a1b485c834849e9075191c9898e0731af45705c2ebf70e0cd5d58beed"}, - {file = "wrapt-1.17.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d751300b94e35b6016d4b1e7d0e7bbc3b5e1751e2405ef908316c2a9024008a1"}, - {file = "wrapt-1.17.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7264cbb4a18dc4acfd73b63e4bcfec9c9802614572025bdd44d0721983fc1d9c"}, - {file = "wrapt-1.17.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:33539c6f5b96cf0b1105a0ff4cf5db9332e773bb521cc804a90e58dc49b10578"}, - {file = "wrapt-1.17.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c30970bdee1cad6a8da2044febd824ef6dc4cc0b19e39af3085c763fdec7de33"}, - {file = "wrapt-1.17.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:bc7f729a72b16ee21795a943f85c6244971724819819a41ddbaeb691b2dd85ad"}, - {file = "wrapt-1.17.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:6ff02a91c4fc9b6a94e1c9c20f62ea06a7e375f42fe57587f004d1078ac86ca9"}, - {file = "wrapt-1.17.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:2dfb7cff84e72e7bf975b06b4989477873dcf160b2fd89959c629535df53d4e0"}, - {file = "wrapt-1.17.0-cp39-cp39-win32.whl", hash = "sha256:2399408ac33ffd5b200480ee858baa58d77dd30e0dd0cab6a8a9547135f30a88"}, - {file = "wrapt-1.17.0-cp39-cp39-win_amd64.whl", hash = "sha256:4f763a29ee6a20c529496a20a7bcb16a73de27f5da6a843249c7047daf135977"}, - {file = "wrapt-1.17.0-py3-none-any.whl", hash = "sha256:d2c63b93548eda58abf5188e505ffed0229bf675f7c3090f8e36ad55b8cbc371"}, - {file = "wrapt-1.17.0.tar.gz", hash = "sha256:16187aa2317c731170a88ef35e8937ae0f533c402872c1ee5e6d079fcf320801"}, -] - -[[package]] -name = "yapf" -version = "0.43.0" -description = "A formatter for Python code" -optional = false -python-versions = ">=3.7" -groups = ["dev"] -files = [ - {file = "yapf-0.43.0-py3-none-any.whl", hash = "sha256:224faffbc39c428cb095818cf6ef5511fdab6f7430a10783fdfb292ccf2852ca"}, - {file = "yapf-0.43.0.tar.gz", hash = "sha256:00d3aa24bfedff9420b2e0d5d9f5ab6d9d4268e72afbf59bb3fa542781d5218e"}, -] - -[package.dependencies] -platformdirs = ">=3.5.1" -tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""} - [[package]] name = "zipp" version = "3.23.0" @@ -1946,4 +1165,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = "^3.9" -content-hash = "f3c2463ae3e3af850183625fdf71af742aa448ecaf85261a3fce2b30cb879743" +content-hash = "326cd369ac576edc7c00c0d6c143ddbf23be0b91d406ac1ae3f198330a1fc5ac" diff --git a/python/pyproject.toml b/python/pyproject.toml index 6896147c..fb02b0b0 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -22,7 +22,6 @@ python-dotenv = "^1.0.0" pytest-dotenv = "^0.5.2" pytest-asyncio = "^0.24.0" pytest-xdist = "^3.6.1" -pydoc-markdown = "^4.8.2" matplotlib = "^3.8.0" ruff = "^0.11.12" @@ -35,4 +34,4 @@ build-backend = "poetry.core.masonry.api" "Bug Tracker" = "https://github.com/e2b-dev/code-interpreter/issues" [tool.ruff.lint] -ignore = ["F401", "F403"] \ No newline at end of file +ignore = ["F401", "F403"] diff --git a/python/scripts/generate_sdk_ref.sh b/python/scripts/generate_sdk_ref.sh deleted file mode 100755 index 0b13951a..00000000 --- a/python/scripts/generate_sdk_ref.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -# This script generates the python SDK reference markdown files -# Run it in the `python-sdk/` directory - -PKG_VERSION="v$(node -p "require('./package.json').version")" -ROUTES_DIR="../sdk-reference/code-interpreter-python-sdk/${PKG_VERSION}" -mkdir -p "${ROUTES_DIR}" - -package="e2b_code_interpreter" - -mkdir -p sdk_ref - -# generate raw SDK reference markdown file -poetry run pydoc-markdown -p "${package}" >sdk_ref/"${package}".mdx -# remove package path display -sed -i'' -e '/]*>.*<\/a>/d' "sdk_ref/${package}.mdx" -# remove empty hyperlinks -sed -i'' -e '/^# /d' "sdk_ref/${package}.mdx" -# remove " Objects" from lines starting with "##" -sed -i'' -e '/^## / s/ Objects$//' "sdk_ref/${package}.mdx" -# replace lines starting with "####" with "###" -sed -i'' -e 's/^####/###/' "sdk_ref/${package}.mdx" -# move to docs -mkdir -p "${ROUTES_DIR}/sandbox" -mv "sdk_ref/${package}.mdx" "${ROUTES_DIR}/sandbox/page.mdx" - -rm -rf sdk_ref diff --git a/sdk-reference/code-interpreter-js-sdk/v1.0.4/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.0.4/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.0.4/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.0.4/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.0.4/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.0.4/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.0.4/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.0.4/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.0.4/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v1.0.4/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.0.4/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.0.4/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v1.0.4/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.0.4/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.0.4/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.0/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.0/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.0/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.0/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.0/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.0/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.0/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.0/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.0/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.0/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.0/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.0/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.0/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.0/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.0/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.1/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.1/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.1/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.1/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.1/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.1/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.1/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.1/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.1/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.1/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.1/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.1/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v1.1.1/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.1.1/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.1.1/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v1.2.0/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.2.0/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.2.0/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.2.0/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.2.0/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.2.0/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.2.0/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.2.0/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.2.0/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v1.2.0/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.2.0/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.2.0/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v1.2.0/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.2.0/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.2.0/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.0/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.0/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.0/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.0/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.0/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.0/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.0/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.0/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.0/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.0/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.0/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.0/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.0/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.0/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.0/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.1/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.1/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.1/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.1/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.1/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.1/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.1/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.1/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.1/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.1/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.1/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.1/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v1.5.1/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v1.5.1/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v1.5.1/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.0/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.0/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.0/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.0/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.0/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.0/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.0/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.0/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.0/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.0/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.0/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.0/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.0/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.0/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.0/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.1/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.1/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.1/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.1/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.1/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.1/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.1/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.1/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.1/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.1/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.1/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.1/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v2.0.1/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.0.1/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.0.1/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v2.1.0/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.1.0/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.1.0/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.1.0/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.1.0/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.1.0/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.1.0/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.1.0/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.1.0/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v2.1.0/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.1.0/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.1.0/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v2.1.0/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.1.0/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.1.0/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v2.2.0/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.2.0/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.2.0/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.2.0/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.2.0/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.2.0/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.2.0/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.2.0/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.2.0/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v2.2.0/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.2.0/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.2.0/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v2.2.0/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.2.0/sandbox/page.mdx deleted file mode 100644 index 96eafec5..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.2.0/sandbox/page.mdx +++ /dev/null @@ -1,312 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.0/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.0/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.0/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.0/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.0/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.0/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.0/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.0/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.0/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.0/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.0/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.0/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.0/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.0/sandbox/page.mdx deleted file mode 100644 index 93c26893..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.0/sandbox/page.mdx +++ /dev/null @@ -1,366 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### listCodeContexts() - -```ts -listCodeContexts(): Promise -``` - -List all contexts. - -###### Returns - -`Promise`\<`Context`[]\> - -list of contexts. - -### removeCodeContext() - -```ts -removeCodeContext(context: string | Context): Promise -``` - -Removes a context. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `context` | `string` \| `Context` | context to remove. | - -###### Returns - -`Promise`\<`void`\> - -void. - -### restartCodeContext() - -```ts -restartCodeContext(context: string | Context): Promise -``` - -Restart a context. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `context` | `string` \| `Context` | context to restart. | - -###### Returns - -`Promise`\<`void`\> - -void. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.1/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.1/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.1/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.1/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.1/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.1/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.1/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.1/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.1/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.1/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.1/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.1/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.1/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.1/sandbox/page.mdx deleted file mode 100644 index 93c26893..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.1/sandbox/page.mdx +++ /dev/null @@ -1,366 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### listCodeContexts() - -```ts -listCodeContexts(): Promise -``` - -List all contexts. - -###### Returns - -`Promise`\<`Context`[]\> - -list of contexts. - -### removeCodeContext() - -```ts -removeCodeContext(context: string | Context): Promise -``` - -Removes a context. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `context` | `string` \| `Context` | context to remove. | - -###### Returns - -`Promise`\<`void`\> - -void. - -### restartCodeContext() - -```ts -restartCodeContext(context: string | Context): Promise -``` - -Restart a context. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `context` | `string` \| `Context` | context to restart. | - -###### Returns - -`Promise`\<`void`\> - -void. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.2/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.2/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.2/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.2/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.2/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.2/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.2/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.2/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.2/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.2/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.2/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.2/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.2/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.2/sandbox/page.mdx deleted file mode 100644 index 93c26893..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.2/sandbox/page.mdx +++ /dev/null @@ -1,366 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### listCodeContexts() - -```ts -listCodeContexts(): Promise -``` - -List all contexts. - -###### Returns - -`Promise`\<`Context`[]\> - -list of contexts. - -### removeCodeContext() - -```ts -removeCodeContext(context: string | Context): Promise -``` - -Removes a context. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `context` | `string` \| `Context` | context to remove. | - -###### Returns - -`Promise`\<`void`\> - -void. - -### restartCodeContext() - -```ts -restartCodeContext(context: string | Context): Promise -``` - -Restart a context. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `context` | `string` \| `Context` | context to restart. | - -###### Returns - -`Promise`\<`void`\> - -void. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.3/charts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.3/charts/page.mdx deleted file mode 100644 index f3176d3b..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.3/charts/page.mdx +++ /dev/null @@ -1,240 +0,0 @@ -### ChartType - -Chart types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `BAR` | `"bar"` | -| `BOX_AND_WHISKER` | `"box_and_whisker"` | -| `LINE` | `"line"` | -| `PIE` | `"pie"` | -| `SCATTER` | `"scatter"` | -| `SUPERCHART` | `"superchart"` | -| `UNKNOWN` | `"unknown"` | - -*** - -### ScaleType - -Ax scale types - -#### Enumeration Members - -| Enumeration Member | Value | -| ------ | ------ | -| `ASINH` | `"asinh"` | -| `CATEGORICAL` | `"categorical"` | -| `DATETIME` | `"datetime"` | -| `FUNCTION` | `"function"` | -| `FUNCTIONLOG` | `"functionlog"` | -| `LINEAR` | `"linear"` | -| `LOG` | `"log"` | -| `LOGIT` | `"logit"` | -| `SYMLOG` | `"symlog"` | - -## Type Aliases - -### BarChart - -```ts -type BarChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BarData`[] | -| `type` | `ChartType.BAR` | - -*** - -### BarData - -```ts -type BarData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `group` | `string` | -| `label` | `string` | -| `value` | `string` | - -*** - -### BoxAndWhiskerChart - -```ts -type BoxAndWhiskerChart: Chart2D & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `BoxAndWhiskerData`[] | -| `type` | `ChartType.BOX_AND_WHISKER` | - -*** - -### BoxAndWhiskerData - -```ts -type BoxAndWhiskerData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `first_quartile` | `number` | -| `label` | `string` | -| `max` | `number` | -| `median` | `number` | -| `min` | `number` | -| `outliers` | `number`[] | -| `third_quartile` | `number` | - -*** - -### Chart - -```ts -type Chart: object; -``` - -Represents a chart. - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `any`[] | -| `title` | `string` | -| `type` | `ChartType` | - -*** - -### ChartTypes - -```ts -type ChartTypes: - | LineChart - | ScatterChart - | BarChart - | PieChart - | BoxAndWhiskerChart - | SuperChart; -``` - -*** - -### LineChart - -```ts -type LineChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.LINE` | - -*** - -### PieChart - -```ts -type PieChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `PieData`[] | -| `type` | `ChartType.PIE` | - -*** - -### PieData - -```ts -type PieData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `angle` | `number` | -| `label` | `string` | -| `radius` | `number` | - -*** - -### PointData - -```ts -type PointData: object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `label` | `string` | -| `points` | [`number` \| `string`, `number` \| `string`][] | - -*** - -### ScatterChart - -```ts -type ScatterChart: PointChart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `type` | `ChartType.SCATTER` | - -*** - -### SuperChart - -```ts -type SuperChart: Chart & object; -``` - -#### Type declaration - -| Name | Type | -| ------ | ------ | -| `elements` | `Chart`[] | -| `type` | `ChartType.SUPERCHART` | - -## Functions - -### deserializeChart() - -```ts -function deserializeChart(data: any): Chart -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `any` | - -#### Returns - -`Chart` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.3/consts/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.3/consts/page.mdx deleted file mode 100644 index d1ee2e76..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.3/consts/page.mdx +++ /dev/null @@ -1,13 +0,0 @@ -### DEFAULT\_TIMEOUT\_MS - -```ts -const DEFAULT_TIMEOUT_MS: 60000 = 60_000; -``` - -*** - -### JUPYTER\_PORT - -```ts -const JUPYTER_PORT: 49999 = 49999; -``` diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.3/index/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.3/index/page.mdx deleted file mode 100644 index dc55fcc7..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.3/index/page.mdx +++ /dev/null @@ -1,103 +0,0 @@ -### BarChart - -Re-exports BarChart - -### BarData - -Re-exports BarData - -### BoxAndWhiskerChart - -Re-exports BoxAndWhiskerChart - -### BoxAndWhiskerData - -Re-exports BoxAndWhiskerData - -### Chart - -Re-exports Chart - -### ChartType - -Re-exports ChartType - -### ChartTypes - -Re-exports ChartTypes - -### Context - -Re-exports Context - -### CreateCodeContextOpts - -Re-exports CreateCodeContextOpts - -### default - -Renames and re-exports Sandbox - -### Execution - -Re-exports Execution - -### ExecutionError - -Re-exports ExecutionError - -### LineChart - -Re-exports LineChart - -### Logs - -Re-exports Logs - -### MIMEType - -Re-exports MIMEType - -### OutputMessage - -Re-exports OutputMessage - -### PieChart - -Re-exports PieChart - -### PieData - -Re-exports PieData - -### PointData - -Re-exports PointData - -### RawData - -Re-exports RawData - -### Result - -Re-exports Result - -### RunCodeOpts - -Re-exports RunCodeOpts - -### Sandbox - -Re-exports Sandbox - -### ScaleType - -Re-exports ScaleType - -### ScatterChart - -Re-exports ScatterChart - -### SuperChart - -Re-exports SuperChart diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.3/messaging/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.3/messaging/page.mdx deleted file mode 100644 index 4b3c4ed9..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.3/messaging/page.mdx +++ /dev/null @@ -1,326 +0,0 @@ -### Execution - -Represents the result of a cell execution. - -#### Constructors - -```ts -new Execution( - results: Result[], - logs: Logs, - error?: ExecutionError, - executionCount?: number): Execution -``` - -###### Parameters - -| Parameter | Type | Default value | Description | -| ------ | ------ | ------ | ------ | -| `results` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | -| `logs` | `Logs` | `...` | Logs printed to stdout and stderr during execution. | -| `error`? | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount`? | `number` | `undefined` | Execution count of the cell. | - -###### Returns - -`Execution` - -#### Properties - -| Property | Modifier | Type | Default value | Description | -| ------ | ------ | ------ | ------ | ------ | -| `error?` | `public` | `ExecutionError` | `undefined` | An Error object if an error occurred, null otherwise. | -| `executionCount?` | `public` | `number` | `undefined` | Execution count of the cell. | -| `logs` | `public` | `Logs` | `undefined` | Logs printed to stdout and stderr during execution. | -| `results` | `public` | `Result`[] | `[]` | List of result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). | - -#### Accessors - -### text - -```ts -get text(): undefined | string -``` - -Returns the text representation of the main result of the cell. - -###### Returns - -`undefined` \| `string` - -#### Methods - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the execution result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `error` | `undefined` \| `ExecutionError` | -| `logs` | `Logs` | -| `results` | `Result`[] | - -*** - -### ExecutionError - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - -#### Constructors - -```ts -new ExecutionError( - name: string, - value: string, - traceback: string): ExecutionError -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `name` | `string` | Name of the error. | -| `value` | `string` | Value of the error. | -| `traceback` | `string` | The raw traceback of the error. | - -###### Returns - -`ExecutionError` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `name` | `public` | `string` | Name of the error. | -| `traceback` | `public` | `string` | The raw traceback of the error. | -| `value` | `public` | `string` | Value of the error. | - -*** - -### OutputMessage - -Represents an output message from the sandbox code execution. - -#### Constructors - -```ts -new OutputMessage( - line: string, - timestamp: number, - error: boolean): OutputMessage -``` - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `line` | `string` | The output line. | -| `timestamp` | `number` | Unix epoch in nanoseconds. | -| `error` | `boolean` | Whether the output is an error. | - -###### Returns - -`OutputMessage` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `error` | `readonly` | `boolean` | Whether the output is an error. | -| `line` | `readonly` | `string` | The output line. | -| `timestamp` | `readonly` | `number` | Unix epoch in nanoseconds. | - -#### Methods - -### toString() - -```ts -toString(): string -``` - -###### Returns - -`string` - -*** - -### Result - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - -#### Constructors - -```ts -new Result(rawData: RawData, isMainResult: boolean): Result -``` - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `rawData` | `RawData` | -| `isMainResult` | `boolean` | - -###### Returns - -`Result` - -#### Properties - -| Property | Modifier | Type | Description | -| ------ | ------ | ------ | ------ | -| `chart?` | `readonly` | `ChartTypes` | Contains the chart data. | -| `data?` | `readonly` | `Record`\<`string`, `unknown`\> | Contains the data from DataFrame. | -| `extra?` | `readonly` | `any` | Extra data that can be included. Not part of the standard types. | -| `html?` | `readonly` | `string` | HTML representation of the data. | -| `isMainResult` | `readonly` | `boolean` | - | -| `javascript?` | `readonly` | `string` | JavaScript representation of the data. | -| `jpeg?` | `readonly` | `string` | JPEG representation of the data. | -| `json?` | `readonly` | `string` | JSON representation of the data. | -| `latex?` | `readonly` | `string` | LaTeX representation of the data. | -| `markdown?` | `readonly` | `string` | Markdown representation of the data. | -| `pdf?` | `readonly` | `string` | PDF representation of the data. | -| `png?` | `readonly` | `string` | PNG representation of the data. | -| `raw` | `readonly` | `RawData` | - | -| `svg?` | `readonly` | `string` | SVG representation of the data. | -| `text?` | `readonly` | `string` | Text representation of the result. | - -#### Methods - -### formats() - -```ts -formats(): string[] -``` - -Returns all the formats available for the result. - -###### Returns - -`string`[] - -Array of strings representing the formats available for the result. - -### toJSON() - -```ts -toJSON(): object -``` - -Returns the serializable representation of the result. - -###### Returns - -`object` - -| Name | Type | -| ------ | ------ | -| `extra`? | `any` | -| `html` | `undefined` \| `string` | -| `javascript` | `undefined` \| `string` | -| `jpeg` | `undefined` \| `string` | -| `json` | `undefined` \| `string` | -| `latex` | `undefined` \| `string` | -| `markdown` | `undefined` \| `string` | -| `pdf` | `undefined` \| `string` | -| `png` | `undefined` \| `string` | -| `svg` | `undefined` \| `string` | -| `text` | `undefined` \| `string` | - -## Type Aliases - -### Logs - -```ts -type Logs: object; -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `stderr` | `string`[] | List of strings printed to stderr by prints, subprocesses, etc. | -| `stdout` | `string`[] | List of strings printed to stdout by prints, subprocesses, etc. | - -*** - -### MIMEType - -```ts -type MIMEType: string; -``` - -Represents a MIME type. - -*** - -### RawData - -```ts -type RawData: object & E2BData; -``` - -Dictionary that maps MIME types to their corresponding representations of the data. - -## Functions - -### extractError() - -```ts -function extractError(res: Response): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `res` | `Response` | - -#### Returns - -`Promise`\<`undefined` \| `SandboxError`\> - -*** - -### parseOutput() - -```ts -function parseOutput( - execution: Execution, - line: string, - onStdout?: (output: OutputMessage) => any, - onStderr?: (output: OutputMessage) => any, - onResult?: (data: Result) => any, -onError?: (error: ExecutionError) => any): Promise -``` - -#### Parameters - -| Parameter | Type | -| ------ | ------ | -| `execution` | `Execution` | -| `line` | `string` | -| `onStdout`? | (`output`: `OutputMessage`) => `any` | -| `onStderr`? | (`output`: `OutputMessage`) => `any` | -| `onResult`? | (`data`: `Result`) => `any` | -| `onError`? | (`error`: `ExecutionError`) => `any` | - -#### Returns - -`Promise`\<`void`\> diff --git a/sdk-reference/code-interpreter-js-sdk/v2.3.3/sandbox/page.mdx b/sdk-reference/code-interpreter-js-sdk/v2.3.3/sandbox/page.mdx deleted file mode 100644 index 93c26893..00000000 --- a/sdk-reference/code-interpreter-js-sdk/v2.3.3/sandbox/page.mdx +++ /dev/null @@ -1,366 +0,0 @@ -### Sandbox - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs here. - -Use Sandbox.create to create a new sandbox. - -#### Example - -```ts -import { Sandbox } from '@e2b/code-interpreter' - -const sandbox = await Sandbox.create() -``` - -#### Methods - -### createCodeContext() - -```ts -createCodeContext(opts?: CreateCodeContextOpts): Promise -``` - -Creates a new context to run code in. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `opts`? | `CreateCodeContextOpts` | options for creating the context. | - -###### Returns - -`Promise`\<`Context`\> - -context object. - -### listCodeContexts() - -```ts -listCodeContexts(): Promise -``` - -List all contexts. - -###### Returns - -`Promise`\<`Context`[]\> - -list of contexts. - -### removeCodeContext() - -```ts -removeCodeContext(context: string | Context): Promise -``` - -Removes a context. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `context` | `string` \| `Context` | context to remove. | - -###### Returns - -`Promise`\<`void`\> - -void. - -### restartCodeContext() - -```ts -restartCodeContext(context: string | Context): Promise -``` - -Restart a context. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `context` | `string` \| `Context` | context to restart. | - -###### Returns - -`Promise`\<`void`\> - -void. - -### runCode() - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Run the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code. | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object. - -###### runCode(code, opts) - -```ts -runCode(code: string, opts?: RunCodeOpts & object): Promise -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -###### Parameters - -| Parameter | Type | Description | -| ------ | ------ | ------ | -| `code` | `string` | code to execute. | -| `opts`? | `RunCodeOpts` & `object` | options for executing the code | - -###### Returns - -`Promise`\<`Execution`\> - -`Execution` result object - -## Interfaces - -### CreateCodeContextOpts - -Options for creating a code context. - -#### Properties - -### cwd? - -```ts -optional cwd: string; -``` - -Working directory for the context. - -###### Default - -```ts -/home/user -``` - -### language? - -```ts -optional language: string; -``` - -Language for the context. - -###### Default - -```ts -python -``` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -*** - -### RunCodeOpts - -Options for running code. - -#### Properties - -### envs? - -```ts -optional envs: Record; -``` - -Custom environment variables for code execution. - -###### Default - -```ts -{} -``` - -### onError()? - -```ts -optional onError: (error: ExecutionError) => any; -``` - -Callback for handling the `ExecutionError` object. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `error` | `ExecutionError` | - -###### Returns - -`any` - -### onResult()? - -```ts -optional onResult: (data: Result) => any; -``` - -Callback for handling the final execution result. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `data` | `Result` | - -###### Returns - -`any` - -### onStderr()? - -```ts -optional onStderr: (output: OutputMessage) => any; -``` - -Callback for handling stderr messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### onStdout()? - -```ts -optional onStdout: (output: OutputMessage) => any; -``` - -Callback for handling stdout messages. - -###### Parameters - -| Parameter | Type | -| ------ | ------ | -| `output` | `OutputMessage` | - -###### Returns - -`any` - -### requestTimeoutMs? - -```ts -optional requestTimeoutMs: number; -``` - -Timeout for the request in **milliseconds**. - -###### Default - -```ts -30_000 // 30 seconds -``` - -### timeoutMs? - -```ts -optional timeoutMs: number; -``` - -Timeout for the code execution in **milliseconds**. - -###### Default - -```ts -60_000 // 60 seconds -``` - -## Type Aliases - -### Context - -```ts -type Context: object; -``` - -Represents a context for code execution. - -#### Type declaration - -| Name | Type | Description | -| ------ | ------ | ------ | -| `cwd` | `string` | The working directory of the context. | -| `id` | `string` | The ID of the context. | -| `language` | `string` | The language of the context. | diff --git a/sdk-reference/code-interpreter-python-sdk/v1.0.1/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.0.1/sandbox/page.mdx deleted file mode 100644 index 325b8e18..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.0.1/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.0.2/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.0.2/sandbox/page.mdx deleted file mode 100644 index 724afcfc..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.0.2/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.0.3/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.0.3/sandbox/page.mdx deleted file mode 100644 index b7323614..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.0.3/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.0.4/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.0.4/sandbox/page.mdx deleted file mode 100644 index 325b8e18..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.0.4/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.0.5/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.0.5/sandbox/page.mdx deleted file mode 100644 index b59dc8e0..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.0.5/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.1.0/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.1.0/sandbox/page.mdx deleted file mode 100644 index 86e0dfaf..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.1.0/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.1.1/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.1.1/sandbox/page.mdx deleted file mode 100644 index 86e0dfaf..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.1.1/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.2.0/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.2.0/sandbox/page.mdx deleted file mode 100644 index 86e0dfaf..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.2.0/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.2.1/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.2.1/sandbox/page.mdx deleted file mode 100644 index 19778c89..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.2.1/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.5.0/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.5.0/sandbox/page.mdx deleted file mode 100644 index 6bee4003..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.5.0/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.5.1/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.5.1/sandbox/page.mdx deleted file mode 100644 index 6bee4003..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.5.1/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - diff --git a/sdk-reference/code-interpreter-python-sdk/v1.5.2/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v1.5.2/sandbox/page.mdx deleted file mode 100644 index 80c7f2cd..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v1.5.2/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - diff --git a/sdk-reference/code-interpreter-python-sdk/v2.0.0/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v2.0.0/sandbox/page.mdx deleted file mode 100644 index a3bb8d72..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v2.0.0/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox.create() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - diff --git a/sdk-reference/code-interpreter-python-sdk/v2.1.0/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v2.1.0/sandbox/page.mdx deleted file mode 100644 index 8b8082cd..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v2.1.0/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox.create() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - diff --git a/sdk-reference/code-interpreter-python-sdk/v2.1.1/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v2.1.1/sandbox/page.mdx deleted file mode 100644 index 8b8082cd..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v2.1.1/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox.create() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - diff --git a/sdk-reference/code-interpreter-python-sdk/v2.2.0/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v2.2.0/sandbox/page.mdx deleted file mode 100644 index 8b8082cd..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v2.2.0/sandbox/page.mdx +++ /dev/null @@ -1,722 +0,0 @@ - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox.create() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - diff --git a/sdk-reference/code-interpreter-python-sdk/v2.2.1/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v2.2.1/sandbox/page.mdx deleted file mode 100644 index 40b9bb92..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v2.2.1/sandbox/page.mdx +++ /dev/null @@ -1,725 +0,0 @@ - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox.create() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code( - code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code( - code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code( - code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - diff --git a/sdk-reference/code-interpreter-python-sdk/v2.3.0/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v2.3.0/sandbox/page.mdx deleted file mode 100644 index 40b9bb92..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v2.3.0/sandbox/page.mdx +++ /dev/null @@ -1,725 +0,0 @@ - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox.create() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code( - code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code( - code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code( - code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - diff --git a/sdk-reference/code-interpreter-python-sdk/v2.4.0/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v2.4.0/sandbox/page.mdx deleted file mode 100644 index d6466bf3..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v2.4.0/sandbox/page.mdx +++ /dev/null @@ -1,819 +0,0 @@ - - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox.create() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - -### remove\_code\_context - -```python -def remove_code_context(context: Union[Context, str]) -> None -``` - -Removes a context. - -**Arguments**: - -- `context`: Context to remove. Can be a Context object or a context ID string. - -**Returns**: - -None - - -### list\_code\_contexts - -```python -def list_code_contexts() -> List[Context] -``` - -List all contexts. - -**Returns**: - -List of contexts. - - -### restart\_code\_context - -```python -def restart_code_context(context: Union[Context, str]) -> None -``` - -Restart a context. - -**Arguments**: - -- `context`: Context to restart. Can be a Context object or a context ID string. - -**Returns**: - -None - - - - - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code( - code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code( - code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code( - code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - -### remove\_code\_context - -```python -async def remove_code_context(context: Union[Context, str]) -> None -``` - -Removes a context. - -**Arguments**: - -- `context`: Context to remove. Can be a Context object or a context ID string. - -**Returns**: - -None - - -### list\_code\_contexts - -```python -async def list_code_contexts() -> List[Context] -``` - -List all contexts. - -**Returns**: - -List of contexts. - - -### restart\_code\_context - -```python -async def restart_code_context(context: Union[Context, str]) -> None -``` - -Restart a context. - -**Arguments**: - -- `context`: Context to restart. Can be a Context object or a context ID string. - -**Returns**: - -None - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - diff --git a/sdk-reference/code-interpreter-python-sdk/v2.4.1/sandbox/page.mdx b/sdk-reference/code-interpreter-python-sdk/v2.4.1/sandbox/page.mdx deleted file mode 100644 index f668374c..00000000 --- a/sdk-reference/code-interpreter-python-sdk/v2.4.1/sandbox/page.mdx +++ /dev/null @@ -1,819 +0,0 @@ - - - - - -## AsyncSandbox - -```python -class AsyncSandbox(BaseAsyncSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `AsyncSandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import AsyncSandbox -sandbox = await AsyncSandbox.create() -``` - - -### run\_code - -```python -@overload -async def run_code( - code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code( - code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -async def run_code( - code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -async def create_code_context( - cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - -### remove\_code\_context - -```python -async def remove_code_context(context: Union[Context, str]) -> None -``` - -Removes a context. - -**Arguments**: - -- `context`: Context to remove. Can be a Context object or a context ID string. - -**Returns**: - -None - - -### list\_code\_contexts - -```python -async def list_code_contexts() -> List[Context] -``` - -List all contexts. - -**Returns**: - -List of contexts. - - -### restart\_code\_context - -```python -async def restart_code_context(context: Union[Context, str]) -> None -``` - -Restart a context. - -**Arguments**: - -- `context`: Context to restart. Can be a Context object or a context ID string. - -**Returns**: - -None - - - - -## OutputMessage - -```python -@dataclass -class OutputMessage() -``` - -Represents an output message from the sandbox code execution. - - -### line - -The output line. - - -### timestamp - -Unix epoch in nanoseconds - - -### error - -Whether the output is an error. - - -## ExecutionError - -```python -@dataclass -class ExecutionError() -``` - -Represents an error that occurred during the execution of a cell. -The error contains the name of the error, the value of the error, and the traceback. - - -### name - -Name of the error. - - -### value - -Value of the error. - - -### traceback - -The raw traceback of the error. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Error object. - - -## MIMEType - -```python -class MIMEType(str) -``` - -Represents a MIME type. - - -## Result - -```python -@dataclass -class Result() -``` - -Represents the data to be displayed as a result of executing a cell in a Jupyter notebook. -The result is similar to the structure returned by ipython kernel: https://ipython.readthedocs.io/en/stable/development/execution.html#execution-semantics - -The result can contain multiple types of data, such as text, images, plots, etc. Each type of data is represented -as a string, and the result can contain multiple types of data. The display calls don't have to have text representation, -for the actual result the representation is always present for the result, the other representations are always optional. - - -### is\_main\_result - -Whether this data is the result of the cell. Data can be produced by display calls of which can be multiple in a cell. - - -### extra - -Extra data that can be included. Not part of the standard types. - - -### formats - -```python -def formats() -> Iterable[str] -``` - -Returns all available formats of the result. - -**Returns**: - -All available formats of the result in MIME types. - - -### \_\_str\_\_ - -```python -def __str__() -> Optional[str] -``` - -Returns the text representation of the data. - -**Returns**: - -The text representation of the data. - - -### \_repr\_html\_ - -```python -def _repr_html_() -> Optional[str] -``` - -Returns the HTML representation of the data. - -**Returns**: - -The HTML representation of the data. - - -### \_repr\_markdown\_ - -```python -def _repr_markdown_() -> Optional[str] -``` - -Returns the Markdown representation of the data. - -**Returns**: - -The Markdown representation of the data. - - -### \_repr\_svg\_ - -```python -def _repr_svg_() -> Optional[str] -``` - -Returns the SVG representation of the data. - -**Returns**: - -The SVG representation of the data. - - -### \_repr\_png\_ - -```python -def _repr_png_() -> Optional[str] -``` - -Returns the base64 representation of the PNG data. - -**Returns**: - -The base64 representation of the PNG data. - - -### \_repr\_jpeg\_ - -```python -def _repr_jpeg_() -> Optional[str] -``` - -Returns the base64 representation of the JPEG data. - -**Returns**: - -The base64 representation of the JPEG data. - - -### \_repr\_pdf\_ - -```python -def _repr_pdf_() -> Optional[str] -``` - -Returns the PDF representation of the data. - -**Returns**: - -The PDF representation of the data. - - -### \_repr\_latex\_ - -```python -def _repr_latex_() -> Optional[str] -``` - -Returns the LaTeX representation of the data. - -**Returns**: - -The LaTeX representation of the data. - - -### \_repr\_json\_ - -```python -def _repr_json_() -> Optional[dict] -``` - -Returns the JSON representation of the data. - -**Returns**: - -The JSON representation of the data. - - -### \_repr\_javascript\_ - -```python -def _repr_javascript_() -> Optional[str] -``` - -Returns the JavaScript representation of the data. - -**Returns**: - -The JavaScript representation of the data. - - -## Logs - -```python -@dataclass(repr=False) -class Logs() -``` - -Data printed to stdout and stderr during execution, usually by print statements, logs, warnings, subprocesses, etc. - - -### stdout - -List of strings printed to stdout by prints, subprocesses, etc. - - -### stderr - -List of strings printed to stderr by prints, subprocesses, etc. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Logs object. - - -### serialize\_results - -```python -def serialize_results(results: List[Result]) -> List[Dict[str, str]] -``` - -Serializes the results to JSON. - - -## Execution - -```python -@dataclass(repr=False) -class Execution() -``` - -Represents the result of a cell execution. - - -### results - -List of the result of the cell (interactively interpreted last line), display calls (e.g. matplotlib plots). - - -### logs - -Logs printed to stdout and stderr during execution. - - -### error - -Error object if an error occurred, None otherwise. - - -### execution\_count - -Execution count of the cell. - - -### text - -```python -@property -def text() -> Optional[str] -``` - -Returns the text representation of the result. - -**Returns**: - -The text representation of the result. - - -### to\_json - -```python -def to_json() -> str -``` - -Returns the JSON representation of the Execution object. - - -## Context - -```python -@dataclass -class Context() -``` - -Represents a context for code execution. - - -### id - -The ID of the context. - - -### language - -The language of the context. - - -### cwd - -The working directory of the context. - - - - -## Sandbox - -```python -class Sandbox(BaseSandbox) -``` - -E2B cloud sandbox is a secure and isolated cloud environment. - -The sandbox allows you to: -- Access Linux OS -- Create, list, and delete files and directories -- Run commands -- Run isolated code -- Access the internet - -Check docs [here](https://e2b.dev/docs). - -Use the `Sandbox.create()` to create a new sandbox. - -**Example**: - -```python -from e2b_code_interpreter import Sandbox - -sandbox = Sandbox.create() -``` - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code as Python. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - language: Optional[str] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code for the specified language. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. -If no language is specified, Python is used. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `language`: Language to use for code execution. If not defined, the default Python context is used. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### run\_code - -```python -@overload -def run_code(code: str, - context: Optional[Context] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None) -> Execution -``` - -Runs the code in the specified context, if not specified, the default context is used. - -Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - -You can reference previously defined variables, imports, and functions in the code. - -**Arguments**: - -- `code`: Code to execute -- `context`: Concrete context to run the code in. If not specified, the default context for the language is used. It's mutually exclusive with the language. -- `on_stdout`: Callback for stdout messages -- `on_stderr`: Callback for stderr messages -- `on_result`: Callback for the `Result` object -- `on_error`: Callback for the `ExecutionError` object -- `envs`: Custom environment variables -- `timeout`: Timeout for the code execution in **seconds** -- `request_timeout`: Timeout for the request in **seconds** - -**Returns**: - -`Execution` result object - - -### create\_code\_context - -```python -def create_code_context(cwd: Optional[str] = None, - language: Optional[str] = None, - request_timeout: Optional[float] = None) -> Context -``` - -Creates a new context to run code in. - -**Arguments**: - -- `cwd`: Set the current working directory for the context, defaults to `/home/user` -- `language`: Language of the context. If not specified, defaults to Python -- `request_timeout`: Timeout for the request in **milliseconds** - -**Returns**: - -Context object - - -### remove\_code\_context - -```python -def remove_code_context(context: Union[Context, str]) -> None -``` - -Removes a context. - -**Arguments**: - -- `context`: Context to remove. Can be a Context object or a context ID string. - -**Returns**: - -None - - -### list\_code\_contexts - -```python -def list_code_contexts() -> List[Context] -``` - -List all contexts. - -**Returns**: - -List of contexts. - - -### restart\_code\_context - -```python -def restart_code_context(context: Union[Context, str]) -> None -``` - -Restart a context. - -**Arguments**: - -- `context`: Context to restart. Can be a Context object or a context ID string. - -**Returns**: - -None - - - - -## ChartType - -```python -class ChartType(str, enum.Enum) -``` - -Chart types - - -## ScaleType - -```python -class ScaleType(str, enum.Enum) -``` - -Ax scale types - - -## Chart - -```python -class Chart() -``` - -Extracted data from a chart. It's useful for building an interactive charts or custom visualizations. - - - - - From f35baa5a461f4e89fe597992ef6229c17ca43e79 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 17 Mar 2026 06:47:03 -0700 Subject: [PATCH 16/83] Update dependency httpx to v0.28.1 (#222) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/server/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/server/requirements.txt b/template/server/requirements.txt index 316b2622..7277633c 100644 --- a/template/server/requirements.txt +++ b/template/server/requirements.txt @@ -1,5 +1,5 @@ fastapi==0.111.0 -httpx==0.27.0 +httpx==0.28.1 websockets==12.0 uvicorn[standard]==0.30.1 requests==2.32.5 From 2dea8d599e2bf06a5fa7d7e285cd3c064ad77273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Nov=C3=A1k?= Date: Tue, 17 Mar 2026 14:47:12 +0100 Subject: [PATCH 17/83] chore(python): update Python to 3.10 (#224) * chore(python): update Python to 3.10 * chore: add changeset --- .changeset/real-jeans-carry.md | 5 + python/poetry.lock | 323 +++++++++++---------------------- python/pyproject.toml | 2 +- 3 files changed, 115 insertions(+), 215 deletions(-) create mode 100644 .changeset/real-jeans-carry.md diff --git a/.changeset/real-jeans-carry.md b/.changeset/real-jeans-carry.md new file mode 100644 index 00000000..e660bcea --- /dev/null +++ b/.changeset/real-jeans-carry.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter-python': minor +--- + +Set minimum Python version to 3.10 diff --git a/python/poetry.lock b/python/poetry.lock index b75f949b..c05d12c0 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "anyio" @@ -6,7 +6,6 @@ version = "4.4.0" description = "High level compatibility layer for multiple asynchronous event loop implementations" optional = false python-versions = ">=3.8" -groups = ["main"] files = [ {file = "anyio-4.4.0-py3-none-any.whl", hash = "sha256:c1b2d8f46a8a812513012e1107cb0e68c17159a7a594208005a57dc776e1bdc7"}, {file = "anyio-4.4.0.tar.gz", hash = "sha256:5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94"}, @@ -20,7 +19,7 @@ typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""} [package.extras] doc = ["Sphinx (>=7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] -test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17) ; platform_python_implementation == \"CPython\" and platform_system != \"Windows\""] +test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"] trio = ["trio (>=0.23)"] [[package]] @@ -29,7 +28,6 @@ version = "23.2.0" description = "Classes Without Boilerplate" optional = false python-versions = ">=3.7" -groups = ["main"] files = [ {file = "attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1"}, {file = "attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"}, @@ -40,8 +38,8 @@ cov = ["attrs[tests]", "coverage[toml] (>=5.3)"] dev = ["attrs[tests]", "pre-commit"] docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"] tests = ["attrs[tests-no-zope]", "zope-interface"] -tests-mypy = ["mypy (>=1.6) ; platform_python_implementation == \"CPython\" and python_version >= \"3.8\"", "pytest-mypy-plugins ; platform_python_implementation == \"CPython\" and python_version >= \"3.8\""] -tests-no-zope = ["attrs[tests-mypy]", "cloudpickle ; platform_python_implementation == \"CPython\"", "hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist[psutil]"] +tests-mypy = ["mypy (>=1.6)", "pytest-mypy-plugins"] +tests-no-zope = ["attrs[tests-mypy]", "cloudpickle", "hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist[psutil]"] [[package]] name = "bracex" @@ -49,7 +47,6 @@ version = "2.6" description = "Bash style brace expander." optional = false python-versions = ">=3.9" -groups = ["main"] files = [ {file = "bracex-2.6-py3-none-any.whl", hash = "sha256:0b0049264e7340b3ec782b5cb99beb325f36c3782a32e36e876452fd49a09952"}, {file = "bracex-2.6.tar.gz", hash = "sha256:98f1347cd77e22ee8d967a30ad4e310b233f7754dbf31ff3fceb76145ba47dc7"}, @@ -61,7 +58,6 @@ version = "2024.7.4" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.6" -groups = ["main", "dev"] files = [ {file = "certifi-2024.7.4-py3-none-any.whl", hash = "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90"}, {file = "certifi-2024.7.4.tar.gz", hash = "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b"}, @@ -73,8 +69,6 @@ version = "0.4.6" description = "Cross-platform colored terminal text." optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" -groups = ["dev"] -markers = "sys_platform == \"win32\" or platform_system == \"Windows\"" files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, @@ -86,7 +80,6 @@ version = "1.3.0" description = "Python library for calculating contours of 2D quadrilateral grids" optional = false python-versions = ">=3.9" -groups = ["dev"] files = [ {file = "contourpy-1.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:880ea32e5c774634f9fcd46504bf9f080a41ad855f4fef54f5380f5133d343c7"}, {file = "contourpy-1.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:76c905ef940a4474a6289c71d53122a4f77766eef23c03cd57016ce19d0f7b42"}, @@ -171,7 +164,6 @@ version = "0.12.1" description = "Composable style cycles" optional = false python-versions = ">=3.8" -groups = ["dev"] files = [ {file = "cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30"}, {file = "cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c"}, @@ -187,7 +179,6 @@ version = "2.0.1" description = "Python library for Dockerfile manipulation" optional = false python-versions = ">=3.6" -groups = ["main"] files = [ {file = "dockerfile-parse-2.0.1.tar.gz", hash = "sha256:3184ccdc513221983e503ac00e1aa504a2aa8f84e5de673c46b0b6eee99ec7bc"}, {file = "dockerfile_parse-2.0.1-py2.py3-none-any.whl", hash = "sha256:bdffd126d2eb26acf1066acb54cb2e336682e1d72b974a40894fac76a4df17f6"}, @@ -199,7 +190,6 @@ version = "2.10.2" description = "E2B SDK that give agents cloud environments" optional = false python-versions = "<4.0,>=3.9" -groups = ["main"] files = [ {file = "e2b-2.10.2-py3-none-any.whl", hash = "sha256:c719291fc9b3006b286809f6e820b803a1aab9a6f5ae4fe0140ead17efbce821"}, {file = "e2b-2.10.2.tar.gz", hash = "sha256:b77ecd620fd057b81a9610da18141811c003cc6f446c39c7ec7b9e9dc147d864"}, @@ -223,8 +213,6 @@ version = "1.2.2" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" -groups = ["main", "dev"] -markers = "python_version < \"3.11\"" files = [ {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, @@ -239,7 +227,6 @@ version = "2.1.1" description = "execnet: rapid multi-Python deployment" optional = false python-versions = ">=3.8" -groups = ["dev"] files = [ {file = "execnet-2.1.1-py3-none-any.whl", hash = "sha256:26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc"}, {file = "execnet-2.1.1.tar.gz", hash = "sha256:5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3"}, @@ -254,7 +241,6 @@ version = "4.60.2" description = "Tools to manipulate font files" optional = false python-versions = ">=3.9" -groups = ["dev"] files = [ {file = "fonttools-4.60.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4e36fadcf7e8ca6e34d490eef86ed638d6fd9c55d2f514b05687622cfc4a7050"}, {file = "fonttools-4.60.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6e500fc9c04bee749ceabfc20cb4903f6981c2139050d85720ea7ada61b75d5c"}, @@ -317,17 +303,17 @@ files = [ ] [package.extras] -all = ["brotli (>=1.0.1) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=0.8.0) ; platform_python_implementation != \"CPython\"", "lxml (>=4.0)", "lz4 (>=1.7.4.2)", "matplotlib", "munkres ; platform_python_implementation == \"PyPy\"", "pycairo", "scipy ; platform_python_implementation != \"PyPy\"", "skia-pathops (>=0.5.0)", "sympy", "uharfbuzz (>=0.45.0)", "unicodedata2 (>=17.0.0) ; python_version <= \"3.14\"", "xattr ; sys_platform == \"darwin\"", "zopfli (>=0.1.4)"] +all = ["brotli (>=1.0.1)", "brotlicffi (>=0.8.0)", "lxml (>=4.0)", "lz4 (>=1.7.4.2)", "matplotlib", "munkres", "pycairo", "scipy", "skia-pathops (>=0.5.0)", "sympy", "uharfbuzz (>=0.45.0)", "unicodedata2 (>=17.0.0)", "xattr", "zopfli (>=0.1.4)"] graphite = ["lz4 (>=1.7.4.2)"] -interpolatable = ["munkres ; platform_python_implementation == \"PyPy\"", "pycairo", "scipy ; platform_python_implementation != \"PyPy\""] +interpolatable = ["munkres", "pycairo", "scipy"] lxml = ["lxml (>=4.0)"] pathops = ["skia-pathops (>=0.5.0)"] plot = ["matplotlib"] repacker = ["uharfbuzz (>=0.45.0)"] symfont = ["sympy"] -type1 = ["xattr ; sys_platform == \"darwin\""] -unicode = ["unicodedata2 (>=17.0.0) ; python_version <= \"3.14\""] -woff = ["brotli (>=1.0.1) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=0.8.0) ; platform_python_implementation != \"CPython\"", "zopfli (>=0.1.4)"] +type1 = ["xattr"] +unicode = ["unicodedata2 (>=17.0.0)"] +woff = ["brotli (>=1.0.1)", "brotlicffi (>=0.8.0)", "zopfli (>=0.1.4)"] [[package]] name = "h11" @@ -335,7 +321,6 @@ version = "0.16.0" description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1" optional = false python-versions = ">=3.8" -groups = ["main"] files = [ {file = "h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86"}, {file = "h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1"}, @@ -347,7 +332,6 @@ version = "1.0.9" description = "A minimal low-level HTTP client." optional = false python-versions = ">=3.8" -groups = ["main"] files = [ {file = "httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55"}, {file = "httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8"}, @@ -369,7 +353,6 @@ version = "0.27.0" description = "The next generation HTTP client." optional = false python-versions = ">=3.8" -groups = ["main"] files = [ {file = "httpx-0.27.0-py3-none-any.whl", hash = "sha256:71d5465162c13681bff01ad59b2cc68dd838ea1f10e51574bac27103f00c91a5"}, {file = "httpx-0.27.0.tar.gz", hash = "sha256:a0cb88a46f32dc874e04ee956e4c2764aba2aa228f650b06788ba6bda2962ab5"}, @@ -383,7 +366,7 @@ idna = "*" sniffio = "*" [package.extras] -brotli = ["brotli ; platform_python_implementation == \"CPython\"", "brotlicffi ; platform_python_implementation != \"CPython\""] +brotli = ["brotli", "brotlicffi"] cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<14)"] http2 = ["h2 (>=3,<5)"] socks = ["socksio (==1.*)"] @@ -394,43 +377,17 @@ version = "3.7" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.5" -groups = ["main", "dev"] files = [ {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, ] -[[package]] -name = "importlib-resources" -version = "6.5.2" -description = "Read resources from Python packages" -optional = false -python-versions = ">=3.9" -groups = ["dev"] -markers = "python_version == \"3.9\"" -files = [ - {file = "importlib_resources-6.5.2-py3-none-any.whl", hash = "sha256:789cfdc3ed28c78b67a06acb8126751ced69a3d5f79c095a98298cd8a760ccec"}, - {file = "importlib_resources-6.5.2.tar.gz", hash = "sha256:185f87adef5bcc288449d98fb4fba07cea78bc036455dd44c5fc4a2fe78fed2c"}, -] - -[package.dependencies] -zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} - -[package.extras] -check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\""] -cover = ["pytest-cov"] -doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -enabler = ["pytest-enabler (>=2.2)"] -test = ["jaraco.test (>=5.4)", "pytest (>=6,!=8.1.*)", "zipp (>=3.17)"] -type = ["pytest-mypy"] - [[package]] name = "iniconfig" version = "2.0.0" description = "brain-dead simple config-ini parsing" optional = false python-versions = ">=3.7" -groups = ["dev"] files = [ {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, @@ -442,7 +399,6 @@ version = "1.4.7" description = "A fast implementation of the Cassowary constraint solver" optional = false python-versions = ">=3.8" -groups = ["dev"] files = [ {file = "kiwisolver-1.4.7-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8a9c83f75223d5e48b0bc9cb1bf2776cf01563e00ade8775ffe13b0b6e1af3a6"}, {file = "kiwisolver-1.4.7-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:58370b1ffbd35407444d57057b57da5d6549d2d854fa30249771775c63b5fe17"}, @@ -566,7 +522,6 @@ version = "3.0.0" description = "Python port of markdown-it. Markdown parsing, done right!" optional = false python-versions = ">=3.8" -groups = ["main"] files = [ {file = "markdown-it-py-3.0.0.tar.gz", hash = "sha256:e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb"}, {file = "markdown_it_py-3.0.0-py3-none-any.whl", hash = "sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1"}, @@ -591,7 +546,6 @@ version = "3.9.4" description = "Python plotting package" optional = false python-versions = ">=3.9" -groups = ["dev"] files = [ {file = "matplotlib-3.9.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:c5fdd7abfb706dfa8d307af64a87f1a862879ec3cd8d0ec8637458f0885b9c50"}, {file = "matplotlib-3.9.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d89bc4e85e40a71d1477780366c27fb7c6494d293e1617788986f74e2a03d7ff"}, @@ -640,7 +594,6 @@ files = [ contourpy = ">=1.0.1" cycler = ">=0.10" fonttools = ">=4.22.0" -importlib-resources = {version = ">=3.2.0", markers = "python_version < \"3.10\""} kiwisolver = ">=1.3.1" numpy = ">=1.23" packaging = ">=20.0" @@ -657,7 +610,6 @@ version = "0.1.2" description = "Markdown URL utilities" optional = false python-versions = ">=3.7" -groups = ["main"] files = [ {file = "mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8"}, {file = "mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"}, @@ -669,7 +621,6 @@ version = "2.0.2" description = "Fundamental package for array computing in Python" optional = false python-versions = ">=3.9" -groups = ["dev"] files = [ {file = "numpy-2.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:51129a29dbe56f9ca83438b706e2e69a39892b5eda6cedcb6b0c9fdc9b0d3ece"}, {file = "numpy-2.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f15975dfec0cf2239224d80e32c3170b1d168335eaedee69da84fbe9f1f9cd04"}, @@ -724,7 +675,6 @@ version = "24.1" description = "Core utilities for Python packages" optional = false python-versions = ">=3.8" -groups = ["main", "dev"] files = [ {file = "packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"}, {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, @@ -732,127 +682,110 @@ files = [ [[package]] name = "pillow" -version = "11.3.0" -description = "Python Imaging Library (Fork)" +version = "12.1.1" +description = "Python Imaging Library (fork)" optional = false -python-versions = ">=3.9" -groups = ["dev"] +python-versions = ">=3.10" files = [ - {file = "pillow-11.3.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:1b9c17fd4ace828b3003dfd1e30bff24863e0eb59b535e8f80194d9cc7ecf860"}, - {file = "pillow-11.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:65dc69160114cdd0ca0f35cb434633c75e8e7fad4cf855177a05bf38678f73ad"}, - {file = "pillow-11.3.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7107195ddc914f656c7fc8e4a5e1c25f32e9236ea3ea860f257b0436011fddd0"}, - {file = "pillow-11.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:cc3e831b563b3114baac7ec2ee86819eb03caa1a2cef0b481a5675b59c4fe23b"}, - {file = "pillow-11.3.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f1f182ebd2303acf8c380a54f615ec883322593320a9b00438eb842c1f37ae50"}, - {file = "pillow-11.3.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4445fa62e15936a028672fd48c4c11a66d641d2c05726c7ec1f8ba6a572036ae"}, - {file = "pillow-11.3.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:71f511f6b3b91dd543282477be45a033e4845a40278fa8dcdbfdb07109bf18f9"}, - {file = "pillow-11.3.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:040a5b691b0713e1f6cbe222e0f4f74cd233421e105850ae3b3c0ceda520f42e"}, - {file = "pillow-11.3.0-cp310-cp310-win32.whl", hash = "sha256:89bd777bc6624fe4115e9fac3352c79ed60f3bb18651420635f26e643e3dd1f6"}, - {file = "pillow-11.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:19d2ff547c75b8e3ff46f4d9ef969a06c30ab2d4263a9e287733aa8b2429ce8f"}, - {file = "pillow-11.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:819931d25e57b513242859ce1876c58c59dc31587847bf74cfe06b2e0cb22d2f"}, - {file = "pillow-11.3.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:1cd110edf822773368b396281a2293aeb91c90a2db00d78ea43e7e861631b722"}, - {file = "pillow-11.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9c412fddd1b77a75aa904615ebaa6001f169b26fd467b4be93aded278266b288"}, - {file = "pillow-11.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7d1aa4de119a0ecac0a34a9c8bde33f34022e2e8f99104e47a3ca392fd60e37d"}, - {file = "pillow-11.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:91da1d88226663594e3f6b4b8c3c8d85bd504117d043740a8e0ec449087cc494"}, - {file = "pillow-11.3.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:643f189248837533073c405ec2f0bb250ba54598cf80e8c1e043381a60632f58"}, - {file = "pillow-11.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:106064daa23a745510dabce1d84f29137a37224831d88eb4ce94bb187b1d7e5f"}, - {file = "pillow-11.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:cd8ff254faf15591e724dc7c4ddb6bf4793efcbe13802a4ae3e863cd300b493e"}, - {file = "pillow-11.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:932c754c2d51ad2b2271fd01c3d121daaa35e27efae2a616f77bf164bc0b3e94"}, - {file = "pillow-11.3.0-cp311-cp311-win32.whl", hash = "sha256:b4b8f3efc8d530a1544e5962bd6b403d5f7fe8b9e08227c6b255f98ad82b4ba0"}, - {file = "pillow-11.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:1a992e86b0dd7aeb1f053cd506508c0999d710a8f07b4c791c63843fc6a807ac"}, - {file = "pillow-11.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:30807c931ff7c095620fe04448e2c2fc673fcbb1ffe2a7da3fb39613489b1ddd"}, - {file = "pillow-11.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fdae223722da47b024b867c1ea0be64e0df702c5e0a60e27daad39bf960dd1e4"}, - {file = "pillow-11.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:921bd305b10e82b4d1f5e802b6850677f965d8394203d182f078873851dada69"}, - {file = "pillow-11.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:eb76541cba2f958032d79d143b98a3a6b3ea87f0959bbe256c0b5e416599fd5d"}, - {file = "pillow-11.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:67172f2944ebba3d4a7b54f2e95c786a3a50c21b88456329314caaa28cda70f6"}, - {file = "pillow-11.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f07ed9f56a3b9b5f49d3661dc9607484e85c67e27f3e8be2c7d28ca032fec7"}, - {file = "pillow-11.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:676b2815362456b5b3216b4fd5bd89d362100dc6f4945154ff172e206a22c024"}, - {file = "pillow-11.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3e184b2f26ff146363dd07bde8b711833d7b0202e27d13540bfe2e35a323a809"}, - {file = "pillow-11.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6be31e3fc9a621e071bc17bb7de63b85cbe0bfae91bb0363c893cbe67247780d"}, - {file = "pillow-11.3.0-cp312-cp312-win32.whl", hash = "sha256:7b161756381f0918e05e7cb8a371fff367e807770f8fe92ecb20d905d0e1c149"}, - {file = "pillow-11.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a6444696fce635783440b7f7a9fc24b3ad10a9ea3f0ab66c5905be1c19ccf17d"}, - {file = "pillow-11.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:2aceea54f957dd4448264f9bf40875da0415c83eb85f55069d89c0ed436e3542"}, - {file = "pillow-11.3.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:1c627742b539bba4309df89171356fcb3cc5a9178355b2727d1b74a6cf155fbd"}, - {file = "pillow-11.3.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:30b7c02f3899d10f13d7a48163c8969e4e653f8b43416d23d13d1bbfdc93b9f8"}, - {file = "pillow-11.3.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7859a4cc7c9295f5838015d8cc0a9c215b77e43d07a25e460f35cf516df8626f"}, - {file = "pillow-11.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:ec1ee50470b0d050984394423d96325b744d55c701a439d2bd66089bff963d3c"}, - {file = "pillow-11.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7db51d222548ccfd274e4572fdbf3e810a5e66b00608862f947b163e613b67dd"}, - {file = "pillow-11.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2d6fcc902a24ac74495df63faad1884282239265c6839a0a6416d33faedfae7e"}, - {file = "pillow-11.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f0f5d8f4a08090c6d6d578351a2b91acf519a54986c055af27e7a93feae6d3f1"}, - {file = "pillow-11.3.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c37d8ba9411d6003bba9e518db0db0c58a680ab9fe5179f040b0463644bc9805"}, - {file = "pillow-11.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:13f87d581e71d9189ab21fe0efb5a23e9f28552d5be6979e84001d3b8505abe8"}, - {file = "pillow-11.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:023f6d2d11784a465f09fd09a34b150ea4672e85fb3d05931d89f373ab14abb2"}, - {file = "pillow-11.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:45dfc51ac5975b938e9809451c51734124e73b04d0f0ac621649821a63852e7b"}, - {file = "pillow-11.3.0-cp313-cp313-win32.whl", hash = "sha256:a4d336baed65d50d37b88ca5b60c0fa9d81e3a87d4a7930d3880d1624d5b31f3"}, - {file = "pillow-11.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0bce5c4fd0921f99d2e858dc4d4d64193407e1b99478bc5cacecba2311abde51"}, - {file = "pillow-11.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:1904e1264881f682f02b7f8167935cce37bc97db457f8e7849dc3a6a52b99580"}, - {file = "pillow-11.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:4c834a3921375c48ee6b9624061076bc0a32a60b5532b322cc0ea64e639dd50e"}, - {file = "pillow-11.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5e05688ccef30ea69b9317a9ead994b93975104a677a36a8ed8106be9260aa6d"}, - {file = "pillow-11.3.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1019b04af07fc0163e2810167918cb5add8d74674b6267616021ab558dc98ced"}, - {file = "pillow-11.3.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f944255db153ebb2b19c51fe85dd99ef0ce494123f21b9db4877ffdfc5590c7c"}, - {file = "pillow-11.3.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f85acb69adf2aaee8b7da124efebbdb959a104db34d3a2cb0f3793dbae422a8"}, - {file = "pillow-11.3.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:05f6ecbeff5005399bb48d198f098a9b4b6bdf27b8487c7f38ca16eeb070cd59"}, - {file = "pillow-11.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:a7bc6e6fd0395bc052f16b1a8670859964dbd7003bd0af2ff08342eb6e442cfe"}, - {file = "pillow-11.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:83e1b0161c9d148125083a35c1c5a89db5b7054834fd4387499e06552035236c"}, - {file = "pillow-11.3.0-cp313-cp313t-win32.whl", hash = "sha256:2a3117c06b8fb646639dce83694f2f9eac405472713fcb1ae887469c0d4f6788"}, - {file = "pillow-11.3.0-cp313-cp313t-win_amd64.whl", hash = "sha256:857844335c95bea93fb39e0fa2726b4d9d758850b34075a7e3ff4f4fa3aa3b31"}, - {file = "pillow-11.3.0-cp313-cp313t-win_arm64.whl", hash = "sha256:8797edc41f3e8536ae4b10897ee2f637235c94f27404cac7297f7b607dd0716e"}, - {file = "pillow-11.3.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:d9da3df5f9ea2a89b81bb6087177fb1f4d1c7146d583a3fe5c672c0d94e55e12"}, - {file = "pillow-11.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0b275ff9b04df7b640c59ec5a3cb113eefd3795a8df80bac69646ef699c6981a"}, - {file = "pillow-11.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0743841cabd3dba6a83f38a92672cccbd69af56e3e91777b0ee7f4dba4385632"}, - {file = "pillow-11.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2465a69cf967b8b49ee1b96d76718cd98c4e925414ead59fdf75cf0fd07df673"}, - {file = "pillow-11.3.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:41742638139424703b4d01665b807c6468e23e699e8e90cffefe291c5832b027"}, - {file = "pillow-11.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:93efb0b4de7e340d99057415c749175e24c8864302369e05914682ba642e5d77"}, - {file = "pillow-11.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7966e38dcd0fa11ca390aed7c6f20454443581d758242023cf36fcb319b1a874"}, - {file = "pillow-11.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:98a9afa7b9007c67ed84c57c9e0ad86a6000da96eaa638e4f8abe5b65ff83f0a"}, - {file = "pillow-11.3.0-cp314-cp314-win32.whl", hash = "sha256:02a723e6bf909e7cea0dac1b0e0310be9d7650cd66222a5f1c571455c0a45214"}, - {file = "pillow-11.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:a418486160228f64dd9e9efcd132679b7a02a5f22c982c78b6fc7dab3fefb635"}, - {file = "pillow-11.3.0-cp314-cp314-win_arm64.whl", hash = "sha256:155658efb5e044669c08896c0c44231c5e9abcaadbc5cd3648df2f7c0b96b9a6"}, - {file = "pillow-11.3.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:59a03cdf019efbfeeed910bf79c7c93255c3d54bc45898ac2a4140071b02b4ae"}, - {file = "pillow-11.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f8a5827f84d973d8636e9dc5764af4f0cf2318d26744b3d902931701b0d46653"}, - {file = "pillow-11.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ee92f2fd10f4adc4b43d07ec5e779932b4eb3dbfbc34790ada5a6669bc095aa6"}, - {file = "pillow-11.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c96d333dcf42d01f47b37e0979b6bd73ec91eae18614864622d9b87bbd5bbf36"}, - {file = "pillow-11.3.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4c96f993ab8c98460cd0c001447bff6194403e8b1d7e149ade5f00594918128b"}, - {file = "pillow-11.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:41342b64afeba938edb034d122b2dda5db2139b9a4af999729ba8818e0056477"}, - {file = "pillow-11.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:068d9c39a2d1b358eb9f245ce7ab1b5c3246c7c8c7d9ba58cfa5b43146c06e50"}, - {file = "pillow-11.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a1bc6ba083b145187f648b667e05a2534ecc4b9f2784c2cbe3089e44868f2b9b"}, - {file = "pillow-11.3.0-cp314-cp314t-win32.whl", hash = "sha256:118ca10c0d60b06d006be10a501fd6bbdfef559251ed31b794668ed569c87e12"}, - {file = "pillow-11.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:8924748b688aa210d79883357d102cd64690e56b923a186f35a82cbc10f997db"}, - {file = "pillow-11.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:79ea0d14d3ebad43ec77ad5272e6ff9bba5b679ef73375ea760261207fa8e0aa"}, - {file = "pillow-11.3.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:48d254f8a4c776de343051023eb61ffe818299eeac478da55227d96e241de53f"}, - {file = "pillow-11.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:7aee118e30a4cf54fdd873bd3a29de51e29105ab11f9aad8c32123f58c8f8081"}, - {file = "pillow-11.3.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:23cff760a9049c502721bdb743a7cb3e03365fafcdfc2ef9784610714166e5a4"}, - {file = "pillow-11.3.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6359a3bc43f57d5b375d1ad54a0074318a0844d11b76abccf478c37c986d3cfc"}, - {file = "pillow-11.3.0-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:092c80c76635f5ecb10f3f83d76716165c96f5229addbd1ec2bdbbda7d496e06"}, - {file = "pillow-11.3.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cadc9e0ea0a2431124cde7e1697106471fc4c1da01530e679b2391c37d3fbb3a"}, - {file = "pillow-11.3.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:6a418691000f2a418c9135a7cf0d797c1bb7d9a485e61fe8e7722845b95ef978"}, - {file = "pillow-11.3.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:97afb3a00b65cc0804d1c7abddbf090a81eaac02768af58cbdcaaa0a931e0b6d"}, - {file = "pillow-11.3.0-cp39-cp39-win32.whl", hash = "sha256:ea944117a7974ae78059fcc1800e5d3295172bb97035c0c1d9345fca1419da71"}, - {file = "pillow-11.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:e5c5858ad8ec655450a7c7df532e9842cf8df7cc349df7225c60d5d348c8aada"}, - {file = "pillow-11.3.0-cp39-cp39-win_arm64.whl", hash = "sha256:6abdbfd3aea42be05702a8dd98832329c167ee84400a1d1f61ab11437f1717eb"}, - {file = "pillow-11.3.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:3cee80663f29e3843b68199b9d6f4f54bd1d4a6b59bdd91bceefc51238bcb967"}, - {file = "pillow-11.3.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:b5f56c3f344f2ccaf0dd875d3e180f631dc60a51b314295a3e681fe8cf851fbe"}, - {file = "pillow-11.3.0-pp310-pypy310_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e67d793d180c9df62f1f40aee3accca4829d3794c95098887edc18af4b8b780c"}, - {file = "pillow-11.3.0-pp310-pypy310_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d000f46e2917c705e9fb93a3606ee4a819d1e3aa7a9b442f6444f07e77cf5e25"}, - {file = "pillow-11.3.0-pp310-pypy310_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:527b37216b6ac3a12d7838dc3bd75208ec57c1c6d11ef01902266a5a0c14fc27"}, - {file = "pillow-11.3.0-pp310-pypy310_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:be5463ac478b623b9dd3937afd7fb7ab3d79dd290a28e2b6df292dc75063eb8a"}, - {file = "pillow-11.3.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:8dc70ca24c110503e16918a658b869019126ecfe03109b754c402daff12b3d9f"}, - {file = "pillow-11.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:7c8ec7a017ad1bd562f93dbd8505763e688d388cde6e4a010ae1486916e713e6"}, - {file = "pillow-11.3.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:9ab6ae226de48019caa8074894544af5b53a117ccb9d3b3dcb2871464c829438"}, - {file = "pillow-11.3.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fe27fb049cdcca11f11a7bfda64043c37b30e6b91f10cb5bab275806c32f6ab3"}, - {file = "pillow-11.3.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:465b9e8844e3c3519a983d58b80be3f668e2a7a5db97f2784e7079fbc9f9822c"}, - {file = "pillow-11.3.0-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5418b53c0d59b3824d05e029669efa023bbef0f3e92e75ec8428f3799487f361"}, - {file = "pillow-11.3.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:504b6f59505f08ae014f724b6207ff6222662aab5cc9542577fb084ed0676ac7"}, - {file = "pillow-11.3.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:c84d689db21a1c397d001aa08241044aa2069e7587b398c8cc63020390b1c1b8"}, - {file = "pillow-11.3.0.tar.gz", hash = "sha256:3828ee7586cd0b2091b6209e5ad53e20d0649bbe87164a459d0676e035e8f523"}, + {file = "pillow-12.1.1-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:1f1625b72740fdda5d77b4def688eb8fd6490975d06b909fd19f13f391e077e0"}, + {file = "pillow-12.1.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:178aa072084bd88ec759052feca8e56cbb14a60b39322b99a049e58090479713"}, + {file = "pillow-12.1.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b66e95d05ba806247aaa1561f080abc7975daf715c30780ff92a20e4ec546e1b"}, + {file = "pillow-12.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:89c7e895002bbe49cdc5426150377cbbc04767d7547ed145473f496dfa40408b"}, + {file = "pillow-12.1.1-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a5cbdcddad0af3da87cb16b60d23648bc3b51967eb07223e9fed77a82b457c4"}, + {file = "pillow-12.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9f51079765661884a486727f0729d29054242f74b46186026582b4e4769918e4"}, + {file = "pillow-12.1.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:99c1506ea77c11531d75e3a412832a13a71c7ebc8192ab9e4b2e355555920e3e"}, + {file = "pillow-12.1.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:36341d06738a9f66c8287cf8b876d24b18db9bd8740fa0672c74e259ad408cff"}, + {file = "pillow-12.1.1-cp310-cp310-win32.whl", hash = "sha256:6c52f062424c523d6c4db85518774cc3d50f5539dd6eed32b8f6229b26f24d40"}, + {file = "pillow-12.1.1-cp310-cp310-win_amd64.whl", hash = "sha256:c6008de247150668a705a6338156efb92334113421ceecf7438a12c9a12dab23"}, + {file = "pillow-12.1.1-cp310-cp310-win_arm64.whl", hash = "sha256:1a9b0ee305220b392e1124a764ee4265bd063e54a751a6b62eff69992f457fa9"}, + {file = "pillow-12.1.1-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:e879bb6cd5c73848ef3b2b48b8af9ff08c5b71ecda8048b7dd22d8a33f60be32"}, + {file = "pillow-12.1.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:365b10bb9417dd4498c0e3b128018c4a624dc11c7b97d8cc54effe3b096f4c38"}, + {file = "pillow-12.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d4ce8e329c93845720cd2014659ca67eac35f6433fd3050393d85f3ecef0dad5"}, + {file = "pillow-12.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc354a04072b765eccf2204f588a7a532c9511e8b9c7f900e1b64e3e33487090"}, + {file = "pillow-12.1.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7e7976bf1910a8116b523b9f9f58bf410f3e8aa330cd9a2bb2953f9266ab49af"}, + {file = "pillow-12.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:597bd9c8419bc7c6af5604e55847789b69123bbe25d65cc6ad3012b4f3c98d8b"}, + {file = "pillow-12.1.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2c1fc0f2ca5f96a3c8407e41cca26a16e46b21060fe6d5b099d2cb01412222f5"}, + {file = "pillow-12.1.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:578510d88c6229d735855e1f278aa305270438d36a05031dfaae5067cc8eb04d"}, + {file = "pillow-12.1.1-cp311-cp311-win32.whl", hash = "sha256:7311c0a0dcadb89b36b7025dfd8326ecfa36964e29913074d47382706e516a7c"}, + {file = "pillow-12.1.1-cp311-cp311-win_amd64.whl", hash = "sha256:fbfa2a7c10cc2623f412753cddf391c7f971c52ca40a3f65dc5039b2939e8563"}, + {file = "pillow-12.1.1-cp311-cp311-win_arm64.whl", hash = "sha256:b81b5e3511211631b3f672a595e3221252c90af017e399056d0faabb9538aa80"}, + {file = "pillow-12.1.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ab323b787d6e18b3d91a72fc99b1a2c28651e4358749842b8f8dfacd28ef2052"}, + {file = "pillow-12.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:adebb5bee0f0af4909c30db0d890c773d1a92ffe83da908e2e9e720f8edf3984"}, + {file = "pillow-12.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:bb66b7cc26f50977108790e2456b7921e773f23db5630261102233eb355a3b79"}, + {file = "pillow-12.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aee2810642b2898bb187ced9b349e95d2a7272930796e022efaf12e99dccd293"}, + {file = "pillow-12.1.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a0b1cd6232e2b618adcc54d9882e4e662a089d5768cd188f7c245b4c8c44a397"}, + {file = "pillow-12.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7aac39bcf8d4770d089588a2e1dd111cbaa42df5a94be3114222057d68336bd0"}, + {file = "pillow-12.1.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ab174cd7d29a62dd139c44bf74b698039328f45cb03b4596c43473a46656b2f3"}, + {file = "pillow-12.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:339ffdcb7cbeaa08221cd401d517d4b1fe7a9ed5d400e4a8039719238620ca35"}, + {file = "pillow-12.1.1-cp312-cp312-win32.whl", hash = "sha256:5d1f9575a12bed9e9eedd9a4972834b08c97a352bd17955ccdebfeca5913fa0a"}, + {file = "pillow-12.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:21329ec8c96c6e979cd0dfd29406c40c1d52521a90544463057d2aaa937d66a6"}, + {file = "pillow-12.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:af9a332e572978f0218686636610555ae3defd1633597be015ed50289a03c523"}, + {file = "pillow-12.1.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d242e8ac078781f1de88bf823d70c1a9b3c7950a44cdf4b7c012e22ccbcd8e4e"}, + {file = "pillow-12.1.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:02f84dfad02693676692746df05b89cf25597560db2857363a208e393429f5e9"}, + {file = "pillow-12.1.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:e65498daf4b583091ccbb2556c7000abf0f3349fcd57ef7adc9a84a394ed29f6"}, + {file = "pillow-12.1.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6c6db3b84c87d48d0088943bf33440e0c42370b99b1c2a7989216f7b42eede60"}, + {file = "pillow-12.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8b7e5304e34942bf62e15184219a7b5ad4ff7f3bb5cca4d984f37df1a0e1aee2"}, + {file = "pillow-12.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:18e5bddd742a44b7e6b1e773ab5db102bd7a94c32555ba656e76d319d19c3850"}, + {file = "pillow-12.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc44ef1f3de4f45b50ccf9136999d71abb99dca7706bc75d222ed350b9fd2289"}, + {file = "pillow-12.1.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5a8eb7ed8d4198bccbd07058416eeec51686b498e784eda166395a23eb99138e"}, + {file = "pillow-12.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:47b94983da0c642de92ced1702c5b6c292a84bd3a8e1d1702ff923f183594717"}, + {file = "pillow-12.1.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:518a48c2aab7ce596d3bf79d0e275661b846e86e4d0e7dec34712c30fe07f02a"}, + {file = "pillow-12.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a550ae29b95c6dc13cf69e2c9dc5747f814c54eeb2e32d683e5e93af56caa029"}, + {file = "pillow-12.1.1-cp313-cp313-win32.whl", hash = "sha256:a003d7422449f6d1e3a34e3dd4110c22148336918ddbfc6a32581cd54b2e0b2b"}, + {file = "pillow-12.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:344cf1e3dab3be4b1fa08e449323d98a2a3f819ad20f4b22e77a0ede31f0faa1"}, + {file = "pillow-12.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:5c0dd1636633e7e6a0afe7bf6a51a14992b7f8e60de5789018ebbdfae55b040a"}, + {file = "pillow-12.1.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0330d233c1a0ead844fc097a7d16c0abff4c12e856c0b325f231820fee1f39da"}, + {file = "pillow-12.1.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5dae5f21afb91322f2ff791895ddd8889e5e947ff59f71b46041c8ce6db790bc"}, + {file = "pillow-12.1.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2e0c664be47252947d870ac0d327fea7e63985a08794758aa8af5b6cb6ec0c9c"}, + {file = "pillow-12.1.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:691ab2ac363b8217f7d31b3497108fb1f50faab2f75dfb03284ec2f217e87bf8"}, + {file = "pillow-12.1.1-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e9e8064fb1cc019296958595f6db671fba95209e3ceb0c4734c9baf97de04b20"}, + {file = "pillow-12.1.1-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:472a8d7ded663e6162dafdf20015c486a7009483ca671cece7a9279b512fcb13"}, + {file = "pillow-12.1.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:89b54027a766529136a06cfebeecb3a04900397a3590fd252160b888479517bf"}, + {file = "pillow-12.1.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:86172b0831b82ce4f7877f280055892b31179e1576aa00d0df3bb1bbf8c3e524"}, + {file = "pillow-12.1.1-cp313-cp313t-win32.whl", hash = "sha256:44ce27545b6efcf0fdbdceb31c9a5bdea9333e664cda58a7e674bb74608b3986"}, + {file = "pillow-12.1.1-cp313-cp313t-win_amd64.whl", hash = "sha256:a285e3eb7a5a45a2ff504e31f4a8d1b12ef62e84e5411c6804a42197c1cf586c"}, + {file = "pillow-12.1.1-cp313-cp313t-win_arm64.whl", hash = "sha256:cc7d296b5ea4d29e6570dabeaed58d31c3fea35a633a69679fb03d7664f43fb3"}, + {file = "pillow-12.1.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:417423db963cb4be8bac3fc1204fe61610f6abeed1580a7a2cbb2fbda20f12af"}, + {file = "pillow-12.1.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:b957b71c6b2387610f556a7eb0828afbe40b4a98036fc0d2acfa5a44a0c2036f"}, + {file = "pillow-12.1.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:097690ba1f2efdeb165a20469d59d8bb03c55fb6621eb2041a060ae8ea3e9642"}, + {file = "pillow-12.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2815a87ab27848db0321fb78c7f0b2c8649dee134b7f2b80c6a45c6831d75ccd"}, + {file = "pillow-12.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:f7ed2c6543bad5a7d5530eb9e78c53132f93dfa44a28492db88b41cdab885202"}, + {file = "pillow-12.1.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:652a2c9ccfb556235b2b501a3a7cf3742148cd22e04b5625c5fe057ea3e3191f"}, + {file = "pillow-12.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d6e4571eedf43af33d0fc233a382a76e849badbccdf1ac438841308652a08e1f"}, + {file = "pillow-12.1.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b574c51cf7d5d62e9be37ba446224b59a2da26dc4c1bb2ecbe936a4fb1a7cb7f"}, + {file = "pillow-12.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a37691702ed687799de29a518d63d4682d9016932db66d4e90c345831b02fb4e"}, + {file = "pillow-12.1.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:f95c00d5d6700b2b890479664a06e754974848afaae5e21beb4d83c106923fd0"}, + {file = "pillow-12.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:559b38da23606e68681337ad74622c4dbba02254fc9cb4488a305dd5975c7eeb"}, + {file = "pillow-12.1.1-cp314-cp314-win32.whl", hash = "sha256:03edcc34d688572014ff223c125a3f77fb08091e4607e7745002fc214070b35f"}, + {file = "pillow-12.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:50480dcd74fa63b8e78235957d302d98d98d82ccbfac4c7e12108ba9ecbdba15"}, + {file = "pillow-12.1.1-cp314-cp314-win_arm64.whl", hash = "sha256:5cb1785d97b0c3d1d1a16bc1d710c4a0049daefc4935f3a8f31f827f4d3d2e7f"}, + {file = "pillow-12.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:1f90cff8aa76835cba5769f0b3121a22bd4eb9e6884cfe338216e557a9a548b8"}, + {file = "pillow-12.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1f1be78ce9466a7ee64bfda57bdba0f7cc499d9794d518b854816c41bf0aa4e9"}, + {file = "pillow-12.1.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:42fc1f4677106188ad9a55562bbade416f8b55456f522430fadab3cef7cd4e60"}, + {file = "pillow-12.1.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:98edb152429ab62a1818039744d8fbb3ccab98a7c29fc3d5fcef158f3f1f68b7"}, + {file = "pillow-12.1.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d470ab1178551dd17fdba0fef463359c41aaa613cdcd7ff8373f54be629f9f8f"}, + {file = "pillow-12.1.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6408a7b064595afcab0a49393a413732a35788f2a5092fdc6266952ed67de586"}, + {file = "pillow-12.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5d8c41325b382c07799a3682c1c258469ea2ff97103c53717b7893862d0c98ce"}, + {file = "pillow-12.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c7697918b5be27424e9ce568193efd13d925c4481dd364e43f5dff72d33e10f8"}, + {file = "pillow-12.1.1-cp314-cp314t-win32.whl", hash = "sha256:d2912fd8114fc5545aa3a4b5576512f64c55a03f3ebcca4c10194d593d43ea36"}, + {file = "pillow-12.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:4ceb838d4bd9dab43e06c363cab2eebf63846d6a4aeaea283bbdfd8f1a8ed58b"}, + {file = "pillow-12.1.1-cp314-cp314t-win_arm64.whl", hash = "sha256:7b03048319bfc6170e93bd60728a1af51d3dd7704935feb228c4d4faab35d334"}, + {file = "pillow-12.1.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:600fd103672b925fe62ed08e0d874ea34d692474df6f4bf7ebe148b30f89f39f"}, + {file = "pillow-12.1.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:665e1b916b043cef294bc54d47bf02d87e13f769bc4bc5fa225a24b3a6c5aca9"}, + {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:495c302af3aad1ca67420ddd5c7bd480c8867ad173528767d906428057a11f0e"}, + {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8fd420ef0c52c88b5a035a0886f367748c72147b2b8f384c9d12656678dfdfa9"}, + {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f975aa7ef9684ce7e2c18a3aa8f8e2106ce1e46b94ab713d156b2898811651d3"}, + {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8089c852a56c2966cf18835db62d9b34fef7ba74c726ad943928d494fa7f4735"}, + {file = "pillow-12.1.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:cb9bb857b2d057c6dfc72ac5f3b44836924ba15721882ef103cecb40d002d80e"}, + {file = "pillow-12.1.1.tar.gz", hash = "sha256:9ad8fa5937ab05218e2b6a4cff30295ad35afd2f83ac592e68c0d871bb0fdbc4"}, ] [package.extras] docs = ["furo", "olefile", "sphinx (>=8.2)", "sphinx-autobuild", "sphinx-copybutton", "sphinx-inline-tabs", "sphinxext-opengraph"] fpx = ["olefile"] mic = ["olefile"] -test-arrow = ["pyarrow"] -tests = ["check-manifest", "coverage (>=7.4.2)", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout", "pytest-xdist", "trove-classifiers (>=2024.10.12)"] -typing = ["typing-extensions ; python_version < \"3.10\""] +test-arrow = ["arro3-compute", "arro3-core", "nanoarrow", "pyarrow"] +tests = ["check-manifest", "coverage (>=7.4.2)", "defusedxml", "markdown2", "olefile", "packaging", "pyroma (>=5)", "pytest", "pytest-cov", "pytest-timeout", "pytest-xdist", "trove-classifiers (>=2024.10.12)"] xmp = ["defusedxml"] [[package]] @@ -861,7 +794,6 @@ version = "1.5.0" description = "plugin and hook calling mechanisms for python" optional = false python-versions = ">=3.8" -groups = ["dev"] files = [ {file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"}, {file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"}, @@ -877,7 +809,6 @@ version = "6.33.5" description = "" optional = false python-versions = ">=3.9" -groups = ["main"] files = [ {file = "protobuf-6.33.5-cp310-abi3-win32.whl", hash = "sha256:d71b040839446bac0f4d162e758bea99c8251161dae9d0983a3b88dee345153b"}, {file = "protobuf-6.33.5-cp310-abi3-win_amd64.whl", hash = "sha256:3093804752167bcab3998bec9f1048baae6e29505adaf1afd14a37bddede533c"}, @@ -897,7 +828,6 @@ version = "2.19.2" description = "Pygments is a syntax highlighting package written in Python." optional = false python-versions = ">=3.8" -groups = ["main", "dev"] files = [ {file = "pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b"}, {file = "pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887"}, @@ -912,7 +842,6 @@ version = "3.2.3" description = "pyparsing module - Classes and methods to define and execute parsing grammars" optional = false python-versions = ">=3.9" -groups = ["dev"] files = [ {file = "pyparsing-3.2.3-py3-none-any.whl", hash = "sha256:a749938e02d6fd0b59b356ca504a24982314bb090c383e3cf201c95ef7e2bfcf"}, {file = "pyparsing-3.2.3.tar.gz", hash = "sha256:b9c13f1ab8b3b542f72e28f634bad4de758ab3ce4546e4301970ad6fa77c38be"}, @@ -927,7 +856,6 @@ version = "8.4.2" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.9" -groups = ["dev"] files = [ {file = "pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79"}, {file = "pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"}, @@ -951,7 +879,6 @@ version = "0.24.0" description = "Pytest support for asyncio" optional = false python-versions = ">=3.8" -groups = ["dev"] files = [ {file = "pytest_asyncio-0.24.0-py3-none-any.whl", hash = "sha256:a811296ed596b69bf0b6f3dc40f83bcaf341b155a269052d82efa2b25ac7037b"}, {file = "pytest_asyncio-0.24.0.tar.gz", hash = "sha256:d081d828e576d85f875399194281e92bf8a68d60d72d1a2faf2feddb6c46b276"}, @@ -970,7 +897,6 @@ version = "0.5.2" description = "A py.test plugin that parses environment files before running tests" optional = false python-versions = "*" -groups = ["dev"] files = [ {file = "pytest-dotenv-0.5.2.tar.gz", hash = "sha256:2dc6c3ac6d8764c71c6d2804e902d0ff810fa19692e95fe138aefc9b1aa73732"}, {file = "pytest_dotenv-0.5.2-py3-none-any.whl", hash = "sha256:40a2cece120a213898afaa5407673f6bd924b1fa7eafce6bda0e8abffe2f710f"}, @@ -986,7 +912,6 @@ version = "3.6.1" description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" optional = false python-versions = ">=3.8" -groups = ["dev"] files = [ {file = "pytest_xdist-3.6.1-py3-none-any.whl", hash = "sha256:9ed4adfb68a016610848639bb7e02c9352d5d9f03d04809919e2dafc3be4cca7"}, {file = "pytest_xdist-3.6.1.tar.gz", hash = "sha256:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d"}, @@ -1007,7 +932,6 @@ version = "2.9.0.post0" description = "Extensions to the standard Python datetime module" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" -groups = ["main", "dev"] files = [ {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, @@ -1022,7 +946,6 @@ version = "1.0.1" description = "Read key-value pairs from a .env file and set them as environment variables" optional = false python-versions = ">=3.8" -groups = ["dev"] files = [ {file = "python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca"}, {file = "python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a"}, @@ -1037,7 +960,6 @@ version = "14.2.0" description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" optional = false python-versions = ">=3.8.0" -groups = ["main"] files = [ {file = "rich-14.2.0-py3-none-any.whl", hash = "sha256:76bc51fe2e57d2b1be1f96c524b890b816e334ab4c1e45888799bfaab0021edd"}, {file = "rich-14.2.0.tar.gz", hash = "sha256:73ff50c7c0c1c77c8243079283f4edb376f0f6442433aecb8ce7e6d0b92d1fe4"}, @@ -1056,7 +978,6 @@ version = "0.11.13" description = "An extremely fast Python linter and code formatter, written in Rust." optional = false python-versions = ">=3.7" -groups = ["dev"] files = [ {file = "ruff-0.11.13-py3-none-linux_armv6l.whl", hash = "sha256:4bdfbf1240533f40042ec00c9e09a3aade6f8c10b6414cf11b519488d2635d46"}, {file = "ruff-0.11.13-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:aef9c9ed1b5ca28bb15c7eac83b8670cf3b20b478195bd49c8d756ba0a36cf48"}, @@ -1084,7 +1005,6 @@ version = "1.16.0" description = "Python 2 and 3 compatibility utilities" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" -groups = ["main", "dev"] files = [ {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, @@ -1096,7 +1016,6 @@ version = "1.3.1" description = "Sniff out which async library your code is running under" optional = false python-versions = ">=3.7" -groups = ["main"] files = [ {file = "sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2"}, {file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"}, @@ -1108,7 +1027,6 @@ version = "2.0.1" description = "A lil' TOML parser" optional = false python-versions = ">=3.7" -groups = ["dev"] files = [ {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, @@ -1120,7 +1038,6 @@ version = "4.12.2" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" -groups = ["main", "dev"] files = [ {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, @@ -1132,7 +1049,6 @@ version = "10.1" description = "Wildcard/glob file name matcher." optional = false python-versions = ">=3.9" -groups = ["main"] files = [ {file = "wcmatch-10.1-py3-none-any.whl", hash = "sha256:5848ace7dbb0476e5e55ab63c6bbd529745089343427caa5537f230cc01beb8a"}, {file = "wcmatch-10.1.tar.gz", hash = "sha256:f11f94208c8c8484a16f4f48638a85d771d9513f4ab3f37595978801cb9465af"}, @@ -1141,28 +1057,7 @@ files = [ [package.dependencies] bracex = ">=2.1.1" -[[package]] -name = "zipp" -version = "3.23.0" -description = "Backport of pathlib-compatible object wrapper for zip files" -optional = false -python-versions = ">=3.9" -groups = ["dev"] -markers = "python_version == \"3.9\"" -files = [ - {file = "zipp-3.23.0-py3-none-any.whl", hash = "sha256:071652d6115ed432f5ce1d34c336c0adfd6a884660d1e9712a256d3d3bd4b14e"}, - {file = "zipp-3.23.0.tar.gz", hash = "sha256:a07157588a12518c9d4034df3fbbee09c814741a33ff63c05fa29d26a2404166"}, -] - -[package.extras] -check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1) ; sys_platform != \"cygwin\""] -cover = ["pytest-cov"] -doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -enabler = ["pytest-enabler (>=2.2)"] -test = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more_itertools", "pytest (>=6,!=8.1.*)", "pytest-ignore-flaky"] -type = ["pytest-mypy"] - [metadata] -lock-version = "2.1" -python-versions = "^3.9" -content-hash = "326cd369ac576edc7c00c0d6c143ddbf23be0b91d406ac1ae3f198330a1fc5ac" +lock-version = "2.0" +python-versions = "^3.10" +content-hash = "ad2d93b63a361a6a6e9f2163c8035f516eb7f7714e459438bb2f3ddc1edfc129" diff --git a/python/pyproject.toml b/python/pyproject.toml index fb02b0b0..6ab9d889 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -10,7 +10,7 @@ repository = "https://github.com/e2b-dev/code-interpreter/tree/main/python" packages = [{ include = "e2b_code_interpreter" }] [tool.poetry.dependencies] -python = "^3.9" +python = "^3.10" httpx = ">=0.20.0, <1.0.0" attrs = ">=21.3.0" From eec145933ec525c23ecd22ab3efc3957314ce344 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Mar 2026 13:49:05 +0000 Subject: [PATCH 18/83] [skip ci] Release new versions --- .changeset/real-jeans-carry.md | 5 ----- python/package.json | 2 +- python/pyproject.toml | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 .changeset/real-jeans-carry.md diff --git a/.changeset/real-jeans-carry.md b/.changeset/real-jeans-carry.md deleted file mode 100644 index e660bcea..00000000 --- a/.changeset/real-jeans-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2b/code-interpreter-python': minor ---- - -Set minimum Python version to 3.10 diff --git a/python/package.json b/python/package.json index 8a486671..10e057ca 100644 --- a/python/package.json +++ b/python/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-python", "private": true, - "version": "2.4.1", + "version": "2.5.0", "packageManager": "pnpm@9.15.9", "scripts": { "test": "poetry run pytest -n 4 --verbose -x", diff --git a/python/pyproject.toml b/python/pyproject.toml index 6ab9d889..61c1e5eb 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "e2b-code-interpreter" -version = "2.4.1" +version = "2.5.0" description = "E2B Code Interpreter - Stateful code execution" authors = ["e2b "] license = "MIT" From 5cb8bd5209646b6f82212c6021abfeae3d87b777 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 17 Mar 2026 08:38:08 -0700 Subject: [PATCH 19/83] Update dependency e2b to v2.15.2 (#225) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- python/poetry.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/poetry.lock b/python/poetry.lock index c05d12c0..facb5841 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -186,13 +186,13 @@ files = [ [[package]] name = "e2b" -version = "2.10.2" +version = "2.15.2" description = "E2B SDK that give agents cloud environments" optional = false -python-versions = "<4.0,>=3.9" +python-versions = "<4.0,>=3.10" files = [ - {file = "e2b-2.10.2-py3-none-any.whl", hash = "sha256:c719291fc9b3006b286809f6e820b803a1aab9a6f5ae4fe0140ead17efbce821"}, - {file = "e2b-2.10.2.tar.gz", hash = "sha256:b77ecd620fd057b81a9610da18141811c003cc6f446c39c7ec7b9e9dc147d864"}, + {file = "e2b-2.15.2-py3-none-any.whl", hash = "sha256:19a56fbdea25974dc81426ed48337eae6cea91d404f5bcf8861a5a2c6e4d982a"}, + {file = "e2b-2.15.2.tar.gz", hash = "sha256:414379d2421d6827eeb2eb50a4d6b3fdb7d691b39ff73b5ea05ca4b532819831"}, ] [package.dependencies] From c23cdacbaab3d7154a6ff37b548e613dbf3346a1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 02:02:57 -0700 Subject: [PATCH 20/83] Update dependency httpx to v0.28.1 (#226) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- python/poetry.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/poetry.lock b/python/poetry.lock index facb5841..58a1fcab 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -349,13 +349,13 @@ trio = ["trio (>=0.22.0,<1.0)"] [[package]] name = "httpx" -version = "0.27.0" +version = "0.28.1" description = "The next generation HTTP client." optional = false python-versions = ">=3.8" files = [ - {file = "httpx-0.27.0-py3-none-any.whl", hash = "sha256:71d5465162c13681bff01ad59b2cc68dd838ea1f10e51574bac27103f00c91a5"}, - {file = "httpx-0.27.0.tar.gz", hash = "sha256:a0cb88a46f32dc874e04ee956e4c2764aba2aa228f650b06788ba6bda2962ab5"}, + {file = "httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad"}, + {file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"}, ] [package.dependencies] @@ -363,13 +363,13 @@ anyio = "*" certifi = "*" httpcore = "==1.*" idna = "*" -sniffio = "*" [package.extras] brotli = ["brotli", "brotlicffi"] cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<14)"] http2 = ["h2 (>=3,<5)"] socks = ["socksio (==1.*)"] +zstd = ["zstandard (>=0.18.0)"] [[package]] name = "idna" From 42985a3283b69acb88af188d2d1a2a6081a4563a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 02:19:02 -0700 Subject: [PATCH 21/83] Update dependency bokeh to v3.9.0 (#221) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jakub Novák --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 86c715f2..7f9fa70e 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -14,7 +14,7 @@ e2b_charts # Other packages aiohttp==3.13.3 beautifulsoup4==4.14.3 -bokeh==3.8.2 +bokeh==3.9.0 gensim==4.4.0 imageio==2.37.3 joblib==1.5.3 From f93189b5be51213bd2b831524cc19a7996c5aca0 Mon Sep 17 00:00:00 2001 From: Jakub Dobry Date: Mon, 23 Mar 2026 12:13:39 +0100 Subject: [PATCH 22/83] Add target env selection to prod build workflow (#228) Co-authored-by: Matt Brockman --- .github/workflows/build_prod_template.yml | 68 +++++++++++++++++++++-- .github/workflows/release.yml | 2 +- 2 files changed, 65 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_prod_template.yml b/.github/workflows/build_prod_template.yml index ac2cfb33..da3424b0 100644 --- a/.github/workflows/build_prod_template.yml +++ b/.github/workflows/build_prod_template.yml @@ -3,6 +3,15 @@ name: Build Prod Template on: workflow_dispatch: inputs: + target_environment: + description: Target environment + required: true + type: choice + default: foxtrot + options: + - foxtrot + - staging + - juliett skip_cache: description: Skip build cache required: false @@ -10,7 +19,7 @@ on: default: false concurrency: - group: Release-${{ github.ref }} + group: Release-${{ github.ref }}-${{ inputs.target_environment }} cancel-in-progress: false permissions: @@ -33,18 +42,69 @@ jobs: - uses: actions/setup-python@v6 with: - python-version: '${{ env.TOOL_VERSION_PYTHON }}' + python-version: '${{ env.TOOL_VERSION_PYTHON }}' - name: Install development dependencies working-directory: ./template run: pip install -r requirements-dev.txt + - name: Resolve target environment + env: + TARGET_ENVIRONMENT: ${{ inputs.target_environment }} + FOXTROT_DOMAIN: ${{ vars.E2B_DOMAIN }} + FOXTROT_API_KEY: ${{ secrets.E2B_PROD_API_KEY }} + STAGING_API_KEY: ${{ secrets.E2B_STAGING_API_KEY }} + JULIETT_API_KEY: ${{ secrets.E2B_JULIETT_API_KEY }} + run: | + set -eu + + case "$TARGET_ENVIRONMENT" in + foxtrot) + E2B_DOMAIN="$FOXTROT_DOMAIN" + E2B_API_KEY="$FOXTROT_API_KEY" + ;; + staging) + E2B_DOMAIN="e2b-staging.dev" + E2B_API_KEY="$STAGING_API_KEY" + ;; + juliett) + E2B_DOMAIN="e2b-juliett.dev" + E2B_API_KEY="$JULIETT_API_KEY" + ;; + *) + echo "Unknown target environment: $TARGET_ENVIRONMENT" >&2 + exit 1 + ;; + esac + + if [ -z "$E2B_DOMAIN" ]; then + echo "Missing E2B domain for target environment: $TARGET_ENVIRONMENT" >&2 + exit 1 + fi + + if [ -z "$E2B_API_KEY" ]; then + echo "Missing API key secret for target environment: $TARGET_ENVIRONMENT" >&2 + exit 1 + fi + + echo "::add-mask::$E2B_API_KEY" + + { + echo "E2B_DOMAIN=$E2B_DOMAIN" + echo "E2B_API_KEY=$E2B_API_KEY" + } >> "$GITHUB_ENV" + + { + echo "### Build target" + echo + echo "Target: $TARGET_ENVIRONMENT" + echo "Domain: $E2B_DOMAIN" + } >> "$GITHUB_STEP_SUMMARY" + - name: Build E2B template id: build-template working-directory: ./template run: | python build_prod.py env: - E2B_API_KEY: ${{ secrets.E2B_PROD_API_KEY }} - E2B_DOMAIN: ${{ vars.E2B_DOMAIN }} SKIP_CACHE: ${{ inputs.skip_cache }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c66f04d..4991041f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: branches: - main -concurrency: ${{ github.workflow }}-${{ github.ref }} +concurrency: Release-${{ github.ref }}-foxtrot permissions: id-token: write From a7c89226bdcad2e495f7bd3f04de0912738d32d8 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Mon, 23 Mar 2026 14:08:51 +0100 Subject: [PATCH 23/83] Added systemd oom handling and tests (#227) * added systemd oom handling and tests * format * reduce restart loop to 1s * explicitly stdout/stderr * sudo * move health check to avoid deadlocking process * added changeset * updated as per comments * removed burst in jupyter.service too * updated env vars --- .changeset/empty-knives-make.md | 5 ++ js/tests/systemd.test.ts | 67 +++++++++++++++++++++++ python/tests/async/test_async_systemd.py | 59 ++++++++++++++++++++ python/tests/sync/test_systemd.py | 55 +++++++++++++++++++ template/jupyter-healthcheck.sh | 23 ++++++++ template/start-up.sh | 20 +++---- template/systemd/code-interpreter.service | 17 ++++++ template/systemd/jupyter.service | 15 +++++ template/template.py | 30 ++++++++-- 9 files changed, 272 insertions(+), 19 deletions(-) create mode 100644 .changeset/empty-knives-make.md create mode 100644 js/tests/systemd.test.ts create mode 100644 python/tests/async/test_async_systemd.py create mode 100644 python/tests/sync/test_systemd.py create mode 100644 template/jupyter-healthcheck.sh create mode 100644 template/systemd/code-interpreter.service create mode 100644 template/systemd/jupyter.service diff --git a/.changeset/empty-knives-make.md b/.changeset/empty-knives-make.md new file mode 100644 index 00000000..68f99e66 --- /dev/null +++ b/.changeset/empty-knives-make.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter-template': patch +--- + +added systemd to handle process restarts diff --git a/js/tests/systemd.test.ts b/js/tests/systemd.test.ts new file mode 100644 index 00000000..76e75563 --- /dev/null +++ b/js/tests/systemd.test.ts @@ -0,0 +1,67 @@ +import { expect } from 'vitest' +import { sandboxTest, wait } from './setup' + +async function waitForHealth(sandbox: any, maxRetries = 10, intervalMs = 100) { + for (let i = 0; i < maxRetries; i++) { + try { + const result = await sandbox.commands.run( + 'curl -s -o /dev/null -w "%{http_code}" http://0.0.0.0:49999/health' + ) + if (result.stdout.trim() === '200') { + return true + } + } catch { + // Connection refused or other error, retry + } + await wait(intervalMs) + } + return false +} + +sandboxTest('restart after jupyter kill', async ({ sandbox }) => { + // Verify health is up initially + const initialHealth = await waitForHealth(sandbox) + expect(initialHealth).toBe(true) + + // Kill the jupyter process as root + // The command handle may get killed too (since killing jupyter cascades to code-interpreter), + // so we catch the error. + try { + await sandbox.commands.run("kill -9 $(pgrep -f 'jupyter server')", { + user: 'root', + }) + } catch { + // Expected — the kill cascade may terminate the command handle + } + + // Wait for systemd to restart both services + const recovered = await waitForHealth(sandbox, 60, 500) + expect(recovered).toBe(true) + + // Verify code execution works after recovery + const result = await sandbox.runCode('x = 1; x') + expect(result.text).toEqual('1') +}) + +sandboxTest('restart after code-interpreter kill', async ({ sandbox }) => { + // Verify health is up initially + const initialHealth = await waitForHealth(sandbox) + expect(initialHealth).toBe(true) + + // Kill the code-interpreter process as root + try { + await sandbox.commands.run("kill -9 $(pgrep -f 'uvicorn main:app')", { + user: 'root', + }) + } catch { + // Expected — killing code-interpreter may terminate the command handle + } + + // Wait for systemd to restart it and health to come back + const recovered = await waitForHealth(sandbox, 60, 500) + expect(recovered).toBe(true) + + // Verify code execution works after recovery + const result = await sandbox.runCode('x = 1; x') + expect(result.text).toEqual('1') +}) diff --git a/python/tests/async/test_async_systemd.py b/python/tests/async/test_async_systemd.py new file mode 100644 index 00000000..8a9f89ae --- /dev/null +++ b/python/tests/async/test_async_systemd.py @@ -0,0 +1,59 @@ +import asyncio + +from e2b_code_interpreter.code_interpreter_async import AsyncSandbox + + +async def wait_for_health(sandbox: AsyncSandbox, max_retries=10, interval_ms=100): + for _ in range(max_retries): + try: + result = await sandbox.commands.run( + 'curl -s -o /dev/null -w "%{http_code}" http://0.0.0.0:49999/health' + ) + if result.stdout.strip() == "200": + return True + except Exception: + pass + await asyncio.sleep(interval_ms / 1000) + return False + + +async def test_restart_after_jupyter_kill(async_sandbox: AsyncSandbox): + # Verify health is up initially + assert await wait_for_health(async_sandbox) + + # Kill the jupyter process as root + # The command handle may get killed too (killing jupyter cascades to code-interpreter), + # so we catch the error. + try: + await async_sandbox.commands.run( + "kill -9 $(pgrep -f 'jupyter server')", user="root" + ) + except Exception: + pass + + # Wait for systemd to restart both services + assert await wait_for_health(async_sandbox, 60, 500) + + # Verify code execution works after recovery + result = await async_sandbox.run_code("x = 1; x") + assert result.text == "1" + + +async def test_restart_after_code_interpreter_kill(async_sandbox: AsyncSandbox): + # Verify health is up initially + assert await wait_for_health(async_sandbox) + + # Kill the code-interpreter process as root + try: + await async_sandbox.commands.run( + "kill -9 $(pgrep -f 'uvicorn main:app')", user="root" + ) + except Exception: + pass + + # Wait for systemd to restart it and health to come back + assert await wait_for_health(async_sandbox, 60, 500) + + # Verify code execution works after recovery + result = await async_sandbox.run_code("x = 1; x") + assert result.text == "1" diff --git a/python/tests/sync/test_systemd.py b/python/tests/sync/test_systemd.py new file mode 100644 index 00000000..e6ccc256 --- /dev/null +++ b/python/tests/sync/test_systemd.py @@ -0,0 +1,55 @@ +import time + +from e2b_code_interpreter.code_interpreter_sync import Sandbox + + +def wait_for_health(sandbox: Sandbox, max_retries=10, interval_ms=100): + for _ in range(max_retries): + try: + result = sandbox.commands.run( + 'curl -s -o /dev/null -w "%{http_code}" http://0.0.0.0:49999/health' + ) + if result.stdout.strip() == "200": + return True + except Exception: + pass + time.sleep(interval_ms / 1000) + return False + + +def test_restart_after_jupyter_kill(sandbox: Sandbox): + # Verify health is up initially + assert wait_for_health(sandbox) + + # Kill the jupyter process as root + # The command handle may get killed too (killing jupyter cascades to code-interpreter), + # so we catch the error. + try: + sandbox.commands.run("kill -9 $(pgrep -f 'jupyter server')", user="root") + except Exception: + pass + + # Wait for systemd to restart both services + assert wait_for_health(sandbox, 60, 500) + + # Verify code execution works after recovery + result = sandbox.run_code("x = 1; x") + assert result.text == "1" + + +def test_restart_after_code_interpreter_kill(sandbox: Sandbox): + # Verify health is up initially + assert wait_for_health(sandbox) + + # Kill the code-interpreter process as root + try: + sandbox.commands.run("kill -9 $(pgrep -f 'uvicorn main:app')", user="root") + except Exception: + pass + + # Wait for systemd to restart it and health to come back + assert wait_for_health(sandbox, 60, 500) + + # Verify code execution works after recovery + result = sandbox.run_code("x = 1; x") + assert result.text == "1" diff --git a/template/jupyter-healthcheck.sh b/template/jupyter-healthcheck.sh new file mode 100644 index 00000000..a4c00131 --- /dev/null +++ b/template/jupyter-healthcheck.sh @@ -0,0 +1,23 @@ +#!/bin/bash +# Custom health check for Jupyter Server +# Verifies the server is responsive via the /api/status endpoint + +MAX_RETRIES=50 +RETRY_INTERVAL=0.2 + +for i in $(seq 1 $MAX_RETRIES); do + status_code=$(curl -s -o /dev/null -w "%{http_code}" "http://localhost:8888/api/status") + + if [ "$status_code" -eq 200 ]; then + echo "Jupyter Server is healthy" + exit 0 + fi + + if [ $((i % 10)) -eq 0 ]; then + echo "Waiting for Jupyter Server to become healthy... (attempt $i/$MAX_RETRIES)" + fi + sleep $RETRY_INTERVAL +done + +echo "Jupyter Server health check failed after $MAX_RETRIES attempts" +exit 1 diff --git a/template/start-up.sh b/template/start-up.sh index d30cfc9e..5786b039 100755 --- a/template/start-up.sh +++ b/template/start-up.sh @@ -1,22 +1,16 @@ #!/bin/bash -function start_jupyter_server() { - counter=0 - response=$(curl -s -o /dev/null -w "%{http_code}" "http://localhost:8888/api/status") - while [[ ${response} -ne 200 ]]; do - let counter++ - if ((counter % 20 == 0)); then - echo "Waiting for Jupyter Server to start..." - sleep 0.1 - fi - - response=$(curl -s -o /dev/null -w "%{http_code}" "http://localhost:8888/api/status") - done +function start_code_interpreter() { + /root/.jupyter/jupyter-healthcheck.sh + if [ $? -ne 0 ]; then + echo "Jupyter Server failed to start, aborting." + exit 1 + fi cd /root/.server/ .venv/bin/uvicorn main:app --host 0.0.0.0 --port 49999 --workers 1 --no-access-log --no-use-colors --timeout-keep-alive 640 } echo "Starting Code Interpreter server..." -start_jupyter_server & +start_code_interpreter & MATPLOTLIBRC=/root/.config/matplotlib/.matplotlibrc jupyter server --IdentityProvider.token="" >/dev/null 2>&1 diff --git a/template/systemd/code-interpreter.service b/template/systemd/code-interpreter.service new file mode 100644 index 00000000..04c165b4 --- /dev/null +++ b/template/systemd/code-interpreter.service @@ -0,0 +1,17 @@ +[Unit] +Description=Code Interpreter Server +Documentation=https://github.com/e2b-dev/code-interpreter +Requires=jupyter.service +After=jupyter.service +PartOf=jupyter.service +StartLimitBurst=0 + +[Service] +Type=simple +WorkingDirectory=/root/.server +ExecStartPre=/root/.jupyter/jupyter-healthcheck.sh +ExecStart=/root/.server/.venv/bin/uvicorn main:app --host 0.0.0.0 --port 49999 --workers 1 --no-access-log --no-use-colors --timeout-keep-alive 640 +Restart=on-failure +RestartSec=1 +StandardOutput=journal +StandardError=journal diff --git a/template/systemd/jupyter.service b/template/systemd/jupyter.service new file mode 100644 index 00000000..37b83f29 --- /dev/null +++ b/template/systemd/jupyter.service @@ -0,0 +1,15 @@ +[Unit] +Description=Jupyter Server +Documentation=https://jupyter-server.readthedocs.io +Wants=code-interpreter.service +StartLimitBurst=0 + +[Service] +Type=simple +Environment=MATPLOTLIBRC=/root/.config/matplotlib/.matplotlibrc +ExecStart=/usr/local/bin/jupyter server --IdentityProvider.token="" +ExecStartPost=-/usr/bin/systemctl reset-failed code-interpreter +Restart=on-failure +RestartSec=1 +StandardOutput=null +StandardError=journal diff --git a/template/template.py b/template/template.py index e10e89a8..63ec447a 100644 --- a/template/template.py +++ b/template/template.py @@ -17,9 +17,6 @@ def make_template( "PIP_DEFAULT_TIMEOUT": "100", "PIP_DISABLE_PIP_VERSION_CHECK": "1", "PIP_NO_CACHE_DIR": "1", - "JUPYTER_CONFIG_PATH": "/root/.jupyter", - "IPYTHON_CONFIG_PATH": "/root/.ipython", - "SERVER_PATH": "/root/.server", "JAVA_VERSION": "11", "JAVA_HOME": "/usr/lib/jvm/jdk-${JAVA_VERSION}", "IJAVA_VERSION": "1.3.0", @@ -110,14 +107,30 @@ def make_template( # Copy configuration files template = ( template.copy("matplotlibrc", ".config/matplotlib/.matplotlibrc") - .copy("start-up.sh", ".jupyter/start-up.sh") - .run_cmd("chmod +x .jupyter/start-up.sh") + .copy("jupyter-healthcheck.sh", ".jupyter/jupyter-healthcheck.sh") + .run_cmd("chmod +x .jupyter/jupyter-healthcheck.sh") .copy("jupyter_server_config.py", ".jupyter/") .make_dir(".ipython/profile_default/startup") .copy("ipython_kernel_config.py", ".ipython/profile_default/") .copy("startup_scripts", ".ipython/profile_default/startup") ) + if not is_docker: + template = ( + template.copy( + "systemd/jupyter.service", "/etc/systemd/system/jupyter.service" + ) + .copy( + "systemd/code-interpreter.service", + "/etc/systemd/system/code-interpreter.service", + ) + .run_cmd("systemctl daemon-reload") + ) + else: + template = template.copy("start-up.sh", ".jupyter/start-up.sh").run_cmd( + "chmod +x .jupyter/start-up.sh" + ) + if is_docker: # create user user and /home/user template = template.run_cmd("useradd -m user") @@ -130,6 +143,11 @@ def make_template( template = template.set_user("user").set_workdir("/home/user") + if is_docker: + start_cmd = "sudo /root/.jupyter/start-up.sh" + else: + start_cmd = "sudo systemctl start jupyter" + return template.set_start_cmd( - "sudo /root/.jupyter/start-up.sh", wait_for_url("http://localhost:49999/health") + start_cmd, wait_for_url("http://localhost:49999/health") ) From 125784a79889ba2043f324358d71a1ab2187f9b7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 23 Mar 2026 13:23:19 +0000 Subject: [PATCH 24/83] [skip ci] Release new versions --- .changeset/empty-knives-make.md | 5 ----- template/package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/empty-knives-make.md diff --git a/.changeset/empty-knives-make.md b/.changeset/empty-knives-make.md deleted file mode 100644 index 68f99e66..00000000 --- a/.changeset/empty-knives-make.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2b/code-interpreter-template': patch ---- - -added systemd to handle process restarts diff --git a/template/package.json b/template/package.json index 17497708..c2c0de45 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.3.0", + "version": "0.3.1", "scripts": { "lint": "ruff check .", "format": "ruff format ." From 3cbac659f781bfd7c21a6926a263775bfc894180 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:08:07 +0100 Subject: [PATCH 25/83] Update patch-updates (#229) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/js_tests.yml | 2 +- python/poetry.lock | 6 +++--- template/requirements-dev.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/js_tests.yml b/.github/workflows/js_tests.yml index 395c7c52..a7a328fe 100644 --- a/.github/workflows/js_tests.yml +++ b/.github/workflows/js_tests.yml @@ -62,7 +62,7 @@ jobs: - name: Install Bun uses: oven-sh/setup-bun@v2 with: - bun-version: 1.3.10 + bun-version: 1.3.11 - name: Run Bun tests run: pnpm test:bun diff --git a/python/poetry.lock b/python/poetry.lock index 58a1fcab..5f2f67f4 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -186,13 +186,13 @@ files = [ [[package]] name = "e2b" -version = "2.15.2" +version = "2.15.3" description = "E2B SDK that give agents cloud environments" optional = false python-versions = "<4.0,>=3.10" files = [ - {file = "e2b-2.15.2-py3-none-any.whl", hash = "sha256:19a56fbdea25974dc81426ed48337eae6cea91d404f5bcf8861a5a2c6e4d982a"}, - {file = "e2b-2.15.2.tar.gz", hash = "sha256:414379d2421d6827eeb2eb50a4d6b3fdb7d691b39ff73b5ea05ca4b532819831"}, + {file = "e2b-2.15.3-py3-none-any.whl", hash = "sha256:0934f69f93f42cc4ef19415af003b13eb12d4e721b06f0ffa5aac91e6cf7c6b8"}, + {file = "e2b-2.15.3.tar.gz", hash = "sha256:a15da5162db88d46dfa3593b08d9b3b31bb5fac36ba66c7e6ae3b652f56c06d8"}, ] [package.dependencies] diff --git a/template/requirements-dev.txt b/template/requirements-dev.txt index c1821021..7601a5fd 100644 --- a/template/requirements-dev.txt +++ b/template/requirements-dev.txt @@ -1,2 +1,2 @@ -e2b==2.15.2 +e2b==2.15.3 python-dotenv==1.2.2 \ No newline at end of file From d064e06884a88edb5d0579f0897a0aba0e6001f8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:59:33 +0000 Subject: [PATCH 26/83] Update dependency e2b (#231) * Update dependency e2b * chore: add changeset --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jakub Novak --- .changeset/clever-radios-send.md | 6 ++++++ pnpm-lock.yaml | 24 ++++++++++++------------ python/poetry.lock | 6 +++--- 3 files changed, 21 insertions(+), 15 deletions(-) create mode 100644 .changeset/clever-radios-send.md diff --git a/.changeset/clever-radios-send.md b/.changeset/clever-radios-send.md new file mode 100644 index 00000000..166f905f --- /dev/null +++ b/.changeset/clever-radios-send.md @@ -0,0 +1,6 @@ +--- +'@e2b/code-interpreter-python': minor +'@e2b/code-interpreter': minor +--- + +Bump e2b core package diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 205c48b3..26b279e0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,7 +49,7 @@ importers: dependencies: e2b: specifier: ^2.8.4 - version: 2.14.1 + version: 2.15.0 devDependencies: '@types/node': specifier: ^20.19.19 @@ -987,8 +987,8 @@ packages: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} - e2b@2.14.1: - resolution: {integrity: sha512-g0NPZNzwIaePTahu9ixBtqrw9IZQ8ThK8dt+DU394+jmxQJ+69c2t8A0j973/j+bHo3QdNFxIRIH6zDcC3ueaw==} + e2b@2.15.0: + resolution: {integrity: sha512-wjdrWBB/H9Lmo1vpJaCKlpcNjHKzztAL+/0q4gv8mpD96rrE4eh45kIxOMbGwb0vFXaDjjL2d93CYGAZDfKlPg==} engines: {node: '>=20'} easy-table@1.2.0: @@ -1313,8 +1313,8 @@ packages: loupe@3.2.1: resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==} - lru-cache@11.2.6: - resolution: {integrity: sha512-ESL2CrkS/2wTPfuend7Zhkzo2u0daGJ/A2VucJOgQ/C48S/zB8MMeMHSGKYpXhIjbPxfuezITkaBH1wqv00DDQ==} + lru-cache@11.2.7: + resolution: {integrity: sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA==} engines: {node: 20 || >=22} lru-cache@6.0.0: @@ -1654,8 +1654,8 @@ packages: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} - tar@7.5.11: - resolution: {integrity: sha512-ChjMH33/KetonMTAtpYdgUFr0tbz69Fp2v7zWxQfYZX4g5ZN2nOBXm1R2xyA+lMIKrLKIoKAwFj93jE/avX9cQ==} + tar@7.5.12: + resolution: {integrity: sha512-9TsuLcdhOn4XztcQqhNyq1KOwOOED/3k58JAvtULiYqbO8B/0IBAAIE1hj0Svmm58k27TmcigyDI0deMlgG3uw==} engines: {node: '>=18'} text-table@0.2.0: @@ -2660,7 +2660,7 @@ snapshots: dotenv@16.6.1: {} - e2b@2.14.1: + e2b@2.15.0: dependencies: '@bufbuild/protobuf': 2.11.0 '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.11.0) @@ -2671,7 +2671,7 @@ snapshots: glob: 11.1.0 openapi-fetch: 0.14.1 platform: 1.3.6 - tar: 7.5.11 + tar: 7.5.12 easy-table@1.2.0: dependencies: @@ -3068,7 +3068,7 @@ snapshots: loupe@3.2.1: {} - lru-cache@11.2.6: {} + lru-cache@11.2.7: {} lru-cache@6.0.0: dependencies: @@ -3195,7 +3195,7 @@ snapshots: path-scurry@2.0.2: dependencies: - lru-cache: 11.2.6 + lru-cache: 11.2.7 minipass: 7.1.3 path-type@4.0.0: {} @@ -3364,7 +3364,7 @@ snapshots: tapable@2.2.1: {} - tar@7.5.11: + tar@7.5.12: dependencies: '@isaacs/fs-minipass': 4.0.1 chownr: 3.0.0 diff --git a/python/poetry.lock b/python/poetry.lock index 5f2f67f4..acaad693 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -186,13 +186,13 @@ files = [ [[package]] name = "e2b" -version = "2.15.3" +version = "2.16.0" description = "E2B SDK that give agents cloud environments" optional = false python-versions = "<4.0,>=3.10" files = [ - {file = "e2b-2.15.3-py3-none-any.whl", hash = "sha256:0934f69f93f42cc4ef19415af003b13eb12d4e721b06f0ffa5aac91e6cf7c6b8"}, - {file = "e2b-2.15.3.tar.gz", hash = "sha256:a15da5162db88d46dfa3593b08d9b3b31bb5fac36ba66c7e6ae3b652f56c06d8"}, + {file = "e2b-2.16.0-py3-none-any.whl", hash = "sha256:e2bb38fce01e1fe076818aa731b45208f2eef4b843d90b61c48cb23985a7ef52"}, + {file = "e2b-2.16.0.tar.gz", hash = "sha256:e661fbd5524bf4435730eca081de7b74861f30366731a027c1c8503316e8890c"}, ] [package.dependencies] From e6f37d6982aa2a4e618db175a650a38647901cfe Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 23 Mar 2026 17:01:14 +0000 Subject: [PATCH 27/83] [skip ci] Release new versions --- .changeset/clever-radios-send.md | 6 ------ js/package.json | 2 +- python/package.json | 2 +- python/pyproject.toml | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 .changeset/clever-radios-send.md diff --git a/.changeset/clever-radios-send.md b/.changeset/clever-radios-send.md deleted file mode 100644 index 166f905f..00000000 --- a/.changeset/clever-radios-send.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2b/code-interpreter-python': minor -'@e2b/code-interpreter': minor ---- - -Bump e2b core package diff --git a/js/package.json b/js/package.json index 4d54a7fc..20eac2b7 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "@e2b/code-interpreter", - "version": "2.3.3", + "version": "2.4.0", "packageManager": "pnpm@9.15.9", "description": "E2B Code Interpreter - Stateful code execution", "homepage": "https://e2b.dev", diff --git a/python/package.json b/python/package.json index 10e057ca..411295ab 100644 --- a/python/package.json +++ b/python/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-python", "private": true, - "version": "2.5.0", + "version": "2.6.0", "packageManager": "pnpm@9.15.9", "scripts": { "test": "poetry run pytest -n 4 --verbose -x", diff --git a/python/pyproject.toml b/python/pyproject.toml index 61c1e5eb..27da009a 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "e2b-code-interpreter" -version = "2.5.0" +version = "2.6.0" description = "E2B Code Interpreter - Stateful code execution" authors = ["e2b "] license = "MIT" From 6d703a4a9ef84f96258fff4a5116c0b152a7e113 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 17:03:38 +0000 Subject: [PATCH 28/83] Update dependency e2b to v2.16.0 (#232) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements-dev.txt b/template/requirements-dev.txt index 7601a5fd..da8ae26f 100644 --- a/template/requirements-dev.txt +++ b/template/requirements-dev.txt @@ -1,2 +1,2 @@ -e2b==2.15.3 +e2b==2.16.0 python-dotenv==1.2.2 \ No newline at end of file From fc7b503c64403e5627d0d1483abca097d4050841 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Tue, 24 Mar 2026 20:58:49 +0100 Subject: [PATCH 29/83] fixes local Docker testing setup (#238) * preserve E2B_LOCAL var in sudo * disable reconnect and systemd tests on debug * fmt --- js/tests/reconnect.test.ts | 4 +- js/tests/systemd.test.ts | 88 ++++++++++++---------- python/tests/async/test_async_reconnect.py | 3 + python/tests/async/test_async_systemd.py | 4 + python/tests/sync/test_reconnect.py | 3 + python/tests/sync/test_systemd.py | 4 + template/template.py | 2 +- 7 files changed, 64 insertions(+), 44 deletions(-) diff --git a/js/tests/reconnect.test.ts b/js/tests/reconnect.test.ts index c80e3cf8..4699fcf1 100644 --- a/js/tests/reconnect.test.ts +++ b/js/tests/reconnect.test.ts @@ -1,9 +1,9 @@ import { expect } from 'vitest' import { Sandbox } from '../src' -import { sandboxTest } from './setup' +import { isDebug, sandboxTest } from './setup' -sandboxTest('reconnect', async ({ sandbox }) => { +sandboxTest.skipIf(isDebug)('reconnect', async ({ sandbox }) => { sandbox = await Sandbox.connect(sandbox.sandboxId) const result = await sandbox.runCode('x =1; x') diff --git a/js/tests/systemd.test.ts b/js/tests/systemd.test.ts index 76e75563..28f59398 100644 --- a/js/tests/systemd.test.ts +++ b/js/tests/systemd.test.ts @@ -1,5 +1,5 @@ import { expect } from 'vitest' -import { sandboxTest, wait } from './setup' +import { isDebug, sandboxTest, wait } from './setup' async function waitForHealth(sandbox: any, maxRetries = 10, intervalMs = 100) { for (let i = 0; i < maxRetries; i++) { @@ -18,50 +18,56 @@ async function waitForHealth(sandbox: any, maxRetries = 10, intervalMs = 100) { return false } -sandboxTest('restart after jupyter kill', async ({ sandbox }) => { - // Verify health is up initially - const initialHealth = await waitForHealth(sandbox) - expect(initialHealth).toBe(true) +sandboxTest.skipIf(isDebug)( + 'restart after jupyter kill', + async ({ sandbox }) => { + // Verify health is up initially + const initialHealth = await waitForHealth(sandbox) + expect(initialHealth).toBe(true) - // Kill the jupyter process as root - // The command handle may get killed too (since killing jupyter cascades to code-interpreter), - // so we catch the error. - try { - await sandbox.commands.run("kill -9 $(pgrep -f 'jupyter server')", { - user: 'root', - }) - } catch { - // Expected — the kill cascade may terminate the command handle - } + // Kill the jupyter process as root + // The command handle may get killed too (since killing jupyter cascades to code-interpreter), + // so we catch the error. + try { + await sandbox.commands.run("kill -9 $(pgrep -f 'jupyter server')", { + user: 'root', + }) + } catch { + // Expected — the kill cascade may terminate the command handle + } - // Wait for systemd to restart both services - const recovered = await waitForHealth(sandbox, 60, 500) - expect(recovered).toBe(true) + // Wait for systemd to restart both services + const recovered = await waitForHealth(sandbox, 60, 500) + expect(recovered).toBe(true) - // Verify code execution works after recovery - const result = await sandbox.runCode('x = 1; x') - expect(result.text).toEqual('1') -}) + // Verify code execution works after recovery + const result = await sandbox.runCode('x = 1; x') + expect(result.text).toEqual('1') + } +) -sandboxTest('restart after code-interpreter kill', async ({ sandbox }) => { - // Verify health is up initially - const initialHealth = await waitForHealth(sandbox) - expect(initialHealth).toBe(true) +sandboxTest.skipIf(isDebug)( + 'restart after code-interpreter kill', + async ({ sandbox }) => { + // Verify health is up initially + const initialHealth = await waitForHealth(sandbox) + expect(initialHealth).toBe(true) - // Kill the code-interpreter process as root - try { - await sandbox.commands.run("kill -9 $(pgrep -f 'uvicorn main:app')", { - user: 'root', - }) - } catch { - // Expected — killing code-interpreter may terminate the command handle - } + // Kill the code-interpreter process as root + try { + await sandbox.commands.run("kill -9 $(pgrep -f 'uvicorn main:app')", { + user: 'root', + }) + } catch { + // Expected — killing code-interpreter may terminate the command handle + } - // Wait for systemd to restart it and health to come back - const recovered = await waitForHealth(sandbox, 60, 500) - expect(recovered).toBe(true) + // Wait for systemd to restart it and health to come back + const recovered = await waitForHealth(sandbox, 60, 500) + expect(recovered).toBe(true) - // Verify code execution works after recovery - const result = await sandbox.runCode('x = 1; x') - expect(result.text).toEqual('1') -}) + // Verify code execution works after recovery + const result = await sandbox.runCode('x = 1; x') + expect(result.text).toEqual('1') + } +) diff --git a/python/tests/async/test_async_reconnect.py b/python/tests/async/test_async_reconnect.py index 9ed16f4a..6cd36c83 100644 --- a/python/tests/async/test_async_reconnect.py +++ b/python/tests/async/test_async_reconnect.py @@ -1,6 +1,9 @@ +import pytest + from e2b_code_interpreter.code_interpreter_async import AsyncSandbox +@pytest.mark.skip_debug async def test_reconnect(async_sandbox: AsyncSandbox): sandbox_id = async_sandbox.sandbox_id diff --git a/python/tests/async/test_async_systemd.py b/python/tests/async/test_async_systemd.py index 8a9f89ae..5a129abc 100644 --- a/python/tests/async/test_async_systemd.py +++ b/python/tests/async/test_async_systemd.py @@ -1,5 +1,7 @@ import asyncio +import pytest + from e2b_code_interpreter.code_interpreter_async import AsyncSandbox @@ -17,6 +19,7 @@ async def wait_for_health(sandbox: AsyncSandbox, max_retries=10, interval_ms=100 return False +@pytest.mark.skip_debug async def test_restart_after_jupyter_kill(async_sandbox: AsyncSandbox): # Verify health is up initially assert await wait_for_health(async_sandbox) @@ -39,6 +42,7 @@ async def test_restart_after_jupyter_kill(async_sandbox: AsyncSandbox): assert result.text == "1" +@pytest.mark.skip_debug async def test_restart_after_code_interpreter_kill(async_sandbox: AsyncSandbox): # Verify health is up initially assert await wait_for_health(async_sandbox) diff --git a/python/tests/sync/test_reconnect.py b/python/tests/sync/test_reconnect.py index 27800a84..f74b73de 100644 --- a/python/tests/sync/test_reconnect.py +++ b/python/tests/sync/test_reconnect.py @@ -1,6 +1,9 @@ +import pytest + from e2b_code_interpreter.code_interpreter_sync import Sandbox +@pytest.mark.skip_debug def test_reconnect(sandbox: Sandbox): sandbox_id = sandbox.sandbox_id diff --git a/python/tests/sync/test_systemd.py b/python/tests/sync/test_systemd.py index e6ccc256..574ed7d0 100644 --- a/python/tests/sync/test_systemd.py +++ b/python/tests/sync/test_systemd.py @@ -1,5 +1,7 @@ import time +import pytest + from e2b_code_interpreter.code_interpreter_sync import Sandbox @@ -17,6 +19,7 @@ def wait_for_health(sandbox: Sandbox, max_retries=10, interval_ms=100): return False +@pytest.mark.skip_debug def test_restart_after_jupyter_kill(sandbox: Sandbox): # Verify health is up initially assert wait_for_health(sandbox) @@ -37,6 +40,7 @@ def test_restart_after_jupyter_kill(sandbox: Sandbox): assert result.text == "1" +@pytest.mark.skip_debug def test_restart_after_code_interpreter_kill(sandbox: Sandbox): # Verify health is up initially assert wait_for_health(sandbox) diff --git a/template/template.py b/template/template.py index 63ec447a..9101636a 100644 --- a/template/template.py +++ b/template/template.py @@ -144,7 +144,7 @@ def make_template( template = template.set_user("user").set_workdir("/home/user") if is_docker: - start_cmd = "sudo /root/.jupyter/start-up.sh" + start_cmd = "sudo --preserve-env=E2B_LOCAL /root/.jupyter/start-up.sh" else: start_cmd = "sudo systemctl start jupyter" From 86ded61c5797336cdc1a4b590aefc10318e60831 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 26 Mar 2026 10:43:09 -0700 Subject: [PATCH 30/83] Update dependency nltk to v3.9.4 [SECURITY] (#239) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 7f9fa70e..23e0c23c 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -19,7 +19,7 @@ gensim==4.4.0 imageio==2.37.3 joblib==1.5.3 librosa==0.11.0 -nltk==3.9.3 +nltk==3.9.4 numpy==2.3.5 numba==0.63.1 opencv-python==4.11.0.86 From 52cce19c17747fa3833a79d4cb1528308ee79a44 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 26 Mar 2026 10:43:27 -0700 Subject: [PATCH 31/83] Update dependency requests to v2.33.0 [SECURITY] (#240) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- template/server/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/requirements.txt b/template/requirements.txt index 23e0c23c..56f77bd8 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -29,7 +29,7 @@ kaleido==1.0.0 pytest==8.3.5 python-docx==1.1.2 pytz==2025.2 -requests==2.32.5 +requests==2.33.0 scikit-image==0.25.2 scikit-learn==1.6.1 scipy==1.17.1 diff --git a/template/server/requirements.txt b/template/server/requirements.txt index 7277633c..b3e44b71 100644 --- a/template/server/requirements.txt +++ b/template/server/requirements.txt @@ -2,5 +2,5 @@ fastapi==0.111.0 httpx==0.28.1 websockets==12.0 uvicorn[standard]==0.30.1 -requests==2.32.5 +requests==2.33.0 pydantic==2.9.1 From 88bd5ece203fc335258813948181f051ab8526d7 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Mon, 30 Mar 2026 17:46:17 +0200 Subject: [PATCH 32/83] Enable CORS for Code Interpreter Server (#242) --- .changeset/stale-forks-lay.md | 5 +++++ template/server/main.py | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 .changeset/stale-forks-lay.md diff --git a/.changeset/stale-forks-lay.md b/.changeset/stale-forks-lay.md new file mode 100644 index 00000000..3fa5eb16 --- /dev/null +++ b/.changeset/stale-forks-lay.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter-template': patch +--- + +allow cors diff --git a/template/server/main.py b/template/server/main.py index 1f296926..59215f57 100644 --- a/template/server/main.py +++ b/template/server/main.py @@ -6,6 +6,7 @@ from contextlib import asynccontextmanager from fastapi import FastAPI, Request +from fastapi.middleware.cors import CORSMiddleware from fastapi.responses import PlainTextResponse from api.models.context import Context @@ -60,6 +61,13 @@ async def lifespan(app: FastAPI): app = FastAPI(lifespan=lifespan) +app.add_middleware( + CORSMiddleware, + allow_origins=["*"], + allow_methods=["*"], + allow_headers=["*"], +) + logger.info("Starting Code Interpreter server") From cff55c1fce6a6777c69e58bad8bcb46d1e6f5dd9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 30 Mar 2026 16:01:05 +0000 Subject: [PATCH 33/83] [skip ci] Release new versions --- .changeset/stale-forks-lay.md | 5 ----- template/package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/stale-forks-lay.md diff --git a/.changeset/stale-forks-lay.md b/.changeset/stale-forks-lay.md deleted file mode 100644 index 3fa5eb16..00000000 --- a/.changeset/stale-forks-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2b/code-interpreter-template': patch ---- - -allow cors diff --git a/template/package.json b/template/package.json index c2c0de45..e94c7195 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.3.1", + "version": "0.3.2", "scripts": { "lint": "ruff check .", "format": "ruff format ." From 6a3e536f06563c7cad39f784956a8160b486783c Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Tue, 31 Mar 2026 22:15:56 +0200 Subject: [PATCH 34/83] Normalize language in cwd (#243) * normalize language in cwd * added ts and node * updated --- .changeset/loud-emus-pump.md | 5 +++++ template/server/messaging.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/loud-emus-pump.md diff --git a/.changeset/loud-emus-pump.md b/.changeset/loud-emus-pump.md new file mode 100644 index 00000000..486b1243 --- /dev/null +++ b/.changeset/loud-emus-pump.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter-template': patch +--- + +normalize language for setting cwd diff --git a/template/server/messaging.py b/template/server/messaging.py index 0b151f8e..bbc19170 100644 --- a/template/server/messaging.py +++ b/template/server/messaging.py @@ -265,7 +265,7 @@ async def change_current_directory( request = self._get_execute_request( message_id, f"Deno.chdir('{path}')", True ) - elif language == "js": + elif language in ("javascript", "typescript"): request = self._get_execute_request( message_id, f"process.chdir('{path}')", True ) From dc46077e2438d04a2bac18ed96da2f6370d48b94 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 31 Mar 2026 20:25:18 +0000 Subject: [PATCH 35/83] [skip ci] Release new versions --- .changeset/loud-emus-pump.md | 5 ----- template/package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/loud-emus-pump.md diff --git a/.changeset/loud-emus-pump.md b/.changeset/loud-emus-pump.md deleted file mode 100644 index 486b1243..00000000 --- a/.changeset/loud-emus-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2b/code-interpreter-template': patch ---- - -normalize language for setting cwd diff --git a/template/package.json b/template/package.json index e94c7195..3917346d 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.3.2", + "version": "0.3.3", "scripts": { "lint": "ruff check .", "format": "ruff format ." From 82e18365802a23da64f47b8967c9fb9626a63d32 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Tue, 31 Mar 2026 22:36:10 +0200 Subject: [PATCH 36/83] added tests for pwd (#244) * added tests for pwd * fmt * updated tests --- js/tests/cwd.test.ts | 42 ++++++++++++++++++++++++++++ python/tests/async/test_async_cwd.py | 35 +++++++++++++++++++++++ python/tests/sync/test_cwd.py | 33 ++++++++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 js/tests/cwd.test.ts create mode 100644 python/tests/async/test_async_cwd.py create mode 100644 python/tests/sync/test_cwd.py diff --git a/js/tests/cwd.test.ts b/js/tests/cwd.test.ts new file mode 100644 index 00000000..b9a35ca3 --- /dev/null +++ b/js/tests/cwd.test.ts @@ -0,0 +1,42 @@ +import { expect } from 'vitest' + +import { isDebug, sandboxTest } from './setup' + +// Skip these tests in debug mode — the pwd and user in the testing docker container +// are not the same as in the actual sandbox. + +sandboxTest.skipIf(isDebug)('cwd python', async ({ sandbox }) => { + const result = await sandbox.runCode( + 'from pathlib import Path; print(Path.cwd())', + { language: 'python' } + ) + expect(result.logs.stdout.join().trim()).toEqual('/home/user') +}) + +sandboxTest.skipIf(isDebug)('cwd javascript', async ({ sandbox }) => { + const result = await sandbox.runCode('process.cwd()', { + language: 'js', + }) + expect(result.text).toEqual('/home/user') +}) + +sandboxTest.skipIf(isDebug)('cwd typescript', async ({ sandbox }) => { + const result = await sandbox.runCode('process.cwd()', { + language: 'ts', + }) + expect(result.text).toEqual('/home/user') +}) + +sandboxTest.skipIf(isDebug)('cwd r', async ({ sandbox }) => { + const result = await sandbox.runCode('getwd()', { + language: 'r', + }) + expect(result.results[0]?.text.trim()).toEqual('[1] "/home/user"') +}) + +sandboxTest.skipIf(isDebug)('cwd java', async ({ sandbox }) => { + const result = await sandbox.runCode('System.getProperty("user.dir")', { + language: 'java', + }) + expect(result.results[0]?.text.trim()).toEqual('/home/user') +}) diff --git a/python/tests/async/test_async_cwd.py b/python/tests/async/test_async_cwd.py new file mode 100644 index 00000000..e03b3e68 --- /dev/null +++ b/python/tests/async/test_async_cwd.py @@ -0,0 +1,35 @@ +import pytest + +from e2b_code_interpreter.code_interpreter_async import AsyncSandbox + + +@pytest.mark.skip_debug() +async def test_cwd_python(async_sandbox: AsyncSandbox): + result = await async_sandbox.run_code("from pathlib import Path; print(Path.cwd())") + assert "".join(result.logs.stdout).strip() == "/home/user" + + +@pytest.mark.skip_debug() +async def test_cwd_javascript(async_sandbox: AsyncSandbox): + result = await async_sandbox.run_code("process.cwd()", language="js") + assert result.text == "/home/user" + + +@pytest.mark.skip_debug() +async def test_cwd_typescript(async_sandbox: AsyncSandbox): + result = await async_sandbox.run_code("process.cwd()", language="ts") + assert result.text == "/home/user" + + +@pytest.mark.skip_debug() +async def test_cwd_r(async_sandbox: AsyncSandbox): + result = await async_sandbox.run_code("getwd()", language="r") + assert result.results[0].text.strip() == '[1] "/home/user"' + + +@pytest.mark.skip_debug() +async def test_cwd_java(async_sandbox: AsyncSandbox): + result = await async_sandbox.run_code( + 'System.getProperty("user.dir")', language="java" + ) + assert result.results[0].text.strip() == "/home/user" diff --git a/python/tests/sync/test_cwd.py b/python/tests/sync/test_cwd.py new file mode 100644 index 00000000..35f91a2b --- /dev/null +++ b/python/tests/sync/test_cwd.py @@ -0,0 +1,33 @@ +import pytest + +from e2b_code_interpreter.code_interpreter_sync import Sandbox + + +@pytest.mark.skip_debug() +def test_cwd_python(sandbox: Sandbox): + result = sandbox.run_code("from pathlib import Path; print(Path.cwd())") + assert "".join(result.logs.stdout).strip() == "/home/user" + + +@pytest.mark.skip_debug() +def test_cwd_javascript(sandbox: Sandbox): + result = sandbox.run_code("process.cwd()", language="js") + assert result.text == "/home/user" + + +@pytest.mark.skip_debug() +def test_cwd_typescript(sandbox: Sandbox): + result = sandbox.run_code("process.cwd()", language="ts") + assert result.text == "/home/user" + + +@pytest.mark.skip_debug() +def test_cwd_r(sandbox: Sandbox): + result = sandbox.run_code("getwd()", language="r") + assert result.results[0].text.strip() == '[1] "/home/user"' + + +@pytest.mark.skip_debug() +def test_cwd_java(sandbox: Sandbox): + result = sandbox.run_code('System.getProperty("user.dir")', language="java") + assert result.results[0].text.strip() == "/home/user" From 6158a8af7b93eb9eaec3e9eebbb929d0d61d52f1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 18:34:01 +0200 Subject: [PATCH 37/83] Update dependency aiohttp to v3.13.4 [SECURITY] (#246) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 56f77bd8..39e863ff 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -12,7 +12,7 @@ pillow==12.1.1 e2b_charts # Other packages -aiohttp==3.13.3 +aiohttp==3.13.4 beautifulsoup4==4.14.3 bokeh==3.9.0 gensim==4.4.0 From 52b5767ff4dac6787abcf07d33c9447ec9e813f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 18:34:22 +0200 Subject: [PATCH 38/83] Bump aiohttp from 3.13.3 to 3.13.4 in /template in the pip group across 1 directory (#245) Bump aiohttp in /template in the pip group across 1 directory --- updated-dependencies: - dependency-name: aiohttp dependency-version: 3.13.4 dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> From f32624998888cdd309c6087a659d436ffc14bc1d Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Mon, 13 Apr 2026 20:20:33 +0200 Subject: [PATCH 39/83] Release lock for interruptable client requests (#237) * release lock on client disconnect * move back * fmt * move clean up back to original place * added changeset * format * delete ineffective timeout tests * added server tests * undo server tests * interrupt * format * bugbot * addressed comments --- .changeset/clever-bears-accept.md | 5 ++ js/tests/interrupt.test.ts | 25 +++++++++ python/tests/async/test_async_interrupt.py | 25 +++++++++ python/tests/sync/test_interrupt.py | 23 ++++++++ template/server/messaging.py | 63 +++++++++++++++++++--- 5 files changed, 135 insertions(+), 6 deletions(-) create mode 100644 .changeset/clever-bears-accept.md create mode 100644 js/tests/interrupt.test.ts create mode 100644 python/tests/async/test_async_interrupt.py create mode 100644 python/tests/sync/test_interrupt.py diff --git a/.changeset/clever-bears-accept.md b/.changeset/clever-bears-accept.md new file mode 100644 index 00000000..80474ba7 --- /dev/null +++ b/.changeset/clever-bears-accept.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter-template': patch +--- + +interrupt kernel execution on client disconnect diff --git a/js/tests/interrupt.test.ts b/js/tests/interrupt.test.ts new file mode 100644 index 00000000..be4084b0 --- /dev/null +++ b/js/tests/interrupt.test.ts @@ -0,0 +1,25 @@ +import { expect } from 'vitest' + +import { sandboxTest, wait } from './setup' + +sandboxTest( + 'subsequent execution works after client timeout', + async ({ sandbox }) => { + // Start a long-running execution with a short timeout. + // This simulates a client disconnect: the SDK aborts the connection, + // which should trigger the server to interrupt the kernel (#213). + await expect( + sandbox.runCode('import time; time.sleep(300)', { timeoutMs: 3_000 }) + ).rejects.toThrow() + + // Wait for the server to detect the disconnect (via keepalive write + // failure) and interrupt the kernel. + await wait(5_000) + + // Run a simple execution. Without the kernel interrupt fix, this would + // block behind the still-running sleep(30) and time out. + const result = await sandbox.runCode('1 + 1', { timeoutMs: 10_000 }) + expect(result.text).toEqual('2') + }, + 60_000 +) diff --git a/python/tests/async/test_async_interrupt.py b/python/tests/async/test_async_interrupt.py new file mode 100644 index 00000000..ad8a9a0e --- /dev/null +++ b/python/tests/async/test_async_interrupt.py @@ -0,0 +1,25 @@ +import asyncio + +import pytest + +from e2b import TimeoutException +from e2b_code_interpreter.code_interpreter_async import AsyncSandbox + + +async def test_subsequent_execution_works_after_client_timeout( + async_sandbox: AsyncSandbox, +): + # Start a long-running execution with a short timeout. + # This simulates a client disconnect: the SDK closes the connection, + # which should trigger the server to interrupt the kernel (#213). + with pytest.raises(TimeoutException): + await async_sandbox.run_code("import time; time.sleep(300)", timeout=3) + + # Wait for the server to detect the disconnect (via keepalive write + # failure) and interrupt the kernel. + await asyncio.sleep(5) + + # Run a simple execution. Without the kernel interrupt fix, this would + # block behind the still-running sleep(30) and time out. + result = await async_sandbox.run_code("1 + 1", timeout=10) + assert result.text == "2" diff --git a/python/tests/sync/test_interrupt.py b/python/tests/sync/test_interrupt.py new file mode 100644 index 00000000..d4c5ff15 --- /dev/null +++ b/python/tests/sync/test_interrupt.py @@ -0,0 +1,23 @@ +import time + +import pytest + +from e2b import TimeoutException +from e2b_code_interpreter.code_interpreter_sync import Sandbox + + +def test_subsequent_execution_works_after_client_timeout(sandbox: Sandbox): + # Start a long-running execution with a short timeout. + # This simulates a client disconnect: the SDK closes the connection, + # which should trigger the server to interrupt the kernel (#213). + with pytest.raises(TimeoutException): + sandbox.run_code("import time; time.sleep(300)", timeout=3) + + # Wait for the server to detect the disconnect (via keepalive write + # failure) and interrupt the kernel. + time.sleep(5) + + # Run a simple execution. Without the kernel interrupt fix, this would + # block behind the still-running sleep(30) and time out. + result = sandbox.run_code("1 + 1", timeout=10) + assert result.text == "2" diff --git a/template/server/messaging.py b/template/server/messaging.py index bbc19170..d5fdb270 100644 --- a/template/server/messaging.py +++ b/template/server/messaging.py @@ -4,6 +4,8 @@ import uuid import asyncio +import httpx + from asyncio import Queue from typing import ( Dict, @@ -26,6 +28,7 @@ OutputType, UnexpectedEndOfExecution, ) +from consts import JUPYTER_BASE_URL from errors import ExecutionError from envs import get_envs @@ -33,6 +36,7 @@ MAX_RECONNECT_RETRIES = 3 PING_TIMEOUT = 30 +KEEPALIVE_INTERVAL = 5 # seconds between keepalive pings during streaming class Execution: @@ -97,6 +101,22 @@ async def connect(self): name="receive_message", ) + async def interrupt(self): + """Interrupt the current kernel execution via the Jupyter REST API.""" + try: + async with httpx.AsyncClient() as client: + response = await client.post( + f"{JUPYTER_BASE_URL}/api/kernels/{self.context_id}/interrupt" + ) + if response.is_success: + logger.info(f"Kernel {self.context_id} interrupted successfully") + else: + logger.error( + f"Failed to interrupt kernel {self.context_id}: {response.status_code}" + ) + except Exception as e: + logger.error(f"Error interrupting kernel {self.context_id}: {e}") + def _get_execute_request( self, msg_id: str, code: Union[str, StrictStr], background: bool ) -> str: @@ -238,8 +258,24 @@ async def _cleanup_env_vars(self, env_vars: Dict[StrictStr, str]): async def _wait_for_result(self, message_id: str): queue = self._executions[message_id].queue + # Use a timeout on queue.get() to periodically send keepalives. + # Without keepalives, the generator blocks indefinitely waiting for + # kernel output. If the client silently disappears (e.g. network + # failure), uvicorn can only detect the broken connection when it + # tries to write — so we force a write every KEEPALIVE_INTERVAL + # seconds. This ensures timely disconnect detection and kernel + # interrupt for abandoned executions (see #213). while True: - output = await queue.get() + try: + output = await asyncio.wait_for(queue.get(), timeout=KEEPALIVE_INTERVAL) + except asyncio.TimeoutError: + # Yield a keepalive so Starlette writes to the socket. + # If the client has disconnected, the write fails and + # uvicorn delivers http.disconnect, which cancels this + # generator via CancelledError. + yield {"type": "keepalive"} + continue + if output.type == OutputType.END_OF_EXECUTION: break @@ -362,11 +398,26 @@ async def execute( ) await execution.queue.put(UnexpectedEndOfExecution()) - # Stream the results - async for item in self._wait_for_result(message_id): - yield item - - del self._executions[message_id] + # Stream the results. + # If the client disconnects (Starlette cancels the task), we + # interrupt the kernel so the next execution isn't blocked (#213). + try: + async for item in self._wait_for_result(message_id): + yield item + except (asyncio.CancelledError, GeneratorExit): + logger.warning( + f"Client disconnected during execution ({message_id}), interrupting kernel" + ) + # Shield the interrupt from the ongoing cancellation so + # the HTTP request to the kernel actually completes. + try: + await asyncio.shield(self.interrupt()) + except asyncio.CancelledError: + pass + raise + finally: + if message_id in self._executions: + del self._executions[message_id] # Clean up env vars in a separate request after the main code has run if env_vars: From a1b5f41b2a5c37939d07c4785ee3027cf1c5fcc4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 13:07:20 +0200 Subject: [PATCH 40/83] Update dependency pillow to v12.2.0 [SECURITY] (#249) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 39e863ff..fca3979c 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -6,7 +6,7 @@ ipython==9.2.0 orjson==3.11.7 pandas==2.2.3 matplotlib==3.10.8 -pillow==12.1.1 +pillow==12.2.0 # Latest version for e2b_charts From 6d54054eb16539d5c5f22f9896e2cb2f9cd824d9 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Thu, 16 Apr 2026 22:58:50 +0200 Subject: [PATCH 41/83] Add language autocomplete for supported languages (#247) * Add language autocomplete for js, ts, r, java, bash Co-Authored-By: Claude Opus 4.6 * Fix eslint ban-types error for string & {} Use NonNullable instead of {} to satisfy @typescript-eslint/ban-types. Co-Authored-By: Claude Opus 4.6 * Simplify language type to plain string union Co-Authored-By: Claude Opus 4.6 * Use string & {} with eslint-disable for language autocomplete Co-Authored-By: Claude Opus 4.6 * Format sandbox.ts with prettier Co-Authored-By: Claude Opus 4.6 * Use eslint-disable/enable block for ban-types on multiline type Co-Authored-By: Claude Opus 4.6 * Format Python language type annotations for ruff Co-Authored-By: Claude Opus 4.6 --------- Co-authored-by: Claude Opus 4.6 --- .changeset/add-language-overloads.md | 6 +++ js/src/index.ts | 7 +++- js/src/sandbox.ts | 41 ++++++++----------- python/e2b_code_interpreter/__init__.py | 1 + .../code_interpreter_async.py | 41 ++----------------- .../code_interpreter_sync.py | 41 ++----------------- python/e2b_code_interpreter/models.py | 6 +++ 7 files changed, 43 insertions(+), 100 deletions(-) create mode 100644 .changeset/add-language-overloads.md diff --git a/.changeset/add-language-overloads.md b/.changeset/add-language-overloads.md new file mode 100644 index 00000000..0a1f00bd --- /dev/null +++ b/.changeset/add-language-overloads.md @@ -0,0 +1,6 @@ +--- +"@e2b/code-interpreter": patch +"e2b-code-interpreter": patch +--- + +Add autocomplete support for javascript, typescript, r, java, and bash languages in runCode/run_code and createCodeContext/create_code_context diff --git a/js/src/index.ts b/js/src/index.ts index 2ad762ba..d4598121 100644 --- a/js/src/index.ts +++ b/js/src/index.ts @@ -1,7 +1,12 @@ export * from 'e2b' export { Sandbox } from './sandbox' -export type { Context, RunCodeOpts, CreateCodeContextOpts } from './sandbox' +export type { + Context, + RunCodeLanguage, + RunCodeOpts, + CreateCodeContextOpts, +} from './sandbox' export type { Logs, ExecutionError, diff --git a/js/src/sandbox.ts b/js/src/sandbox.ts index a02b9d9e..0b320cc6 100644 --- a/js/src/sandbox.ts +++ b/js/src/sandbox.ts @@ -33,6 +33,20 @@ export type Context = { cwd: string } +/* eslint-disable @typescript-eslint/ban-types */ +/** + * Supported language for code execution. + */ +export type RunCodeLanguage = + | 'python' + | 'javascript' + | 'typescript' + | 'r' + | 'java' + | 'bash' + | (string & {}) +/* eslint-enable @typescript-eslint/ban-types */ + /** * Options for running code. */ @@ -88,7 +102,7 @@ export interface CreateCodeContextOpts { * * @default python */ - language?: string + language?: RunCodeLanguage /** * Timeout for the request in **milliseconds**. * @@ -128,29 +142,6 @@ export class Sandbox extends BaseSandbox { )}` } - /** - * Run the code as Python. - * - * Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - * - * You can reference previously defined variables, imports, and functions in the code. - * - * @param code code to execute. - * @param opts options for executing the code. - * - * @returns `Execution` result object. - */ - async runCode( - code: string, - opts?: RunCodeOpts & { - /** - * Language to use for code execution. - * - * If not defined, the default Python context is used. - */ - language?: 'python' - } - ): Promise /** * Run the code for the specified language. * @@ -172,7 +163,7 @@ export class Sandbox extends BaseSandbox { * * If not defined, the default Python context is used. */ - language?: string + language?: RunCodeLanguage } ): Promise /** diff --git a/python/e2b_code_interpreter/__init__.py b/python/e2b_code_interpreter/__init__.py index 7562f51a..5202d5de 100644 --- a/python/e2b_code_interpreter/__init__.py +++ b/python/e2b_code_interpreter/__init__.py @@ -10,4 +10,5 @@ Logs, OutputHandler, OutputMessage, + RunCodeLanguage, ) diff --git a/python/e2b_code_interpreter/code_interpreter_async.py b/python/e2b_code_interpreter/code_interpreter_async.py index de938240..35684cd1 100644 --- a/python/e2b_code_interpreter/code_interpreter_async.py +++ b/python/e2b_code_interpreter/code_interpreter_async.py @@ -1,7 +1,7 @@ import logging import httpx -from typing import Optional, Dict, overload, Union, Literal, List +from typing import Optional, Dict, overload, Union, List from httpx import AsyncClient from e2b import ( @@ -18,6 +18,7 @@ Execution, ExecutionError, Context, + RunCodeLanguage, Result, aextract_exception, OutputHandlerWithAsync, @@ -68,41 +69,7 @@ def _client(self) -> AsyncClient: async def run_code( self, code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, - on_result: Optional[OutputHandlerWithAsync[Result]] = None, - on_error: Optional[OutputHandlerWithAsync[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None, - ) -> Execution: - """ - Runs the code as Python. - - Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - - You can reference previously defined variables, imports, and functions in the code. - - :param code: Code to execute - :param language: Language to use for code execution. If not defined, the default Python context is used. - :param on_stdout: Callback for stdout messages - :param on_stderr: Callback for stderr messages - :param on_result: Callback for the `Result` object - :param on_error: Callback for the `ExecutionError` object - :param envs: Custom environment variables - :param timeout: Timeout for the code execution in **seconds** - :param request_timeout: Timeout for the request in **seconds** - - :return: `Execution` result object - """ - ... - - @overload - async def run_code( - self, - code: str, - language: Optional[str] = None, + language: Optional[RunCodeLanguage] = None, on_stdout: Optional[OutputHandlerWithAsync[OutputMessage]] = None, on_stderr: Optional[OutputHandlerWithAsync[OutputMessage]] = None, on_result: Optional[OutputHandlerWithAsync[Result]] = None, @@ -236,7 +203,7 @@ async def run_code( async def create_code_context( self, cwd: Optional[str] = None, - language: Optional[str] = None, + language: Optional[RunCodeLanguage] = None, request_timeout: Optional[float] = None, ) -> Context: """ diff --git a/python/e2b_code_interpreter/code_interpreter_sync.py b/python/e2b_code_interpreter/code_interpreter_sync.py index 3adb2804..6020cc89 100644 --- a/python/e2b_code_interpreter/code_interpreter_sync.py +++ b/python/e2b_code_interpreter/code_interpreter_sync.py @@ -1,7 +1,7 @@ import logging import httpx -from typing import Optional, Dict, overload, Literal, Union, List +from typing import Optional, Dict, overload, Union, List from httpx import Client from e2b import Sandbox as BaseSandbox, InvalidArgumentException @@ -13,6 +13,7 @@ from e2b_code_interpreter.models import ( ExecutionError, Execution, + RunCodeLanguage, Context, Result, extract_exception, @@ -65,41 +66,7 @@ def _client(self) -> Client: def run_code( self, code: str, - language: Union[Literal["python"], None] = None, - on_stdout: Optional[OutputHandler[OutputMessage]] = None, - on_stderr: Optional[OutputHandler[OutputMessage]] = None, - on_result: Optional[OutputHandler[Result]] = None, - on_error: Optional[OutputHandler[ExecutionError]] = None, - envs: Optional[Dict[str, str]] = None, - timeout: Optional[float] = None, - request_timeout: Optional[float] = None, - ) -> Execution: - """ - Runs the code as Python. - - Specify the `language` or `context` option to run the code as a different language or in a different `Context`. - - You can reference previously defined variables, imports, and functions in the code. - - :param code: Code to execute - :param language: Language to use for code execution. If not defined, the default Python context is used. - :param on_stdout: Callback for stdout messages - :param on_stderr: Callback for stderr messages - :param on_result: Callback for the `Result` object - :param on_error: Callback for the `ExecutionError` object - :param envs: Custom environment variables - :param timeout: Timeout for the code execution in **seconds** - :param request_timeout: Timeout for the request in **seconds** - - :return: `Execution` result object - """ - ... - - @overload - def run_code( - self, - code: str, - language: Optional[str] = None, + language: Optional[RunCodeLanguage] = None, on_stdout: Optional[OutputHandler[OutputMessage]] = None, on_stderr: Optional[OutputHandler[OutputMessage]] = None, on_result: Optional[OutputHandler[Result]] = None, @@ -232,7 +199,7 @@ def run_code( def create_code_context( self, cwd: Optional[str] = None, - language: Optional[str] = None, + language: Optional[RunCodeLanguage] = None, request_timeout: Optional[float] = None, ) -> Context: """ diff --git a/python/e2b_code_interpreter/models.py b/python/e2b_code_interpreter/models.py index ef280e18..ff691b54 100644 --- a/python/e2b_code_interpreter/models.py +++ b/python/e2b_code_interpreter/models.py @@ -6,6 +6,7 @@ from dataclasses import dataclass, field from typing import ( List, + Literal, Optional, Iterable, Dict, @@ -20,6 +21,11 @@ from .charts import Chart, _deserialize_chart +RunCodeLanguage = Union[ + Literal["python", "javascript", "typescript", "r", "java", "bash"], + str, +] + T = TypeVar("T") OutputHandler = Union[Callable[[T], Any],] From 1c917b80a814e1f0a90dec455df3c7300c085387 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Thu, 23 Apr 2026 19:28:15 +0200 Subject: [PATCH 42/83] Force npm self-install in release workflow (#258) Works around npm's "Cannot find module 'promise-retry'" error when upgrading to npm 11.6 over the npm 10.x bundled with Node 22. Co-authored-by: Claude Opus 4.7 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4991041f..e2c89e29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -345,7 +345,7 @@ jobs: - name: Update npm run: | - npm install -g npm@^11.6 + npm install -g --force npm@^11.6 npm --version - name: Install dependencies From 7115ef8f4ce08e20105710874253b234a9a94945 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Fri, 24 Apr 2026 15:45:43 +0200 Subject: [PATCH 43/83] Use Node 24 for release job to get npm 11 (#259) * Force npm self-install in release workflow Works around npm's "Cannot find module 'promise-retry'" error when upgrading to npm 11.6 over the npm 10.x bundled with Node 22. Co-Authored-By: Claude Opus 4.7 * Use Node 24 for release job instead of upgrading npm Node 24.15 ships with npm 11.12, which already satisfies the OIDC publish requirement. Avoids the broken npm self-install in Node 22's tool cache (npm/cli#8859, "Cannot find module 'promise-retry'") by skipping the upgrade step entirely. Co-Authored-By: Claude Opus 4.7 --------- Co-authored-by: Claude Opus 4.7 --- .github/workflows/release.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2c89e29..84b5d3a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -331,10 +331,10 @@ jobs: with: version: 9.5 - - name: Setup Node.js 22 + - name: Setup Node.js 24 uses: actions/setup-node@v6 with: - node-version: "22.x" + node-version: "24.x" registry-url: 'https://registry.npmjs.org' cache: pnpm @@ -343,11 +343,6 @@ jobs: pnpm config set auto-install-peers true pnpm config set exclude-links-from-lockfile true - - name: Update npm - run: | - npm install -g --force npm@^11.6 - npm --version - - name: Install dependencies run: pnpm install --frozen-lockfile From a16388c065a5d64e195dc34a09eabde1bfb8e0be Mon Sep 17 00:00:00 2001 From: Matt Brockman Date: Mon, 27 Apr 2026 15:04:45 -0700 Subject: [PATCH 44/83] Bump e2b vesions (#260) * bump e2b to newest --- .changeset/update-e2b-sdk-minimums.md | 6 ++++++ js/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- python/poetry.lock | 8 ++++---- python/pyproject.toml | 2 +- 5 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 .changeset/update-e2b-sdk-minimums.md diff --git a/.changeset/update-e2b-sdk-minimums.md b/.changeset/update-e2b-sdk-minimums.md new file mode 100644 index 00000000..bd64e1de --- /dev/null +++ b/.changeset/update-e2b-sdk-minimums.md @@ -0,0 +1,6 @@ +--- +"@e2b/code-interpreter": patch +"e2b-code-interpreter": patch +--- + +Raise the minimum supported e2b SDK dependency versions. diff --git a/js/package.json b/js/package.json index 20eac2b7..aebb604f 100644 --- a/js/package.json +++ b/js/package.json @@ -71,6 +71,6 @@ "defaults" ], "dependencies": { - "e2b": "^2.8.4" + "e2b": "^2.19.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 26b279e0..09025639 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: js: dependencies: e2b: - specifier: ^2.8.4 - version: 2.15.0 + specifier: ^2.19.2 + version: 2.19.2 devDependencies: '@types/node': specifier: ^20.19.19 @@ -987,8 +987,8 @@ packages: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} - e2b@2.15.0: - resolution: {integrity: sha512-wjdrWBB/H9Lmo1vpJaCKlpcNjHKzztAL+/0q4gv8mpD96rrE4eh45kIxOMbGwb0vFXaDjjL2d93CYGAZDfKlPg==} + e2b@2.19.2: + resolution: {integrity: sha512-AJtaQ72XIjdOBGnsvzVuYveYmy4ZDALLzZddN7sFIgd49eCY7u7Nwx7TXp97vZLPTEgfCwEqn1U9mehDrQMp3g==} engines: {node: '>=20'} easy-table@1.2.0: @@ -2660,7 +2660,7 @@ snapshots: dotenv@16.6.1: {} - e2b@2.15.0: + e2b@2.19.2: dependencies: '@bufbuild/protobuf': 2.11.0 '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.11.0) diff --git a/python/poetry.lock b/python/poetry.lock index acaad693..af0baa4c 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -186,13 +186,13 @@ files = [ [[package]] name = "e2b" -version = "2.16.0" +version = "2.20.2" description = "E2B SDK that give agents cloud environments" optional = false python-versions = "<4.0,>=3.10" files = [ - {file = "e2b-2.16.0-py3-none-any.whl", hash = "sha256:e2bb38fce01e1fe076818aa731b45208f2eef4b843d90b61c48cb23985a7ef52"}, - {file = "e2b-2.16.0.tar.gz", hash = "sha256:e661fbd5524bf4435730eca081de7b74861f30366731a027c1c8503316e8890c"}, + {file = "e2b-2.20.2-py3-none-any.whl", hash = "sha256:8ef964a4d1204a9fd61f4499662175a7a98ad173a81e7e848961799f77750276"}, + {file = "e2b-2.20.2.tar.gz", hash = "sha256:ce69f65e0b07c1002ac4e386d109e4e658575efb2a774aefced92393f2cb2388"}, ] [package.dependencies] @@ -1060,4 +1060,4 @@ bracex = ">=2.1.1" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "ad2d93b63a361a6a6e9f2163c8035f516eb7f7714e459438bb2f3ddc1edfc129" +content-hash = "d6fbf63c1a861953087c36c747f986bda24374c8b74e4159c4e8653ee42c8cdb" diff --git a/python/pyproject.toml b/python/pyproject.toml index 27da009a..b099b2a8 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -14,7 +14,7 @@ python = "^3.10" httpx = ">=0.20.0, <1.0.0" attrs = ">=21.3.0" -e2b = "^2.7.0" +e2b = "^2.20.2" [tool.poetry.group.dev.dependencies] pytest = "^8.2.0" From 81a811cb7052f3f6d91705aa57f13b9190bafd39 Mon Sep 17 00:00:00 2001 From: Matt Brockman Date: Mon, 27 Apr 2026 19:04:58 -0700 Subject: [PATCH 45/83] Fix Python package name in changesets (#261) --- .changeset/add-language-overloads.md | 2 +- .changeset/update-e2b-sdk-minimums.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.changeset/add-language-overloads.md b/.changeset/add-language-overloads.md index 0a1f00bd..6888ca74 100644 --- a/.changeset/add-language-overloads.md +++ b/.changeset/add-language-overloads.md @@ -1,6 +1,6 @@ --- "@e2b/code-interpreter": patch -"e2b-code-interpreter": patch +"@e2b/code-interpreter-python": patch --- Add autocomplete support for javascript, typescript, r, java, and bash languages in runCode/run_code and createCodeContext/create_code_context diff --git a/.changeset/update-e2b-sdk-minimums.md b/.changeset/update-e2b-sdk-minimums.md index bd64e1de..ba1de8fa 100644 --- a/.changeset/update-e2b-sdk-minimums.md +++ b/.changeset/update-e2b-sdk-minimums.md @@ -1,6 +1,6 @@ --- "@e2b/code-interpreter": patch -"e2b-code-interpreter": patch +"@e2b/code-interpreter-python": patch --- Raise the minimum supported e2b SDK dependency versions. From e770c8589cb5298eb7eb0f76b587ae8c1acc7816 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 28 Apr 2026 02:13:20 +0000 Subject: [PATCH 46/83] [skip ci] Release new versions --- .changeset/add-language-overloads.md | 6 ------ .changeset/clever-bears-accept.md | 5 ----- .changeset/update-e2b-sdk-minimums.md | 6 ------ js/package.json | 2 +- python/package.json | 2 +- python/pyproject.toml | 2 +- template/package.json | 2 +- 7 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 .changeset/add-language-overloads.md delete mode 100644 .changeset/clever-bears-accept.md delete mode 100644 .changeset/update-e2b-sdk-minimums.md diff --git a/.changeset/add-language-overloads.md b/.changeset/add-language-overloads.md deleted file mode 100644 index 6888ca74..00000000 --- a/.changeset/add-language-overloads.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@e2b/code-interpreter": patch -"@e2b/code-interpreter-python": patch ---- - -Add autocomplete support for javascript, typescript, r, java, and bash languages in runCode/run_code and createCodeContext/create_code_context diff --git a/.changeset/clever-bears-accept.md b/.changeset/clever-bears-accept.md deleted file mode 100644 index 80474ba7..00000000 --- a/.changeset/clever-bears-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2b/code-interpreter-template': patch ---- - -interrupt kernel execution on client disconnect diff --git a/.changeset/update-e2b-sdk-minimums.md b/.changeset/update-e2b-sdk-minimums.md deleted file mode 100644 index ba1de8fa..00000000 --- a/.changeset/update-e2b-sdk-minimums.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@e2b/code-interpreter": patch -"@e2b/code-interpreter-python": patch ---- - -Raise the minimum supported e2b SDK dependency versions. diff --git a/js/package.json b/js/package.json index aebb604f..90eaeaba 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "@e2b/code-interpreter", - "version": "2.4.0", + "version": "2.4.1", "packageManager": "pnpm@9.15.9", "description": "E2B Code Interpreter - Stateful code execution", "homepage": "https://e2b.dev", diff --git a/python/package.json b/python/package.json index 411295ab..9f7c7982 100644 --- a/python/package.json +++ b/python/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-python", "private": true, - "version": "2.6.0", + "version": "2.6.1", "packageManager": "pnpm@9.15.9", "scripts": { "test": "poetry run pytest -n 4 --verbose -x", diff --git a/python/pyproject.toml b/python/pyproject.toml index b099b2a8..efdd237e 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "e2b-code-interpreter" -version = "2.6.0" +version = "2.6.1" description = "E2B Code Interpreter - Stateful code execution" authors = ["e2b "] license = "MIT" diff --git a/template/package.json b/template/package.json index 3917346d..a59ad1f8 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.3.3", + "version": "0.3.4", "scripts": { "lint": "ruff check .", "format": "ruff format ." From 4db7f15815637d97371dcc0696815af53b866fd9 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Thu, 30 Apr 2026 20:26:37 +0200 Subject: [PATCH 47/83] Bump e2b SDK dependencies to latest (#263) * Bump e2b SDK dependencies to latest Co-Authored-By: Claude Opus 4.7 * Use workspace package name in changeset Co-Authored-By: Claude Opus 4.7 --------- Co-authored-by: Claude Opus 4.7 --- .changeset/bump-e2b-deps.md | 6 ++++++ js/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- python/poetry.lock | 8 ++++---- python/pyproject.toml | 2 +- 5 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 .changeset/bump-e2b-deps.md diff --git a/.changeset/bump-e2b-deps.md b/.changeset/bump-e2b-deps.md new file mode 100644 index 00000000..ba1de8fa --- /dev/null +++ b/.changeset/bump-e2b-deps.md @@ -0,0 +1,6 @@ +--- +"@e2b/code-interpreter": patch +"@e2b/code-interpreter-python": patch +--- + +Raise the minimum supported e2b SDK dependency versions. diff --git a/js/package.json b/js/package.json index 90eaeaba..f9e88b8e 100644 --- a/js/package.json +++ b/js/package.json @@ -71,6 +71,6 @@ "defaults" ], "dependencies": { - "e2b": "^2.19.2" + "e2b": "^2.19.4" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 09025639..e700fcab 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: js: dependencies: e2b: - specifier: ^2.19.2 - version: 2.19.2 + specifier: ^2.19.4 + version: 2.19.4 devDependencies: '@types/node': specifier: ^20.19.19 @@ -987,8 +987,8 @@ packages: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} - e2b@2.19.2: - resolution: {integrity: sha512-AJtaQ72XIjdOBGnsvzVuYveYmy4ZDALLzZddN7sFIgd49eCY7u7Nwx7TXp97vZLPTEgfCwEqn1U9mehDrQMp3g==} + e2b@2.19.4: + resolution: {integrity: sha512-9RefLykkjzVu+kUQfX5RxBonmZb08jcXIrRCRmZ8zutbG2bKV6PPyhV9O7mcyB1ZVHHO9UD2G8Z0VtY0lC+AAQ==} engines: {node: '>=20'} easy-table@1.2.0: @@ -2660,7 +2660,7 @@ snapshots: dotenv@16.6.1: {} - e2b@2.19.2: + e2b@2.19.4: dependencies: '@bufbuild/protobuf': 2.11.0 '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.11.0) diff --git a/python/poetry.lock b/python/poetry.lock index af0baa4c..768b74e4 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -186,13 +186,13 @@ files = [ [[package]] name = "e2b" -version = "2.20.2" +version = "2.20.3" description = "E2B SDK that give agents cloud environments" optional = false python-versions = "<4.0,>=3.10" files = [ - {file = "e2b-2.20.2-py3-none-any.whl", hash = "sha256:8ef964a4d1204a9fd61f4499662175a7a98ad173a81e7e848961799f77750276"}, - {file = "e2b-2.20.2.tar.gz", hash = "sha256:ce69f65e0b07c1002ac4e386d109e4e658575efb2a774aefced92393f2cb2388"}, + {file = "e2b-2.20.3-py3-none-any.whl", hash = "sha256:46c6b5ffc45c9ca6dc270dd4d29427cef6a2600c55a895565657ff2bedc06303"}, + {file = "e2b-2.20.3.tar.gz", hash = "sha256:c6e91f71946755e1579b4ca1e175819d9f174b932b92e115cf36c2fd04674f3c"}, ] [package.dependencies] @@ -1060,4 +1060,4 @@ bracex = ">=2.1.1" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "d6fbf63c1a861953087c36c747f986bda24374c8b74e4159c4e8653ee42c8cdb" +content-hash = "85967515c3cebeb03c66f25c9dcd1efa143f086d5106dfbd0233d609745e0ada" diff --git a/python/pyproject.toml b/python/pyproject.toml index efdd237e..8c503af9 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -14,7 +14,7 @@ python = "^3.10" httpx = ">=0.20.0, <1.0.0" attrs = ">=21.3.0" -e2b = "^2.20.2" +e2b = "^2.20.3" [tool.poetry.group.dev.dependencies] pytest = "^8.2.0" From fb68a5419f743338e2e70fe0e14716d0e2fca949 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 30 Apr 2026 18:29:01 +0000 Subject: [PATCH 48/83] [skip ci] Release new versions --- .changeset/bump-e2b-deps.md | 6 ------ js/package.json | 2 +- python/package.json | 2 +- python/pyproject.toml | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 .changeset/bump-e2b-deps.md diff --git a/.changeset/bump-e2b-deps.md b/.changeset/bump-e2b-deps.md deleted file mode 100644 index ba1de8fa..00000000 --- a/.changeset/bump-e2b-deps.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@e2b/code-interpreter": patch -"@e2b/code-interpreter-python": patch ---- - -Raise the minimum supported e2b SDK dependency versions. diff --git a/js/package.json b/js/package.json index f9e88b8e..4c410b6a 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "@e2b/code-interpreter", - "version": "2.4.1", + "version": "2.4.2", "packageManager": "pnpm@9.15.9", "description": "E2B Code Interpreter - Stateful code execution", "homepage": "https://e2b.dev", diff --git a/python/package.json b/python/package.json index 9f7c7982..5f6b1265 100644 --- a/python/package.json +++ b/python/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-python", "private": true, - "version": "2.6.1", + "version": "2.6.2", "packageManager": "pnpm@9.15.9", "scripts": { "test": "poetry run pytest -n 4 --verbose -x", diff --git a/python/pyproject.toml b/python/pyproject.toml index 8c503af9..4b46e803 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "e2b-code-interpreter" -version = "2.6.1" +version = "2.6.2" description = "E2B Code Interpreter - Stateful code execution" authors = ["e2b "] license = "MIT" From 4b5da3b94f592e12b0c461b7b1f763c4e0d4a6ac Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Thu, 30 Apr 2026 21:09:59 +0200 Subject: [PATCH 49/83] Fix Dependabot security alerts (12 vulnerabilities) (#264) * Fix Dependabot security alerts Bump vulnerable npm and Python dev/transitive dependencies: - npm: postcss, vite, brace-expansion, smol-toml - python/: pytest (^9.0.3), pytest-asyncio (^1.3.0), pillow, pygments, python-dotenv - chart_data_extractor/: pytest (^9.0.3), pillow, pygments - template/requirements.txt: pytest 9.0.3 Co-Authored-By: Claude Opus 4.7 * Migrate conftest.py to pytest-asyncio 1.x The session-scoped event_loop fixture override is no longer honored in pytest-asyncio 1.x. Replace it with `asyncio_default_fixture_loop_scope` and `asyncio_default_test_loop_scope` set to session in pytest.ini, and convert async_sandbox_factory to an async fixture that yields and awaits sandbox cleanup directly instead of calling run_until_complete from a sync finalizer. Co-Authored-By: Claude Opus 4.7 * Regenerate poetry locks with Poetry 1.8.5 CI installs Poetry from .tool-versions (currently 1.8.5). Regenerating the locks under Poetry 2.1.1 produced lock-version 2.1 with Poetry-2.x- only metadata, which makes Poetry 1.8.5 fall back to a re-resolve and defeats the deterministic install this PR depends on. Co-Authored-By: Claude Opus 4.7 * Make async_sandbox_factory teardown exception-safe Use asyncio.gather(..., return_exceptions=True) so a failure killing one sandbox doesn't skip cleanup of the others, matching the independence the previous per-finalizer approach provided. Co-Authored-By: Claude Opus 4.7 * Restrict poetry lock churn to security bumps Restore chart_data_extractor/poetry.lock to its Poetry 2.1.1 form (matches main; pydantic stays at 2.9.2). Rebuild python/poetry.lock from main with poetry lock --no-update + targeted poetry update for the vulnerable packages, so runtime deps (attrs, e2b, httpx) stay on their existing pins instead of pulling latest. Co-Authored-By: Claude Opus 4.7 --------- Co-authored-by: Claude Opus 4.7 --- chart_data_extractor/poetry.lock | 206 ++++----- chart_data_extractor/pyproject.toml | 2 +- pnpm-lock.yaml | 637 +++++++++++++++++++--------- python/poetry.lock | 241 ++++++----- python/pyproject.toml | 4 +- python/pytest.ini | 4 +- python/tests/conftest.py | 32 +- template/requirements.txt | 2 +- 8 files changed, 690 insertions(+), 438 deletions(-) diff --git a/chart_data_extractor/poetry.lock b/chart_data_extractor/poetry.lock index 74c58811..41fadde6 100644 --- a/chart_data_extractor/poetry.lock +++ b/chart_data_extractor/poetry.lock @@ -596,103 +596,103 @@ files = [ [[package]] name = "pillow" -version = "12.1.1" +version = "12.2.0" description = "Python Imaging Library (fork)" optional = false python-versions = ">=3.10" groups = ["main"] files = [ - {file = "pillow-12.1.1-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:1f1625b72740fdda5d77b4def688eb8fd6490975d06b909fd19f13f391e077e0"}, - {file = "pillow-12.1.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:178aa072084bd88ec759052feca8e56cbb14a60b39322b99a049e58090479713"}, - {file = "pillow-12.1.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b66e95d05ba806247aaa1561f080abc7975daf715c30780ff92a20e4ec546e1b"}, - {file = "pillow-12.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:89c7e895002bbe49cdc5426150377cbbc04767d7547ed145473f496dfa40408b"}, - {file = "pillow-12.1.1-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a5cbdcddad0af3da87cb16b60d23648bc3b51967eb07223e9fed77a82b457c4"}, - {file = "pillow-12.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9f51079765661884a486727f0729d29054242f74b46186026582b4e4769918e4"}, - {file = "pillow-12.1.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:99c1506ea77c11531d75e3a412832a13a71c7ebc8192ab9e4b2e355555920e3e"}, - {file = "pillow-12.1.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:36341d06738a9f66c8287cf8b876d24b18db9bd8740fa0672c74e259ad408cff"}, - {file = "pillow-12.1.1-cp310-cp310-win32.whl", hash = "sha256:6c52f062424c523d6c4db85518774cc3d50f5539dd6eed32b8f6229b26f24d40"}, - {file = "pillow-12.1.1-cp310-cp310-win_amd64.whl", hash = "sha256:c6008de247150668a705a6338156efb92334113421ceecf7438a12c9a12dab23"}, - {file = "pillow-12.1.1-cp310-cp310-win_arm64.whl", hash = "sha256:1a9b0ee305220b392e1124a764ee4265bd063e54a751a6b62eff69992f457fa9"}, - {file = "pillow-12.1.1-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:e879bb6cd5c73848ef3b2b48b8af9ff08c5b71ecda8048b7dd22d8a33f60be32"}, - {file = "pillow-12.1.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:365b10bb9417dd4498c0e3b128018c4a624dc11c7b97d8cc54effe3b096f4c38"}, - {file = "pillow-12.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d4ce8e329c93845720cd2014659ca67eac35f6433fd3050393d85f3ecef0dad5"}, - {file = "pillow-12.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc354a04072b765eccf2204f588a7a532c9511e8b9c7f900e1b64e3e33487090"}, - {file = "pillow-12.1.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7e7976bf1910a8116b523b9f9f58bf410f3e8aa330cd9a2bb2953f9266ab49af"}, - {file = "pillow-12.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:597bd9c8419bc7c6af5604e55847789b69123bbe25d65cc6ad3012b4f3c98d8b"}, - {file = "pillow-12.1.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2c1fc0f2ca5f96a3c8407e41cca26a16e46b21060fe6d5b099d2cb01412222f5"}, - {file = "pillow-12.1.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:578510d88c6229d735855e1f278aa305270438d36a05031dfaae5067cc8eb04d"}, - {file = "pillow-12.1.1-cp311-cp311-win32.whl", hash = "sha256:7311c0a0dcadb89b36b7025dfd8326ecfa36964e29913074d47382706e516a7c"}, - {file = "pillow-12.1.1-cp311-cp311-win_amd64.whl", hash = "sha256:fbfa2a7c10cc2623f412753cddf391c7f971c52ca40a3f65dc5039b2939e8563"}, - {file = "pillow-12.1.1-cp311-cp311-win_arm64.whl", hash = "sha256:b81b5e3511211631b3f672a595e3221252c90af017e399056d0faabb9538aa80"}, - {file = "pillow-12.1.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ab323b787d6e18b3d91a72fc99b1a2c28651e4358749842b8f8dfacd28ef2052"}, - {file = "pillow-12.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:adebb5bee0f0af4909c30db0d890c773d1a92ffe83da908e2e9e720f8edf3984"}, - {file = "pillow-12.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:bb66b7cc26f50977108790e2456b7921e773f23db5630261102233eb355a3b79"}, - {file = "pillow-12.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aee2810642b2898bb187ced9b349e95d2a7272930796e022efaf12e99dccd293"}, - {file = "pillow-12.1.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a0b1cd6232e2b618adcc54d9882e4e662a089d5768cd188f7c245b4c8c44a397"}, - {file = "pillow-12.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7aac39bcf8d4770d089588a2e1dd111cbaa42df5a94be3114222057d68336bd0"}, - {file = "pillow-12.1.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ab174cd7d29a62dd139c44bf74b698039328f45cb03b4596c43473a46656b2f3"}, - {file = "pillow-12.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:339ffdcb7cbeaa08221cd401d517d4b1fe7a9ed5d400e4a8039719238620ca35"}, - {file = "pillow-12.1.1-cp312-cp312-win32.whl", hash = "sha256:5d1f9575a12bed9e9eedd9a4972834b08c97a352bd17955ccdebfeca5913fa0a"}, - {file = "pillow-12.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:21329ec8c96c6e979cd0dfd29406c40c1d52521a90544463057d2aaa937d66a6"}, - {file = "pillow-12.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:af9a332e572978f0218686636610555ae3defd1633597be015ed50289a03c523"}, - {file = "pillow-12.1.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d242e8ac078781f1de88bf823d70c1a9b3c7950a44cdf4b7c012e22ccbcd8e4e"}, - {file = "pillow-12.1.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:02f84dfad02693676692746df05b89cf25597560db2857363a208e393429f5e9"}, - {file = "pillow-12.1.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:e65498daf4b583091ccbb2556c7000abf0f3349fcd57ef7adc9a84a394ed29f6"}, - {file = "pillow-12.1.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6c6db3b84c87d48d0088943bf33440e0c42370b99b1c2a7989216f7b42eede60"}, - {file = "pillow-12.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8b7e5304e34942bf62e15184219a7b5ad4ff7f3bb5cca4d984f37df1a0e1aee2"}, - {file = "pillow-12.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:18e5bddd742a44b7e6b1e773ab5db102bd7a94c32555ba656e76d319d19c3850"}, - {file = "pillow-12.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc44ef1f3de4f45b50ccf9136999d71abb99dca7706bc75d222ed350b9fd2289"}, - {file = "pillow-12.1.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5a8eb7ed8d4198bccbd07058416eeec51686b498e784eda166395a23eb99138e"}, - {file = "pillow-12.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:47b94983da0c642de92ced1702c5b6c292a84bd3a8e1d1702ff923f183594717"}, - {file = "pillow-12.1.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:518a48c2aab7ce596d3bf79d0e275661b846e86e4d0e7dec34712c30fe07f02a"}, - {file = "pillow-12.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a550ae29b95c6dc13cf69e2c9dc5747f814c54eeb2e32d683e5e93af56caa029"}, - {file = "pillow-12.1.1-cp313-cp313-win32.whl", hash = "sha256:a003d7422449f6d1e3a34e3dd4110c22148336918ddbfc6a32581cd54b2e0b2b"}, - {file = "pillow-12.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:344cf1e3dab3be4b1fa08e449323d98a2a3f819ad20f4b22e77a0ede31f0faa1"}, - {file = "pillow-12.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:5c0dd1636633e7e6a0afe7bf6a51a14992b7f8e60de5789018ebbdfae55b040a"}, - {file = "pillow-12.1.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0330d233c1a0ead844fc097a7d16c0abff4c12e856c0b325f231820fee1f39da"}, - {file = "pillow-12.1.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5dae5f21afb91322f2ff791895ddd8889e5e947ff59f71b46041c8ce6db790bc"}, - {file = "pillow-12.1.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2e0c664be47252947d870ac0d327fea7e63985a08794758aa8af5b6cb6ec0c9c"}, - {file = "pillow-12.1.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:691ab2ac363b8217f7d31b3497108fb1f50faab2f75dfb03284ec2f217e87bf8"}, - {file = "pillow-12.1.1-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e9e8064fb1cc019296958595f6db671fba95209e3ceb0c4734c9baf97de04b20"}, - {file = "pillow-12.1.1-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:472a8d7ded663e6162dafdf20015c486a7009483ca671cece7a9279b512fcb13"}, - {file = "pillow-12.1.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:89b54027a766529136a06cfebeecb3a04900397a3590fd252160b888479517bf"}, - {file = "pillow-12.1.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:86172b0831b82ce4f7877f280055892b31179e1576aa00d0df3bb1bbf8c3e524"}, - {file = "pillow-12.1.1-cp313-cp313t-win32.whl", hash = "sha256:44ce27545b6efcf0fdbdceb31c9a5bdea9333e664cda58a7e674bb74608b3986"}, - {file = "pillow-12.1.1-cp313-cp313t-win_amd64.whl", hash = "sha256:a285e3eb7a5a45a2ff504e31f4a8d1b12ef62e84e5411c6804a42197c1cf586c"}, - {file = "pillow-12.1.1-cp313-cp313t-win_arm64.whl", hash = "sha256:cc7d296b5ea4d29e6570dabeaed58d31c3fea35a633a69679fb03d7664f43fb3"}, - {file = "pillow-12.1.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:417423db963cb4be8bac3fc1204fe61610f6abeed1580a7a2cbb2fbda20f12af"}, - {file = "pillow-12.1.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:b957b71c6b2387610f556a7eb0828afbe40b4a98036fc0d2acfa5a44a0c2036f"}, - {file = "pillow-12.1.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:097690ba1f2efdeb165a20469d59d8bb03c55fb6621eb2041a060ae8ea3e9642"}, - {file = "pillow-12.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2815a87ab27848db0321fb78c7f0b2c8649dee134b7f2b80c6a45c6831d75ccd"}, - {file = "pillow-12.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:f7ed2c6543bad5a7d5530eb9e78c53132f93dfa44a28492db88b41cdab885202"}, - {file = "pillow-12.1.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:652a2c9ccfb556235b2b501a3a7cf3742148cd22e04b5625c5fe057ea3e3191f"}, - {file = "pillow-12.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d6e4571eedf43af33d0fc233a382a76e849badbccdf1ac438841308652a08e1f"}, - {file = "pillow-12.1.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b574c51cf7d5d62e9be37ba446224b59a2da26dc4c1bb2ecbe936a4fb1a7cb7f"}, - {file = "pillow-12.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a37691702ed687799de29a518d63d4682d9016932db66d4e90c345831b02fb4e"}, - {file = "pillow-12.1.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:f95c00d5d6700b2b890479664a06e754974848afaae5e21beb4d83c106923fd0"}, - {file = "pillow-12.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:559b38da23606e68681337ad74622c4dbba02254fc9cb4488a305dd5975c7eeb"}, - {file = "pillow-12.1.1-cp314-cp314-win32.whl", hash = "sha256:03edcc34d688572014ff223c125a3f77fb08091e4607e7745002fc214070b35f"}, - {file = "pillow-12.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:50480dcd74fa63b8e78235957d302d98d98d82ccbfac4c7e12108ba9ecbdba15"}, - {file = "pillow-12.1.1-cp314-cp314-win_arm64.whl", hash = "sha256:5cb1785d97b0c3d1d1a16bc1d710c4a0049daefc4935f3a8f31f827f4d3d2e7f"}, - {file = "pillow-12.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:1f90cff8aa76835cba5769f0b3121a22bd4eb9e6884cfe338216e557a9a548b8"}, - {file = "pillow-12.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1f1be78ce9466a7ee64bfda57bdba0f7cc499d9794d518b854816c41bf0aa4e9"}, - {file = "pillow-12.1.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:42fc1f4677106188ad9a55562bbade416f8b55456f522430fadab3cef7cd4e60"}, - {file = "pillow-12.1.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:98edb152429ab62a1818039744d8fbb3ccab98a7c29fc3d5fcef158f3f1f68b7"}, - {file = "pillow-12.1.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d470ab1178551dd17fdba0fef463359c41aaa613cdcd7ff8373f54be629f9f8f"}, - {file = "pillow-12.1.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6408a7b064595afcab0a49393a413732a35788f2a5092fdc6266952ed67de586"}, - {file = "pillow-12.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5d8c41325b382c07799a3682c1c258469ea2ff97103c53717b7893862d0c98ce"}, - {file = "pillow-12.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c7697918b5be27424e9ce568193efd13d925c4481dd364e43f5dff72d33e10f8"}, - {file = "pillow-12.1.1-cp314-cp314t-win32.whl", hash = "sha256:d2912fd8114fc5545aa3a4b5576512f64c55a03f3ebcca4c10194d593d43ea36"}, - {file = "pillow-12.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:4ceb838d4bd9dab43e06c363cab2eebf63846d6a4aeaea283bbdfd8f1a8ed58b"}, - {file = "pillow-12.1.1-cp314-cp314t-win_arm64.whl", hash = "sha256:7b03048319bfc6170e93bd60728a1af51d3dd7704935feb228c4d4faab35d334"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:600fd103672b925fe62ed08e0d874ea34d692474df6f4bf7ebe148b30f89f39f"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:665e1b916b043cef294bc54d47bf02d87e13f769bc4bc5fa225a24b3a6c5aca9"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:495c302af3aad1ca67420ddd5c7bd480c8867ad173528767d906428057a11f0e"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8fd420ef0c52c88b5a035a0886f367748c72147b2b8f384c9d12656678dfdfa9"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f975aa7ef9684ce7e2c18a3aa8f8e2106ce1e46b94ab713d156b2898811651d3"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8089c852a56c2966cf18835db62d9b34fef7ba74c726ad943928d494fa7f4735"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:cb9bb857b2d057c6dfc72ac5f3b44836924ba15721882ef103cecb40d002d80e"}, - {file = "pillow-12.1.1.tar.gz", hash = "sha256:9ad8fa5937ab05218e2b6a4cff30295ad35afd2f83ac592e68c0d871bb0fdbc4"}, + {file = "pillow-12.2.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:a4e8f36e677d3336f35089648c8955c51c6d386a13cf6ee9c189c5f5bd713a9f"}, + {file = "pillow-12.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2e589959f10d9824d39b350472b92f0ce3b443c0a3442ebf41c40cb8361c5b97"}, + {file = "pillow-12.2.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a52edc8bfff4429aaabdf4d9ee0daadbbf8562364f940937b941f87a4290f5ff"}, + {file = "pillow-12.2.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:975385f4776fafde056abb318f612ef6285b10a1f12b8570f3647ad0d74b48ec"}, + {file = "pillow-12.2.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bd9c0c7a0c681a347b3194c500cb1e6ca9cab053ea4d82a5cf45b6b754560136"}, + {file = "pillow-12.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:88d387ff40b3ff7c274947ed3125dedf5262ec6919d83946753b5f3d7c67ea4c"}, + {file = "pillow-12.2.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:51c4167c34b0d8ba05b547a3bb23578d0ba17b80a5593f93bd8ecb123dd336a3"}, + {file = "pillow-12.2.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:34c0d99ecccea270c04882cb3b86e7b57296079c9a4aff88cb3b33563d95afaa"}, + {file = "pillow-12.2.0-cp310-cp310-win32.whl", hash = "sha256:b85f66ae9eb53e860a873b858b789217ba505e5e405a24b85c0464822fe88032"}, + {file = "pillow-12.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:673aa32138f3e7531ccdbca7b3901dba9b70940a19ccecc6a37c77d5fdeb05b5"}, + {file = "pillow-12.2.0-cp310-cp310-win_arm64.whl", hash = "sha256:3e080565d8d7c671db5802eedfb438e5565ffa40115216eabb8cd52d0ecce024"}, + {file = "pillow-12.2.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:8be29e59487a79f173507c30ddf57e733a357f67881430449bb32614075a40ab"}, + {file = "pillow-12.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:71cde9a1e1551df7d34a25462fc60325e8a11a82cc2e2f54578e5e9a1e153d65"}, + {file = "pillow-12.2.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f490f9368b6fc026f021db16d7ec2fbf7d89e2edb42e8ec09d2c60505f5729c7"}, + {file = "pillow-12.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8bd7903a5f2a4545f6fd5935c90058b89d30045568985a71c79f5fd6edf9b91e"}, + {file = "pillow-12.2.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3997232e10d2920a68d25191392e3a4487d8183039e1c74c2297f00ed1c50705"}, + {file = "pillow-12.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e74473c875d78b8e9d5da2a70f7099549f9eb37ded4e2f6a463e60125bccd176"}, + {file = "pillow-12.2.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:56a3f9c60a13133a98ecff6197af34d7824de9b7b38c3654861a725c970c197b"}, + {file = "pillow-12.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:90e6f81de50ad6b534cab6e5aef77ff6e37722b2f5d908686f4a5c9eba17a909"}, + {file = "pillow-12.2.0-cp311-cp311-win32.whl", hash = "sha256:8c984051042858021a54926eb597d6ee3012393ce9c181814115df4c60b9a808"}, + {file = "pillow-12.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:6e6b2a0c538fc200b38ff9eb6628228b77908c319a005815f2dde585a0664b60"}, + {file = "pillow-12.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:9a8a34cc89c67a65ea7437ce257cea81a9dad65b29805f3ecee8c8fe8ff25ffe"}, + {file = "pillow-12.2.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2d192a155bbcec180f8564f693e6fd9bccff5a7af9b32e2e4bf8c9c69dbad6b5"}, + {file = "pillow-12.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f3f40b3c5a968281fd507d519e444c35f0ff171237f4fdde090dd60699458421"}, + {file = "pillow-12.2.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:03e7e372d5240cc23e9f07deca4d775c0817bffc641b01e9c3af208dbd300987"}, + {file = "pillow-12.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b86024e52a1b269467a802258c25521e6d742349d760728092e1bc2d135b4d76"}, + {file = "pillow-12.2.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7371b48c4fa448d20d2714c9a1f775a81155050d383333e0a6c15b1123dda005"}, + {file = "pillow-12.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:62f5409336adb0663b7caa0da5c7d9e7bdbaae9ce761d34669420c2a801b2780"}, + {file = "pillow-12.2.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:01afa7cf67f74f09523699b4e88c73fb55c13346d212a59a2db1f86b0a63e8c5"}, + {file = "pillow-12.2.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc3d34d4a8fbec3e88a79b92e5465e0f9b842b628675850d860b8bd300b159f5"}, + {file = "pillow-12.2.0-cp312-cp312-win32.whl", hash = "sha256:58f62cc0f00fd29e64b29f4fd923ffdb3859c9f9e6105bfc37ba1d08994e8940"}, + {file = "pillow-12.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:7f84204dee22a783350679a0333981df803dac21a0190d706a50475e361c93f5"}, + {file = "pillow-12.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:af73337013e0b3b46f175e79492d96845b16126ddf79c438d7ea7ff27783a414"}, + {file = "pillow-12.2.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:8297651f5b5679c19968abefd6bb84d95fe30ef712eb1b2d9b2d31ca61267f4c"}, + {file = "pillow-12.2.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:50d8520da2a6ce0af445fa6d648c4273c3eeefbc32d7ce049f22e8b5c3daecc2"}, + {file = "pillow-12.2.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:766cef22385fa1091258ad7e6216792b156dc16d8d3fa607e7545b2b72061f1c"}, + {file = "pillow-12.2.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5d2fd0fa6b5d9d1de415060363433f28da8b1526c1c129020435e186794b3795"}, + {file = "pillow-12.2.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:56b25336f502b6ed02e889f4ece894a72612fe885889a6e8c4c80239ff6e5f5f"}, + {file = "pillow-12.2.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f1c943e96e85df3d3478f7b691f229887e143f81fedab9b20205349ab04d73ed"}, + {file = "pillow-12.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:03f6fab9219220f041c74aeaa2939ff0062bd5c364ba9ce037197f4c6d498cd9"}, + {file = "pillow-12.2.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5cdfebd752ec52bf5bb4e35d9c64b40826bc5b40a13df7c3cda20a2c03a0f5ed"}, + {file = "pillow-12.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eedf4b74eda2b5a4b2b2fb4c006d6295df3bf29e459e198c90ea48e130dc75c3"}, + {file = "pillow-12.2.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:00a2865911330191c0b818c59103b58a5e697cae67042366970a6b6f1b20b7f9"}, + {file = "pillow-12.2.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1e1757442ed87f4912397c6d35a0db6a7b52592156014706f17658ff58bbf795"}, + {file = "pillow-12.2.0-cp313-cp313-win32.whl", hash = "sha256:144748b3af2d1b358d41286056d0003f47cb339b8c43a9ea42f5fea4d8c66b6e"}, + {file = "pillow-12.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:390ede346628ccc626e5730107cde16c42d3836b89662a115a921f28440e6a3b"}, + {file = "pillow-12.2.0-cp313-cp313-win_arm64.whl", hash = "sha256:8023abc91fba39036dbce14a7d6535632f99c0b857807cbbbf21ecc9f4717f06"}, + {file = "pillow-12.2.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:042db20a421b9bafecc4b84a8b6e444686bd9d836c7fd24542db3e7df7baad9b"}, + {file = "pillow-12.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:dd025009355c926a84a612fecf58bb315a3f6814b17ead51a8e48d3823d9087f"}, + {file = "pillow-12.2.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:88ddbc66737e277852913bd1e07c150cc7bb124539f94c4e2df5344494e0a612"}, + {file = "pillow-12.2.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d362d1878f00c142b7e1a16e6e5e780f02be8195123f164edf7eddd911eefe7c"}, + {file = "pillow-12.2.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c727a6d53cb0018aadd8018c2b938376af27914a68a492f59dfcaca650d5eea"}, + {file = "pillow-12.2.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:efd8c21c98c5cc60653bcb311bef2ce0401642b7ce9d09e03a7da87c878289d4"}, + {file = "pillow-12.2.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9f08483a632889536b8139663db60f6724bfcb443c96f1b18855860d7d5c0fd4"}, + {file = "pillow-12.2.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:dac8d77255a37e81a2efcbd1fc05f1c15ee82200e6c240d7e127e25e365c39ea"}, + {file = "pillow-12.2.0-cp313-cp313t-win32.whl", hash = "sha256:ee3120ae9dff32f121610bb08e4313be87e03efeadfc6c0d18f89127e24d0c24"}, + {file = "pillow-12.2.0-cp313-cp313t-win_amd64.whl", hash = "sha256:325ca0528c6788d2a6c3d40e3568639398137346c3d6e66bb61db96b96511c98"}, + {file = "pillow-12.2.0-cp313-cp313t-win_arm64.whl", hash = "sha256:2e5a76d03a6c6dcef67edabda7a52494afa4035021a79c8558e14af25313d453"}, + {file = "pillow-12.2.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:3adc9215e8be0448ed6e814966ecf3d9952f0ea40eb14e89a102b87f450660d8"}, + {file = "pillow-12.2.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:6a9adfc6d24b10f89588096364cc726174118c62130c817c2837c60cf08a392b"}, + {file = "pillow-12.2.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:6a6e67ea2e6feda684ed370f9a1c52e7a243631c025ba42149a2cc5934dec295"}, + {file = "pillow-12.2.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2bb4a8d594eacdfc59d9e5ad972aa8afdd48d584ffd5f13a937a664c3e7db0ed"}, + {file = "pillow-12.2.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:80b2da48193b2f33ed0c32c38140f9d3186583ce7d516526d462645fd98660ae"}, + {file = "pillow-12.2.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:22db17c68434de69d8ecfc2fe821569195c0c373b25cccb9cbdacf2c6e53c601"}, + {file = "pillow-12.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7b14cc0106cd9aecda615dd6903840a058b4700fcb817687d0ee4fc8b6e389be"}, + {file = "pillow-12.2.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8cbeb542b2ebc6fcdacabf8aca8c1a97c9b3ad3927d46b8723f9d4f033288a0f"}, + {file = "pillow-12.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4bfd07bc812fbd20395212969e41931001fd59eb55a60658b0e5710872e95286"}, + {file = "pillow-12.2.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9aba9a17b623ef750a4d11b742cbafffeb48a869821252b30ee21b5e91392c50"}, + {file = "pillow-12.2.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:deede7c263feb25dba4e82ea23058a235dcc2fe1f6021025dc71f2b618e26104"}, + {file = "pillow-12.2.0-cp314-cp314-win32.whl", hash = "sha256:632ff19b2778e43162304d50da0181ce24ac5bb8180122cbe1bf4673428328c7"}, + {file = "pillow-12.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:4e6c62e9d237e9b65fac06857d511e90d8461a32adcc1b9065ea0c0fa3a28150"}, + {file = "pillow-12.2.0-cp314-cp314-win_arm64.whl", hash = "sha256:b1c1fbd8a5a1af3412a0810d060a78b5136ec0836c8a4ef9aa11807f2a22f4e1"}, + {file = "pillow-12.2.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:57850958fe9c751670e49b2cecf6294acc99e562531f4bd317fa5ddee2068463"}, + {file = "pillow-12.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:d5d38f1411c0ed9f97bcb49b7bd59b6b7c314e0e27420e34d99d844b9ce3b6f3"}, + {file = "pillow-12.2.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5c0a9f29ca8e79f09de89293f82fc9b0270bb4af1d58bc98f540cc4aedf03166"}, + {file = "pillow-12.2.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1610dd6c61621ae1cf811bef44d77e149ce3f7b95afe66a4512f8c59f25d9ebe"}, + {file = "pillow-12.2.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0a34329707af4f73cf1782a36cd2289c0368880654a2c11f027bcee9052d35dd"}, + {file = "pillow-12.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e9c4f5b3c546fa3458a29ab22646c1c6c787ea8f5ef51300e5a60300736905e"}, + {file = "pillow-12.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:fb043ee2f06b41473269765c2feae53fc2e2fbf96e5e22ca94fb5ad677856f06"}, + {file = "pillow-12.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f278f034eb75b4e8a13a54a876cc4a5ab39173d2cdd93a638e1b467fc545ac43"}, + {file = "pillow-12.2.0-cp314-cp314t-win32.whl", hash = "sha256:6bb77b2dcb06b20f9f4b4a8454caa581cd4dd0643a08bacf821216a16d9c8354"}, + {file = "pillow-12.2.0-cp314-cp314t-win_amd64.whl", hash = "sha256:6562ace0d3fb5f20ed7290f1f929cae41b25ae29528f2af1722966a0a02e2aa1"}, + {file = "pillow-12.2.0-cp314-cp314t-win_arm64.whl", hash = "sha256:aa88ccfe4e32d362816319ed727a004423aab09c5cea43c01a4b435643fa34eb"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0538bd5e05efec03ae613fd89c4ce0368ecd2ba239cc25b9f9be7ed426b0af1f"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:394167b21da716608eac917c60aa9b969421b5dcbbe02ae7f013e7b85811c69d"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5d04bfa02cc2d23b497d1e90a0f927070043f6cbf303e738300532379a4b4e0f"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0c838a5125cee37e68edec915651521191cef1e6aa336b855f495766e77a366e"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4a6c9fa44005fa37a91ebfc95d081e8079757d2e904b27103f4f5fa6f0bf78c0"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:25373b66e0dd5905ed63fa3cae13c82fbddf3079f2c8bf15c6fb6a35586324c1"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:bfa9c230d2fe991bed5318a5f119bd6780cda2915cca595393649fc118ab895e"}, + {file = "pillow-12.2.0.tar.gz", hash = "sha256:a830b1a40919539d07806aa58e1b114df53ddd43213d9c8b75847eee6c0182b5"}, ] [package.extras] @@ -847,14 +847,14 @@ typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" [[package]] name = "pygments" -version = "2.19.2" +version = "2.20.0" description = "Pygments is a syntax highlighting package written in Python." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b"}, - {file = "pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887"}, + {file = "pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176"}, + {file = "pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f"}, ] [package.extras] @@ -877,21 +877,21 @@ diagrams = ["jinja2", "railroad-diagrams"] [[package]] name = "pytest" -version = "8.4.2" +version = "9.0.3" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" groups = ["dev"] files = [ - {file = "pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79"}, - {file = "pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"}, + {file = "pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9"}, + {file = "pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c"}, ] [package.dependencies] colorama = {version = ">=0.4", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1", markers = "python_version < \"3.11\""} -iniconfig = ">=1" -packaging = ">=20" +iniconfig = ">=1.0.1" +packaging = ">=22" pluggy = ">=1.5,<2" pygments = ">=2.7.2" tomli = {version = ">=1", markers = "python_version < \"3.11\""} @@ -1059,4 +1059,4 @@ markers = {dev = "python_version < \"3.11\""} [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "7c5ae094b100602377714f266326fd947b979c004c0bd1dcaf915f290f63069b" +content-hash = "3cc28939d00ff71865731a15db02967ee9edafb37daa70de9a9e1be1c397ac18" diff --git a/chart_data_extractor/pyproject.toml b/chart_data_extractor/pyproject.toml index 1604bbac..66cf7255 100644 --- a/chart_data_extractor/pyproject.toml +++ b/chart_data_extractor/pyproject.toml @@ -17,7 +17,7 @@ matplotlib = "^3.10.3" pydantic = "^2.9.1" [tool.poetry.group.dev.dependencies] -pytest = "^8.3.5" +pytest = "^9.0.3" python-dotenv = "^1.2.1" pytest-dotenv = "^0.5.2" ruff = "^0.11.12" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e700fcab..c92e4c61 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,7 +65,7 @@ importers: version: 17.1.18 tsup: specifier: ^8.5.1 - version: 8.5.1(jiti@2.4.2)(postcss@8.5.3)(typescript@5.7.3)(yaml@2.7.0) + version: 8.5.1(jiti@2.4.2)(postcss@8.5.12)(typescript@5.7.3)(yaml@2.7.0) typescript: specifier: ^5.5.3 version: 5.7.3 @@ -118,23 +118,17 @@ packages: peerDependencies: '@bufbuild/protobuf': ^2.2.0 - '@esbuild/aix-ppc64@0.25.0': - resolution: {integrity: sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [aix] - '@esbuild/aix-ppc64@0.27.2': resolution: {integrity: sha512-GZMB+a0mOMZs4MpDbj8RJp4cw+w1WV5NYD6xzgvzUJ5Ek2jerwfO2eADyI6ExDSUED+1X8aMbegahsJi+8mgpw==} engines: {node: '>=18'} cpu: [ppc64] os: [aix] - '@esbuild/android-arm64@0.25.0': - resolution: {integrity: sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==} + '@esbuild/aix-ppc64@0.27.7': + resolution: {integrity: sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==} engines: {node: '>=18'} - cpu: [arm64] - os: [android] + cpu: [ppc64] + os: [aix] '@esbuild/android-arm64@0.27.2': resolution: {integrity: sha512-pvz8ZZ7ot/RBphf8fv60ljmaoydPU12VuXHImtAs0XhLLw+EXBi2BLe3OYSBslR4rryHvweW5gmkKFwTiFy6KA==} @@ -142,10 +136,10 @@ packages: cpu: [arm64] os: [android] - '@esbuild/android-arm@0.25.0': - resolution: {integrity: sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==} + '@esbuild/android-arm64@0.27.7': + resolution: {integrity: sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==} engines: {node: '>=18'} - cpu: [arm] + cpu: [arm64] os: [android] '@esbuild/android-arm@0.27.2': @@ -154,10 +148,10 @@ packages: cpu: [arm] os: [android] - '@esbuild/android-x64@0.25.0': - resolution: {integrity: sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==} + '@esbuild/android-arm@0.27.7': + resolution: {integrity: sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==} engines: {node: '>=18'} - cpu: [x64] + cpu: [arm] os: [android] '@esbuild/android-x64@0.27.2': @@ -166,11 +160,11 @@ packages: cpu: [x64] os: [android] - '@esbuild/darwin-arm64@0.25.0': - resolution: {integrity: sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==} + '@esbuild/android-x64@0.27.7': + resolution: {integrity: sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==} engines: {node: '>=18'} - cpu: [arm64] - os: [darwin] + cpu: [x64] + os: [android] '@esbuild/darwin-arm64@0.27.2': resolution: {integrity: sha512-davCD2Zc80nzDVRwXTcQP/28fiJbcOwvdolL0sOiOsbwBa72kegmVU0Wrh1MYrbuCL98Omp5dVhQFWRKR2ZAlg==} @@ -178,10 +172,10 @@ packages: cpu: [arm64] os: [darwin] - '@esbuild/darwin-x64@0.25.0': - resolution: {integrity: sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==} + '@esbuild/darwin-arm64@0.27.7': + resolution: {integrity: sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==} engines: {node: '>=18'} - cpu: [x64] + cpu: [arm64] os: [darwin] '@esbuild/darwin-x64@0.27.2': @@ -190,11 +184,11 @@ packages: cpu: [x64] os: [darwin] - '@esbuild/freebsd-arm64@0.25.0': - resolution: {integrity: sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==} + '@esbuild/darwin-x64@0.27.7': + resolution: {integrity: sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==} engines: {node: '>=18'} - cpu: [arm64] - os: [freebsd] + cpu: [x64] + os: [darwin] '@esbuild/freebsd-arm64@0.27.2': resolution: {integrity: sha512-lS/9CN+rgqQ9czogxlMcBMGd+l8Q3Nj1MFQwBZJyoEKI50XGxwuzznYdwcav6lpOGv5BqaZXqvBSiB/kJ5op+g==} @@ -202,10 +196,10 @@ packages: cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-x64@0.25.0': - resolution: {integrity: sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==} + '@esbuild/freebsd-arm64@0.27.7': + resolution: {integrity: sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==} engines: {node: '>=18'} - cpu: [x64] + cpu: [arm64] os: [freebsd] '@esbuild/freebsd-x64@0.27.2': @@ -214,11 +208,11 @@ packages: cpu: [x64] os: [freebsd] - '@esbuild/linux-arm64@0.25.0': - resolution: {integrity: sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==} + '@esbuild/freebsd-x64@0.27.7': + resolution: {integrity: sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==} engines: {node: '>=18'} - cpu: [arm64] - os: [linux] + cpu: [x64] + os: [freebsd] '@esbuild/linux-arm64@0.27.2': resolution: {integrity: sha512-hYxN8pr66NsCCiRFkHUAsxylNOcAQaxSSkHMMjcpx0si13t1LHFphxJZUiGwojB1a/Hd5OiPIqDdXONia6bhTw==} @@ -226,10 +220,10 @@ packages: cpu: [arm64] os: [linux] - '@esbuild/linux-arm@0.25.0': - resolution: {integrity: sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==} + '@esbuild/linux-arm64@0.27.7': + resolution: {integrity: sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==} engines: {node: '>=18'} - cpu: [arm] + cpu: [arm64] os: [linux] '@esbuild/linux-arm@0.27.2': @@ -238,10 +232,10 @@ packages: cpu: [arm] os: [linux] - '@esbuild/linux-ia32@0.25.0': - resolution: {integrity: sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==} + '@esbuild/linux-arm@0.27.7': + resolution: {integrity: sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==} engines: {node: '>=18'} - cpu: [ia32] + cpu: [arm] os: [linux] '@esbuild/linux-ia32@0.27.2': @@ -250,10 +244,10 @@ packages: cpu: [ia32] os: [linux] - '@esbuild/linux-loong64@0.25.0': - resolution: {integrity: sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==} + '@esbuild/linux-ia32@0.27.7': + resolution: {integrity: sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==} engines: {node: '>=18'} - cpu: [loong64] + cpu: [ia32] os: [linux] '@esbuild/linux-loong64@0.27.2': @@ -262,10 +256,10 @@ packages: cpu: [loong64] os: [linux] - '@esbuild/linux-mips64el@0.25.0': - resolution: {integrity: sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==} + '@esbuild/linux-loong64@0.27.7': + resolution: {integrity: sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==} engines: {node: '>=18'} - cpu: [mips64el] + cpu: [loong64] os: [linux] '@esbuild/linux-mips64el@0.27.2': @@ -274,10 +268,10 @@ packages: cpu: [mips64el] os: [linux] - '@esbuild/linux-ppc64@0.25.0': - resolution: {integrity: sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==} + '@esbuild/linux-mips64el@0.27.7': + resolution: {integrity: sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==} engines: {node: '>=18'} - cpu: [ppc64] + cpu: [mips64el] os: [linux] '@esbuild/linux-ppc64@0.27.2': @@ -286,10 +280,10 @@ packages: cpu: [ppc64] os: [linux] - '@esbuild/linux-riscv64@0.25.0': - resolution: {integrity: sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==} + '@esbuild/linux-ppc64@0.27.7': + resolution: {integrity: sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==} engines: {node: '>=18'} - cpu: [riscv64] + cpu: [ppc64] os: [linux] '@esbuild/linux-riscv64@0.27.2': @@ -298,10 +292,10 @@ packages: cpu: [riscv64] os: [linux] - '@esbuild/linux-s390x@0.25.0': - resolution: {integrity: sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==} + '@esbuild/linux-riscv64@0.27.7': + resolution: {integrity: sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==} engines: {node: '>=18'} - cpu: [s390x] + cpu: [riscv64] os: [linux] '@esbuild/linux-s390x@0.27.2': @@ -310,10 +304,10 @@ packages: cpu: [s390x] os: [linux] - '@esbuild/linux-x64@0.25.0': - resolution: {integrity: sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==} + '@esbuild/linux-s390x@0.27.7': + resolution: {integrity: sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==} engines: {node: '>=18'} - cpu: [x64] + cpu: [s390x] os: [linux] '@esbuild/linux-x64@0.27.2': @@ -322,11 +316,11 @@ packages: cpu: [x64] os: [linux] - '@esbuild/netbsd-arm64@0.25.0': - resolution: {integrity: sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==} + '@esbuild/linux-x64@0.27.7': + resolution: {integrity: sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==} engines: {node: '>=18'} - cpu: [arm64] - os: [netbsd] + cpu: [x64] + os: [linux] '@esbuild/netbsd-arm64@0.27.2': resolution: {integrity: sha512-Kj6DiBlwXrPsCRDeRvGAUb/LNrBASrfqAIok+xB0LxK8CHqxZ037viF13ugfsIpePH93mX7xfJp97cyDuTZ3cw==} @@ -334,10 +328,10 @@ packages: cpu: [arm64] os: [netbsd] - '@esbuild/netbsd-x64@0.25.0': - resolution: {integrity: sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==} + '@esbuild/netbsd-arm64@0.27.7': + resolution: {integrity: sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==} engines: {node: '>=18'} - cpu: [x64] + cpu: [arm64] os: [netbsd] '@esbuild/netbsd-x64@0.27.2': @@ -346,11 +340,11 @@ packages: cpu: [x64] os: [netbsd] - '@esbuild/openbsd-arm64@0.25.0': - resolution: {integrity: sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==} + '@esbuild/netbsd-x64@0.27.7': + resolution: {integrity: sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==} engines: {node: '>=18'} - cpu: [arm64] - os: [openbsd] + cpu: [x64] + os: [netbsd] '@esbuild/openbsd-arm64@0.27.2': resolution: {integrity: sha512-DNIHH2BPQ5551A7oSHD0CKbwIA/Ox7+78/AWkbS5QoRzaqlev2uFayfSxq68EkonB+IKjiuxBFoV8ESJy8bOHA==} @@ -358,10 +352,10 @@ packages: cpu: [arm64] os: [openbsd] - '@esbuild/openbsd-x64@0.25.0': - resolution: {integrity: sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==} + '@esbuild/openbsd-arm64@0.27.7': + resolution: {integrity: sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==} engines: {node: '>=18'} - cpu: [x64] + cpu: [arm64] os: [openbsd] '@esbuild/openbsd-x64@0.27.2': @@ -370,17 +364,23 @@ packages: cpu: [x64] os: [openbsd] + '@esbuild/openbsd-x64@0.27.7': + resolution: {integrity: sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + '@esbuild/openharmony-arm64@0.27.2': resolution: {integrity: sha512-LRBbCmiU51IXfeXk59csuX/aSaToeG7w48nMwA6049Y4J4+VbWALAuXcs+qcD04rHDuSCSRKdmY63sruDS5qag==} engines: {node: '>=18'} cpu: [arm64] os: [openharmony] - '@esbuild/sunos-x64@0.25.0': - resolution: {integrity: sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==} + '@esbuild/openharmony-arm64@0.27.7': + resolution: {integrity: sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==} engines: {node: '>=18'} - cpu: [x64] - os: [sunos] + cpu: [arm64] + os: [openharmony] '@esbuild/sunos-x64@0.27.2': resolution: {integrity: sha512-kMtx1yqJHTmqaqHPAzKCAkDaKsffmXkPHThSfRwZGyuqyIeBvf08KSsYXl+abf5HDAPMJIPnbBfXvP2ZC2TfHg==} @@ -388,11 +388,11 @@ packages: cpu: [x64] os: [sunos] - '@esbuild/win32-arm64@0.25.0': - resolution: {integrity: sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==} + '@esbuild/sunos-x64@0.27.7': + resolution: {integrity: sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==} engines: {node: '>=18'} - cpu: [arm64] - os: [win32] + cpu: [x64] + os: [sunos] '@esbuild/win32-arm64@0.27.2': resolution: {integrity: sha512-Yaf78O/B3Kkh+nKABUF++bvJv5Ijoy9AN1ww904rOXZFLWVc5OLOfL56W+C8F9xn5JQZa3UX6m+IktJnIb1Jjg==} @@ -400,10 +400,10 @@ packages: cpu: [arm64] os: [win32] - '@esbuild/win32-ia32@0.25.0': - resolution: {integrity: sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==} + '@esbuild/win32-arm64@0.27.7': + resolution: {integrity: sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==} engines: {node: '>=18'} - cpu: [ia32] + cpu: [arm64] os: [win32] '@esbuild/win32-ia32@0.27.2': @@ -412,10 +412,10 @@ packages: cpu: [ia32] os: [win32] - '@esbuild/win32-x64@0.25.0': - resolution: {integrity: sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==} + '@esbuild/win32-ia32@0.27.7': + resolution: {integrity: sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==} engines: {node: '>=18'} - cpu: [x64] + cpu: [ia32] os: [win32] '@esbuild/win32-x64@0.27.2': @@ -424,6 +424,12 @@ packages: cpu: [x64] os: [win32] + '@esbuild/win32-x64@0.27.7': + resolution: {integrity: sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + '@eslint-community/eslint-utils@4.7.0': resolution: {integrity: sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -516,51 +522,111 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.60.2': + resolution: {integrity: sha512-dnlp69efPPg6Uaw2dVqzWRfAWRnYVb1XJ8CyyhIbZeaq4CA5/mLeZ1IEt9QqQxmbdvagjLIm2ZL8BxXv5lH4Yw==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.39.0': resolution: {integrity: sha512-It9+M1zE31KWfqh/0cJLrrsCPiF72PoJjIChLX+rEcujVRCb4NLQ5QzFkzIZW8Kn8FTbvGQBY5TkKBau3S8cCQ==} cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.60.2': + resolution: {integrity: sha512-OqZTwDRDchGRHHm/hwLOL7uVPB9aUvI0am/eQuWMNyFHf5PSEQmyEeYYheA0EPPKUO/l0uigCp+iaTjoLjVoHg==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.39.0': resolution: {integrity: sha512-lXQnhpFDOKDXiGxsU9/l8UEGGM65comrQuZ+lDcGUx+9YQ9dKpF3rSEGepyeR5AHZ0b5RgiligsBhWZfSSQh8Q==} cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.60.2': + resolution: {integrity: sha512-UwRE7CGpvSVEQS8gUMBe1uADWjNnVgP3Iusyda1nSRwNDCsRjnGc7w6El6WLQsXmZTbLZx9cecegumcitNfpmA==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.39.0': resolution: {integrity: sha512-mKXpNZLvtEbgu6WCkNij7CGycdw9cJi2k9v0noMb++Vab12GZjFgUXD69ilAbBh034Zwn95c2PNSz9xM7KYEAQ==} cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.60.2': + resolution: {integrity: sha512-gjEtURKLCC5VXm1I+2i1u9OhxFsKAQJKTVB8WvDAHF+oZlq0GTVFOlTlO1q3AlCTE/DF32c16ESvfgqR7343/g==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-freebsd-arm64@4.39.0': resolution: {integrity: sha512-jivRRlh2Lod/KvDZx2zUR+I4iBfHcu2V/BA2vasUtdtTN2Uk3jfcZczLa81ESHZHPHy4ih3T/W5rPFZ/hX7RtQ==} cpu: [arm64] os: [freebsd] + '@rollup/rollup-freebsd-arm64@4.60.2': + resolution: {integrity: sha512-Bcl6CYDeAgE70cqZaMojOi/eK63h5Me97ZqAQoh77VPjMysA/4ORQBRGo3rRy45x4MzVlU9uZxs8Uwy7ZaKnBw==} + cpu: [arm64] + os: [freebsd] + '@rollup/rollup-freebsd-x64@4.39.0': resolution: {integrity: sha512-8RXIWvYIRK9nO+bhVz8DwLBepcptw633gv/QT4015CpJ0Ht8punmoHU/DuEd3iw9Hr8UwUV+t+VNNuZIWYeY7Q==} cpu: [x64] os: [freebsd] + '@rollup/rollup-freebsd-x64@4.60.2': + resolution: {integrity: sha512-LU+TPda3mAE2QB0/Hp5VyeKJivpC6+tlOXd1VMoXV/YFMvk/MNk5iXeBfB4MQGRWyOYVJ01625vjkr0Az98OJQ==} + cpu: [x64] + os: [freebsd] + '@rollup/rollup-linux-arm-gnueabihf@4.39.0': resolution: {integrity: sha512-mz5POx5Zu58f2xAG5RaRRhp3IZDK7zXGk5sdEDj4o96HeaXhlUwmLFzNlc4hCQi5sGdR12VDgEUqVSHer0lI9g==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.60.2': + resolution: {integrity: sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.39.0': resolution: {integrity: sha512-+YDwhM6gUAyakl0CD+bMFpdmwIoRDzZYaTWV3SDRBGkMU/VpIBYXXEvkEcTagw/7VVkL2vA29zU4UVy1mP0/Yw==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.60.2': + resolution: {integrity: sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.39.0': resolution: {integrity: sha512-EKf7iF7aK36eEChvlgxGnk7pdJfzfQbNvGV/+l98iiMwU23MwvmV0Ty3pJ0p5WQfm3JRHOytSIqD9LB7Bq7xdQ==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.60.2': + resolution: {integrity: sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.39.0': resolution: {integrity: sha512-vYanR6MtqC7Z2SNr8gzVnzUul09Wi1kZqJaek3KcIlI/wq5Xtq4ZPIZ0Mr/st/sv/NnaPwy/D4yXg5x0B3aUUA==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.60.2': + resolution: {integrity: sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-loong64-gnu@4.60.2': + resolution: {integrity: sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-loong64-musl@4.60.2': + resolution: {integrity: sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q==} + cpu: [loong64] + os: [linux] + '@rollup/rollup-linux-loongarch64-gnu@4.39.0': resolution: {integrity: sha512-NMRUT40+h0FBa5fb+cpxtZoGAggRem16ocVKIv5gDB5uLDgBIwrIsXlGqYbLwW8YyO3WVTk1FkFDjMETYlDqiw==} cpu: [loong64] @@ -571,46 +637,111 @@ packages: cpu: [ppc64] os: [linux] + '@rollup/rollup-linux-ppc64-gnu@4.60.2': + resolution: {integrity: sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-ppc64-musl@4.60.2': + resolution: {integrity: sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.39.0': resolution: {integrity: sha512-t7j5Zhr7S4bBtksT73bO6c3Qa2AV/HqiGlj9+KB3gNF5upcVkx+HLgxTm8DK4OkzsOYqbdqbLKwvGMhylJCPhQ==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.60.2': + resolution: {integrity: sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-riscv64-musl@4.39.0': resolution: {integrity: sha512-m6cwI86IvQ7M93MQ2RF5SP8tUjD39Y7rjb1qjHgYh28uAPVU8+k/xYWvxRO3/tBN2pZkSMa5RjnPuUIbrwVxeA==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-musl@4.60.2': + resolution: {integrity: sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.39.0': resolution: {integrity: sha512-iRDJd2ebMunnk2rsSBYlsptCyuINvxUfGwOUldjv5M4tpa93K8tFMeYGpNk2+Nxl+OBJnBzy2/JCscGeO507kA==} cpu: [s390x] os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.60.2': + resolution: {integrity: sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.39.0': resolution: {integrity: sha512-t9jqYw27R6Lx0XKfEFe5vUeEJ5pF3SGIM6gTfONSMb7DuG6z6wfj2yjcoZxHg129veTqU7+wOhY6GX8wmf90dA==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.60.2': + resolution: {integrity: sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.39.0': resolution: {integrity: sha512-ThFdkrFDP55AIsIZDKSBWEt/JcWlCzydbZHinZ0F/r1h83qbGeenCt/G/wG2O0reuENDD2tawfAj2s8VK7Bugg==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.60.2': + resolution: {integrity: sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-openbsd-x64@4.60.2': + resolution: {integrity: sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg==} + cpu: [x64] + os: [openbsd] + + '@rollup/rollup-openharmony-arm64@4.60.2': + resolution: {integrity: sha512-NetAg5iO2uN7eB8zE5qrZ3CSil+7IJt4WDFLcC75Ymywq1VZVD6qJ6EvNLjZ3rEm6gB7XW5JdT60c6MN35Z85Q==} + cpu: [arm64] + os: [openharmony] + '@rollup/rollup-win32-arm64-msvc@4.39.0': resolution: {integrity: sha512-jDrLm6yUtbOg2TYB3sBF3acUnAwsIksEYjLeHL+TJv9jg+TmTwdyjnDex27jqEMakNKf3RwwPahDIt7QXCSqRQ==} cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.60.2': + resolution: {integrity: sha512-NCYhOotpgWZ5kdxCZsv6Iudx0wX8980Q/oW4pNFNihpBKsDbEA1zpkfxJGC0yugsUuyDZ7gL37dbzwhR0VI7pQ==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.39.0': resolution: {integrity: sha512-6w9uMuza+LbLCVoNKL5FSLE7yvYkq9laSd09bwS0tMjkwXrmib/4KmoJcrKhLWHvw19mwU+33ndC69T7weNNjQ==} cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.60.2': + resolution: {integrity: sha512-RXsaOqXxfoUBQoOgvmmijVxJnW2IGB0eoMO7F8FAjaj0UTywUO/luSqimWBJn04WNgUkeNhh7fs7pESXajWmkg==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-gnu@4.60.2': + resolution: {integrity: sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA==} + cpu: [x64] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.39.0': resolution: {integrity: sha512-yAkUOkIKZlK5dl7u6dg897doBgLXmUHhIINM2c+sND3DZwnrdQkkSiDh7N75Ll4mM4dxSkYfXqU9fW3lLkMFug==} cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.60.2': + resolution: {integrity: sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA==} + cpu: [x64] + os: [win32] + '@snyk/github-codeowners@1.1.0': resolution: {integrity: sha512-lGFf08pbkEac0NYgVf4hdANpAgApRjNByLXB+WBip3qj1iendOIyAwP2GKkKbQMNVy2r1xxDf0ssfWscoiC+Vw==} engines: {node: '>=8.10'} @@ -640,6 +771,9 @@ packages: '@types/estree@1.0.7': resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==} + '@types/estree@1.0.8': + resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} + '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -853,14 +987,14 @@ packages: resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} engines: {node: '>=4'} - brace-expansion@1.1.12: - resolution: {integrity: sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==} + brace-expansion@1.1.14: + resolution: {integrity: sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==} - brace-expansion@2.0.2: - resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} + brace-expansion@2.1.0: + resolution: {integrity: sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==} - brace-expansion@5.0.4: - resolution: {integrity: sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==} + brace-expansion@5.0.5: + resolution: {integrity: sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==} engines: {node: 18 || 20 || >=22} braces@3.0.3: @@ -1001,13 +1135,13 @@ packages: es-module-lexer@1.7.0: resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} - esbuild@0.25.0: - resolution: {integrity: sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==} + esbuild@0.27.2: + resolution: {integrity: sha512-HyNQImnsOC7X9PMNaCIeAm4ISCQXs5a5YasTXVliKv4uuBo1dKrG0A+uQS8M5eXjVMnLg3WgXaKvprHlFJQffw==} engines: {node: '>=18'} hasBin: true - esbuild@0.27.2: - resolution: {integrity: sha512-HyNQImnsOC7X9PMNaCIeAm4ISCQXs5a5YasTXVliKv4uuBo1dKrG0A+uQS8M5eXjVMnLg3WgXaKvprHlFJQffw==} + esbuild@0.27.7: + resolution: {integrity: sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==} engines: {node: '>=18'} hasBin: true @@ -1367,8 +1501,8 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - nanoid@3.3.8: - resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==} + nanoid@3.3.11: + resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -1514,8 +1648,8 @@ packages: yaml: optional: true - postcss@8.5.3: - resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} + postcss@8.5.12: + resolution: {integrity: sha512-W62t/Se6rA0Az3DfCL0AqJwXuKwBeYg6nOaIgzP+xZ7N5BFCI7DYi1qs6ygUYT6rvfi6t9k65UMLJC+PHZpDAA==} engines: {node: ^10 || ^12 || >=14} prelude-ls@1.2.1: @@ -1568,6 +1702,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.60.2: + resolution: {integrity: sha512-J9qZyW++QK/09NyN/zeO0dG/1GdGfyp9lV8ajHnRVLfo/uFsbji5mHnDgn/qYdUHyCkM2N+8VyspgZclfAh0eQ==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -1595,8 +1734,8 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - smol-toml@1.3.1: - resolution: {integrity: sha512-tEYNll18pPKHroYSmLLrksq233j021G0giwW7P3D24jC54pQ5W5BXMsQ/Mvw1OJCmEYDgY+lrzT+3nNUtoNfXQ==} + smol-toml@1.6.1: + resolution: {integrity: sha512-dWUG8F5sIIARXih1DTaQAX4SsiTXhInKf1buxdY9DIg4ZYPZK5nGM1VRIYmEbDbsHt7USo99xSLFu5Q1IqTmsg==} engines: {node: '>= 18'} source-map-js@1.2.1: @@ -1763,19 +1902,19 @@ packages: engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true - vite@6.4.1: - resolution: {integrity: sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + vite@7.3.2: + resolution: {integrity: sha512-Bby3NOsna2jsjfLVOHKes8sGwgl4TT0E6vvpYgnAYDIF/tie7MRaFthmKuHx1NSXjiTueXH3do80FMQgvEktRg==} + engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + '@types/node': ^20.19.0 || >=22.12.0 jiti: '>=1.21.0' - less: '*' + less: ^4.0.0 lightningcss: ^1.21.0 - sass: '*' - sass-embedded: '*' - stylus: '*' - sugarss: '*' + sass: ^1.70.0 + sass-embedded: ^1.70.0 + stylus: '>=0.54.8' + sugarss: ^5.0.0 terser: ^5.16.0 tsx: ^4.8.1 yaml: ^2.4.2 @@ -1932,159 +2071,162 @@ snapshots: dependencies: '@bufbuild/protobuf': 2.11.0 - '@esbuild/aix-ppc64@0.25.0': - optional: true - '@esbuild/aix-ppc64@0.27.2': optional: true - '@esbuild/android-arm64@0.25.0': + '@esbuild/aix-ppc64@0.27.7': optional: true '@esbuild/android-arm64@0.27.2': optional: true - '@esbuild/android-arm@0.25.0': + '@esbuild/android-arm64@0.27.7': optional: true '@esbuild/android-arm@0.27.2': optional: true - '@esbuild/android-x64@0.25.0': + '@esbuild/android-arm@0.27.7': optional: true '@esbuild/android-x64@0.27.2': optional: true - '@esbuild/darwin-arm64@0.25.0': + '@esbuild/android-x64@0.27.7': optional: true '@esbuild/darwin-arm64@0.27.2': optional: true - '@esbuild/darwin-x64@0.25.0': + '@esbuild/darwin-arm64@0.27.7': optional: true '@esbuild/darwin-x64@0.27.2': optional: true - '@esbuild/freebsd-arm64@0.25.0': + '@esbuild/darwin-x64@0.27.7': optional: true '@esbuild/freebsd-arm64@0.27.2': optional: true - '@esbuild/freebsd-x64@0.25.0': + '@esbuild/freebsd-arm64@0.27.7': optional: true '@esbuild/freebsd-x64@0.27.2': optional: true - '@esbuild/linux-arm64@0.25.0': + '@esbuild/freebsd-x64@0.27.7': optional: true '@esbuild/linux-arm64@0.27.2': optional: true - '@esbuild/linux-arm@0.25.0': + '@esbuild/linux-arm64@0.27.7': optional: true '@esbuild/linux-arm@0.27.2': optional: true - '@esbuild/linux-ia32@0.25.0': + '@esbuild/linux-arm@0.27.7': optional: true '@esbuild/linux-ia32@0.27.2': optional: true - '@esbuild/linux-loong64@0.25.0': + '@esbuild/linux-ia32@0.27.7': optional: true '@esbuild/linux-loong64@0.27.2': optional: true - '@esbuild/linux-mips64el@0.25.0': + '@esbuild/linux-loong64@0.27.7': optional: true '@esbuild/linux-mips64el@0.27.2': optional: true - '@esbuild/linux-ppc64@0.25.0': + '@esbuild/linux-mips64el@0.27.7': optional: true '@esbuild/linux-ppc64@0.27.2': optional: true - '@esbuild/linux-riscv64@0.25.0': + '@esbuild/linux-ppc64@0.27.7': optional: true '@esbuild/linux-riscv64@0.27.2': optional: true - '@esbuild/linux-s390x@0.25.0': + '@esbuild/linux-riscv64@0.27.7': optional: true '@esbuild/linux-s390x@0.27.2': optional: true - '@esbuild/linux-x64@0.25.0': + '@esbuild/linux-s390x@0.27.7': optional: true '@esbuild/linux-x64@0.27.2': optional: true - '@esbuild/netbsd-arm64@0.25.0': + '@esbuild/linux-x64@0.27.7': optional: true '@esbuild/netbsd-arm64@0.27.2': optional: true - '@esbuild/netbsd-x64@0.25.0': + '@esbuild/netbsd-arm64@0.27.7': optional: true '@esbuild/netbsd-x64@0.27.2': optional: true - '@esbuild/openbsd-arm64@0.25.0': + '@esbuild/netbsd-x64@0.27.7': optional: true '@esbuild/openbsd-arm64@0.27.2': optional: true - '@esbuild/openbsd-x64@0.25.0': + '@esbuild/openbsd-arm64@0.27.7': optional: true '@esbuild/openbsd-x64@0.27.2': optional: true + '@esbuild/openbsd-x64@0.27.7': + optional: true + '@esbuild/openharmony-arm64@0.27.2': optional: true - '@esbuild/sunos-x64@0.25.0': + '@esbuild/openharmony-arm64@0.27.7': optional: true '@esbuild/sunos-x64@0.27.2': optional: true - '@esbuild/win32-arm64@0.25.0': + '@esbuild/sunos-x64@0.27.7': optional: true '@esbuild/win32-arm64@0.27.2': optional: true - '@esbuild/win32-ia32@0.25.0': + '@esbuild/win32-arm64@0.27.7': optional: true '@esbuild/win32-ia32@0.27.2': optional: true - '@esbuild/win32-x64@0.25.0': + '@esbuild/win32-ia32@0.27.7': optional: true '@esbuild/win32-x64@0.27.2': optional: true + '@esbuild/win32-x64@0.27.7': + optional: true + '@eslint-community/eslint-utils@4.7.0(eslint@8.57.1)': dependencies: eslint: 8.57.1 @@ -2186,63 +2328,138 @@ snapshots: '@rollup/rollup-android-arm-eabi@4.39.0': optional: true + '@rollup/rollup-android-arm-eabi@4.60.2': + optional: true + '@rollup/rollup-android-arm64@4.39.0': optional: true + '@rollup/rollup-android-arm64@4.60.2': + optional: true + '@rollup/rollup-darwin-arm64@4.39.0': optional: true + '@rollup/rollup-darwin-arm64@4.60.2': + optional: true + '@rollup/rollup-darwin-x64@4.39.0': optional: true + '@rollup/rollup-darwin-x64@4.60.2': + optional: true + '@rollup/rollup-freebsd-arm64@4.39.0': optional: true + '@rollup/rollup-freebsd-arm64@4.60.2': + optional: true + '@rollup/rollup-freebsd-x64@4.39.0': optional: true + '@rollup/rollup-freebsd-x64@4.60.2': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.39.0': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.60.2': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.39.0': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.60.2': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.39.0': optional: true + '@rollup/rollup-linux-arm64-gnu@4.60.2': + optional: true + '@rollup/rollup-linux-arm64-musl@4.39.0': optional: true + '@rollup/rollup-linux-arm64-musl@4.60.2': + optional: true + + '@rollup/rollup-linux-loong64-gnu@4.60.2': + optional: true + + '@rollup/rollup-linux-loong64-musl@4.60.2': + optional: true + '@rollup/rollup-linux-loongarch64-gnu@4.39.0': optional: true '@rollup/rollup-linux-powerpc64le-gnu@4.39.0': optional: true + '@rollup/rollup-linux-ppc64-gnu@4.60.2': + optional: true + + '@rollup/rollup-linux-ppc64-musl@4.60.2': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.39.0': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.60.2': + optional: true + '@rollup/rollup-linux-riscv64-musl@4.39.0': optional: true + '@rollup/rollup-linux-riscv64-musl@4.60.2': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.39.0': optional: true + '@rollup/rollup-linux-s390x-gnu@4.60.2': + optional: true + '@rollup/rollup-linux-x64-gnu@4.39.0': optional: true + '@rollup/rollup-linux-x64-gnu@4.60.2': + optional: true + '@rollup/rollup-linux-x64-musl@4.39.0': optional: true + '@rollup/rollup-linux-x64-musl@4.60.2': + optional: true + + '@rollup/rollup-openbsd-x64@4.60.2': + optional: true + + '@rollup/rollup-openharmony-arm64@4.60.2': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.39.0': optional: true + '@rollup/rollup-win32-arm64-msvc@4.60.2': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.39.0': optional: true + '@rollup/rollup-win32-ia32-msvc@4.60.2': + optional: true + + '@rollup/rollup-win32-x64-gnu@4.60.2': + optional: true + '@rollup/rollup-win32-x64-msvc@4.39.0': optional: true + '@rollup/rollup-win32-x64-msvc@4.60.2': + optional: true + '@snyk/github-codeowners@1.1.0': dependencies: commander: 4.1.1 @@ -2282,6 +2499,8 @@ snapshots: '@types/estree@1.0.7': {} + '@types/estree@1.0.8': {} + '@types/json-schema@7.0.15': {} '@types/node@12.20.55': {} @@ -2469,13 +2688,13 @@ snapshots: chai: 5.2.0 tinyrainbow: 2.0.0 - '@vitest/mocker@3.2.4(vite@6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0))': + '@vitest/mocker@3.2.4(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0))': dependencies: '@vitest/spy': 3.2.4 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) + vite: 7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) '@vitest/pretty-format@3.2.4': dependencies: @@ -2547,16 +2766,16 @@ snapshots: dependencies: is-windows: 1.0.2 - brace-expansion@1.1.12: + brace-expansion@1.1.14: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 - brace-expansion@2.0.2: + brace-expansion@2.1.0: dependencies: balanced-match: 1.0.2 - brace-expansion@5.0.4: + brace-expansion@5.0.5: dependencies: balanced-match: 4.0.4 @@ -2686,34 +2905,6 @@ snapshots: es-module-lexer@1.7.0: {} - esbuild@0.25.0: - optionalDependencies: - '@esbuild/aix-ppc64': 0.25.0 - '@esbuild/android-arm': 0.25.0 - '@esbuild/android-arm64': 0.25.0 - '@esbuild/android-x64': 0.25.0 - '@esbuild/darwin-arm64': 0.25.0 - '@esbuild/darwin-x64': 0.25.0 - '@esbuild/freebsd-arm64': 0.25.0 - '@esbuild/freebsd-x64': 0.25.0 - '@esbuild/linux-arm': 0.25.0 - '@esbuild/linux-arm64': 0.25.0 - '@esbuild/linux-ia32': 0.25.0 - '@esbuild/linux-loong64': 0.25.0 - '@esbuild/linux-mips64el': 0.25.0 - '@esbuild/linux-ppc64': 0.25.0 - '@esbuild/linux-riscv64': 0.25.0 - '@esbuild/linux-s390x': 0.25.0 - '@esbuild/linux-x64': 0.25.0 - '@esbuild/netbsd-arm64': 0.25.0 - '@esbuild/netbsd-x64': 0.25.0 - '@esbuild/openbsd-arm64': 0.25.0 - '@esbuild/openbsd-x64': 0.25.0 - '@esbuild/sunos-x64': 0.25.0 - '@esbuild/win32-arm64': 0.25.0 - '@esbuild/win32-ia32': 0.25.0 - '@esbuild/win32-x64': 0.25.0 - esbuild@0.27.2: optionalDependencies: '@esbuild/aix-ppc64': 0.27.2 @@ -2743,6 +2934,35 @@ snapshots: '@esbuild/win32-ia32': 0.27.2 '@esbuild/win32-x64': 0.27.2 + esbuild@0.27.7: + optionalDependencies: + '@esbuild/aix-ppc64': 0.27.7 + '@esbuild/android-arm': 0.27.7 + '@esbuild/android-arm64': 0.27.7 + '@esbuild/android-x64': 0.27.7 + '@esbuild/darwin-arm64': 0.27.7 + '@esbuild/darwin-x64': 0.27.7 + '@esbuild/freebsd-arm64': 0.27.7 + '@esbuild/freebsd-x64': 0.27.7 + '@esbuild/linux-arm': 0.27.7 + '@esbuild/linux-arm64': 0.27.7 + '@esbuild/linux-ia32': 0.27.7 + '@esbuild/linux-loong64': 0.27.7 + '@esbuild/linux-mips64el': 0.27.7 + '@esbuild/linux-ppc64': 0.27.7 + '@esbuild/linux-riscv64': 0.27.7 + '@esbuild/linux-s390x': 0.27.7 + '@esbuild/linux-x64': 0.27.7 + '@esbuild/netbsd-arm64': 0.27.7 + '@esbuild/netbsd-x64': 0.27.7 + '@esbuild/openbsd-arm64': 0.27.7 + '@esbuild/openbsd-x64': 0.27.7 + '@esbuild/openharmony-arm64': 0.27.7 + '@esbuild/sunos-x64': 0.27.7 + '@esbuild/win32-arm64': 0.27.7 + '@esbuild/win32-ia32': 0.27.7 + '@esbuild/win32-x64': 0.27.7 + escape-string-regexp@4.0.0: {} eslint-plugin-unused-imports@3.2.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1): @@ -3036,7 +3256,7 @@ snapshots: picocolors: 1.1.1 picomatch: 4.0.2 pretty-ms: 9.0.0 - smol-toml: 1.3.1 + smol-toml: 1.6.1 strip-json-comments: 5.0.1 summary: 2.1.0 typescript: 5.7.3 @@ -3087,19 +3307,19 @@ snapshots: minimatch@10.2.4: dependencies: - brace-expansion: 5.0.4 + brace-expansion: 5.0.5 minimatch@3.1.2: dependencies: - brace-expansion: 1.1.12 + brace-expansion: 1.1.14 minimatch@9.0.3: dependencies: - brace-expansion: 2.0.2 + brace-expansion: 2.1.0 minimatch@9.0.9: dependencies: - brace-expansion: 2.0.2 + brace-expansion: 2.1.0 minimist@1.2.8: {} @@ -3124,7 +3344,7 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nanoid@3.3.8: {} + nanoid@3.3.11: {} natural-compare@1.4.0: {} @@ -3224,17 +3444,17 @@ snapshots: platform@1.3.6: {} - postcss-load-config@6.0.1(jiti@2.4.2)(postcss@8.5.3)(yaml@2.7.0): + postcss-load-config@6.0.1(jiti@2.4.2)(postcss@8.5.12)(yaml@2.7.0): dependencies: lilconfig: 3.1.2 optionalDependencies: jiti: 2.4.2 - postcss: 8.5.3 + postcss: 8.5.12 yaml: 2.7.0 - postcss@8.5.3: + postcss@8.5.12: dependencies: - nanoid: 3.3.8 + nanoid: 3.3.11 picocolors: 1.1.1 source-map-js: 1.2.1 @@ -3295,6 +3515,37 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.39.0 fsevents: 2.3.3 + rollup@4.60.2: + dependencies: + '@types/estree': 1.0.8 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.60.2 + '@rollup/rollup-android-arm64': 4.60.2 + '@rollup/rollup-darwin-arm64': 4.60.2 + '@rollup/rollup-darwin-x64': 4.60.2 + '@rollup/rollup-freebsd-arm64': 4.60.2 + '@rollup/rollup-freebsd-x64': 4.60.2 + '@rollup/rollup-linux-arm-gnueabihf': 4.60.2 + '@rollup/rollup-linux-arm-musleabihf': 4.60.2 + '@rollup/rollup-linux-arm64-gnu': 4.60.2 + '@rollup/rollup-linux-arm64-musl': 4.60.2 + '@rollup/rollup-linux-loong64-gnu': 4.60.2 + '@rollup/rollup-linux-loong64-musl': 4.60.2 + '@rollup/rollup-linux-ppc64-gnu': 4.60.2 + '@rollup/rollup-linux-ppc64-musl': 4.60.2 + '@rollup/rollup-linux-riscv64-gnu': 4.60.2 + '@rollup/rollup-linux-riscv64-musl': 4.60.2 + '@rollup/rollup-linux-s390x-gnu': 4.60.2 + '@rollup/rollup-linux-x64-gnu': 4.60.2 + '@rollup/rollup-linux-x64-musl': 4.60.2 + '@rollup/rollup-openbsd-x64': 4.60.2 + '@rollup/rollup-openharmony-arm64': 4.60.2 + '@rollup/rollup-win32-arm64-msvc': 4.60.2 + '@rollup/rollup-win32-ia32-msvc': 4.60.2 + '@rollup/rollup-win32-x64-gnu': 4.60.2 + '@rollup/rollup-win32-x64-msvc': 4.60.2 + fsevents: 2.3.3 + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 @@ -3315,7 +3566,7 @@ snapshots: slash@3.0.0: {} - smol-toml@1.3.1: {} + smol-toml@1.6.1: {} source-map-js@1.2.1: {} @@ -3409,7 +3660,7 @@ snapshots: ts-interface-checker@0.1.13: {} - tsup@8.5.1(jiti@2.4.2)(postcss@8.5.3)(typescript@5.7.3)(yaml@2.7.0): + tsup@8.5.1(jiti@2.4.2)(postcss@8.5.12)(typescript@5.7.3)(yaml@2.7.0): dependencies: bundle-require: 5.1.0(esbuild@0.27.2) cac: 6.7.14 @@ -3420,7 +3671,7 @@ snapshots: fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(jiti@2.4.2)(postcss@8.5.3)(yaml@2.7.0) + postcss-load-config: 6.0.1(jiti@2.4.2)(postcss@8.5.12)(yaml@2.7.0) resolve-from: 5.0.0 rollup: 4.39.0 source-map: 0.7.6 @@ -3429,7 +3680,7 @@ snapshots: tinyglobby: 0.2.15 tree-kill: 1.2.2 optionalDependencies: - postcss: 8.5.3 + postcss: 8.5.12 typescript: 5.7.3 transitivePeerDependencies: - jiti @@ -3465,7 +3716,7 @@ snapshots: debug: 4.4.3 es-module-lexer: 1.7.0 pathe: 2.0.3 - vite: 6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) + vite: 7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) transitivePeerDependencies: - '@types/node' - jiti @@ -3480,13 +3731,13 @@ snapshots: - tsx - yaml - vite@6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): + vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): dependencies: - esbuild: 0.25.0 + esbuild: 0.27.7 fdir: 6.5.0(picomatch@4.0.3) picomatch: 4.0.3 - postcss: 8.5.3 - rollup: 4.39.0 + postcss: 8.5.12 + rollup: 4.60.2 tinyglobby: 0.2.15 optionalDependencies: '@types/node': 20.19.37 @@ -3498,7 +3749,7 @@ snapshots: dependencies: '@types/chai': 5.2.3 '@vitest/expect': 3.2.4 - '@vitest/mocker': 3.2.4(vite@6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)) + '@vitest/mocker': 3.2.4(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)) '@vitest/pretty-format': 3.2.4 '@vitest/runner': 3.2.4 '@vitest/snapshot': 3.2.4 @@ -3516,7 +3767,7 @@ snapshots: tinyglobby: 0.2.15 tinypool: 1.1.1 tinyrainbow: 2.0.0 - vite: 6.4.1(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) + vite: 7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) vite-node: 3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: diff --git a/python/poetry.lock b/python/poetry.lock index 768b74e4..12155fe6 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.5 and should not be changed by hand. [[package]] name = "anyio" @@ -41,6 +41,17 @@ tests = ["attrs[tests-no-zope]", "zope-interface"] tests-mypy = ["mypy (>=1.6)", "pytest-mypy-plugins"] tests-no-zope = ["attrs[tests-mypy]", "cloudpickle", "hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist[psutil]"] +[[package]] +name = "backports-asyncio-runner" +version = "1.2.0" +description = "Backport of asyncio.Runner, a context manager that controls event loop life cycle." +optional = false +python-versions = "<3.11,>=3.8" +files = [ + {file = "backports_asyncio_runner-1.2.0-py3-none-any.whl", hash = "sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5"}, + {file = "backports_asyncio_runner-1.2.0.tar.gz", hash = "sha256:a5aa7b2b7d8f8bfcaa2b57313f70792df84e32a2a746f585213373f900b42162"}, +] + [[package]] name = "bracex" version = "2.6" @@ -682,102 +693,102 @@ files = [ [[package]] name = "pillow" -version = "12.1.1" +version = "12.2.0" description = "Python Imaging Library (fork)" optional = false python-versions = ">=3.10" files = [ - {file = "pillow-12.1.1-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:1f1625b72740fdda5d77b4def688eb8fd6490975d06b909fd19f13f391e077e0"}, - {file = "pillow-12.1.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:178aa072084bd88ec759052feca8e56cbb14a60b39322b99a049e58090479713"}, - {file = "pillow-12.1.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b66e95d05ba806247aaa1561f080abc7975daf715c30780ff92a20e4ec546e1b"}, - {file = "pillow-12.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:89c7e895002bbe49cdc5426150377cbbc04767d7547ed145473f496dfa40408b"}, - {file = "pillow-12.1.1-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a5cbdcddad0af3da87cb16b60d23648bc3b51967eb07223e9fed77a82b457c4"}, - {file = "pillow-12.1.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9f51079765661884a486727f0729d29054242f74b46186026582b4e4769918e4"}, - {file = "pillow-12.1.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:99c1506ea77c11531d75e3a412832a13a71c7ebc8192ab9e4b2e355555920e3e"}, - {file = "pillow-12.1.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:36341d06738a9f66c8287cf8b876d24b18db9bd8740fa0672c74e259ad408cff"}, - {file = "pillow-12.1.1-cp310-cp310-win32.whl", hash = "sha256:6c52f062424c523d6c4db85518774cc3d50f5539dd6eed32b8f6229b26f24d40"}, - {file = "pillow-12.1.1-cp310-cp310-win_amd64.whl", hash = "sha256:c6008de247150668a705a6338156efb92334113421ceecf7438a12c9a12dab23"}, - {file = "pillow-12.1.1-cp310-cp310-win_arm64.whl", hash = "sha256:1a9b0ee305220b392e1124a764ee4265bd063e54a751a6b62eff69992f457fa9"}, - {file = "pillow-12.1.1-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:e879bb6cd5c73848ef3b2b48b8af9ff08c5b71ecda8048b7dd22d8a33f60be32"}, - {file = "pillow-12.1.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:365b10bb9417dd4498c0e3b128018c4a624dc11c7b97d8cc54effe3b096f4c38"}, - {file = "pillow-12.1.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d4ce8e329c93845720cd2014659ca67eac35f6433fd3050393d85f3ecef0dad5"}, - {file = "pillow-12.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc354a04072b765eccf2204f588a7a532c9511e8b9c7f900e1b64e3e33487090"}, - {file = "pillow-12.1.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7e7976bf1910a8116b523b9f9f58bf410f3e8aa330cd9a2bb2953f9266ab49af"}, - {file = "pillow-12.1.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:597bd9c8419bc7c6af5604e55847789b69123bbe25d65cc6ad3012b4f3c98d8b"}, - {file = "pillow-12.1.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2c1fc0f2ca5f96a3c8407e41cca26a16e46b21060fe6d5b099d2cb01412222f5"}, - {file = "pillow-12.1.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:578510d88c6229d735855e1f278aa305270438d36a05031dfaae5067cc8eb04d"}, - {file = "pillow-12.1.1-cp311-cp311-win32.whl", hash = "sha256:7311c0a0dcadb89b36b7025dfd8326ecfa36964e29913074d47382706e516a7c"}, - {file = "pillow-12.1.1-cp311-cp311-win_amd64.whl", hash = "sha256:fbfa2a7c10cc2623f412753cddf391c7f971c52ca40a3f65dc5039b2939e8563"}, - {file = "pillow-12.1.1-cp311-cp311-win_arm64.whl", hash = "sha256:b81b5e3511211631b3f672a595e3221252c90af017e399056d0faabb9538aa80"}, - {file = "pillow-12.1.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ab323b787d6e18b3d91a72fc99b1a2c28651e4358749842b8f8dfacd28ef2052"}, - {file = "pillow-12.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:adebb5bee0f0af4909c30db0d890c773d1a92ffe83da908e2e9e720f8edf3984"}, - {file = "pillow-12.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:bb66b7cc26f50977108790e2456b7921e773f23db5630261102233eb355a3b79"}, - {file = "pillow-12.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aee2810642b2898bb187ced9b349e95d2a7272930796e022efaf12e99dccd293"}, - {file = "pillow-12.1.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a0b1cd6232e2b618adcc54d9882e4e662a089d5768cd188f7c245b4c8c44a397"}, - {file = "pillow-12.1.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7aac39bcf8d4770d089588a2e1dd111cbaa42df5a94be3114222057d68336bd0"}, - {file = "pillow-12.1.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ab174cd7d29a62dd139c44bf74b698039328f45cb03b4596c43473a46656b2f3"}, - {file = "pillow-12.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:339ffdcb7cbeaa08221cd401d517d4b1fe7a9ed5d400e4a8039719238620ca35"}, - {file = "pillow-12.1.1-cp312-cp312-win32.whl", hash = "sha256:5d1f9575a12bed9e9eedd9a4972834b08c97a352bd17955ccdebfeca5913fa0a"}, - {file = "pillow-12.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:21329ec8c96c6e979cd0dfd29406c40c1d52521a90544463057d2aaa937d66a6"}, - {file = "pillow-12.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:af9a332e572978f0218686636610555ae3defd1633597be015ed50289a03c523"}, - {file = "pillow-12.1.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d242e8ac078781f1de88bf823d70c1a9b3c7950a44cdf4b7c012e22ccbcd8e4e"}, - {file = "pillow-12.1.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:02f84dfad02693676692746df05b89cf25597560db2857363a208e393429f5e9"}, - {file = "pillow-12.1.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:e65498daf4b583091ccbb2556c7000abf0f3349fcd57ef7adc9a84a394ed29f6"}, - {file = "pillow-12.1.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6c6db3b84c87d48d0088943bf33440e0c42370b99b1c2a7989216f7b42eede60"}, - {file = "pillow-12.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8b7e5304e34942bf62e15184219a7b5ad4ff7f3bb5cca4d984f37df1a0e1aee2"}, - {file = "pillow-12.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:18e5bddd742a44b7e6b1e773ab5db102bd7a94c32555ba656e76d319d19c3850"}, - {file = "pillow-12.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc44ef1f3de4f45b50ccf9136999d71abb99dca7706bc75d222ed350b9fd2289"}, - {file = "pillow-12.1.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5a8eb7ed8d4198bccbd07058416eeec51686b498e784eda166395a23eb99138e"}, - {file = "pillow-12.1.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:47b94983da0c642de92ced1702c5b6c292a84bd3a8e1d1702ff923f183594717"}, - {file = "pillow-12.1.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:518a48c2aab7ce596d3bf79d0e275661b846e86e4d0e7dec34712c30fe07f02a"}, - {file = "pillow-12.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a550ae29b95c6dc13cf69e2c9dc5747f814c54eeb2e32d683e5e93af56caa029"}, - {file = "pillow-12.1.1-cp313-cp313-win32.whl", hash = "sha256:a003d7422449f6d1e3a34e3dd4110c22148336918ddbfc6a32581cd54b2e0b2b"}, - {file = "pillow-12.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:344cf1e3dab3be4b1fa08e449323d98a2a3f819ad20f4b22e77a0ede31f0faa1"}, - {file = "pillow-12.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:5c0dd1636633e7e6a0afe7bf6a51a14992b7f8e60de5789018ebbdfae55b040a"}, - {file = "pillow-12.1.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0330d233c1a0ead844fc097a7d16c0abff4c12e856c0b325f231820fee1f39da"}, - {file = "pillow-12.1.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5dae5f21afb91322f2ff791895ddd8889e5e947ff59f71b46041c8ce6db790bc"}, - {file = "pillow-12.1.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2e0c664be47252947d870ac0d327fea7e63985a08794758aa8af5b6cb6ec0c9c"}, - {file = "pillow-12.1.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:691ab2ac363b8217f7d31b3497108fb1f50faab2f75dfb03284ec2f217e87bf8"}, - {file = "pillow-12.1.1-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e9e8064fb1cc019296958595f6db671fba95209e3ceb0c4734c9baf97de04b20"}, - {file = "pillow-12.1.1-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:472a8d7ded663e6162dafdf20015c486a7009483ca671cece7a9279b512fcb13"}, - {file = "pillow-12.1.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:89b54027a766529136a06cfebeecb3a04900397a3590fd252160b888479517bf"}, - {file = "pillow-12.1.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:86172b0831b82ce4f7877f280055892b31179e1576aa00d0df3bb1bbf8c3e524"}, - {file = "pillow-12.1.1-cp313-cp313t-win32.whl", hash = "sha256:44ce27545b6efcf0fdbdceb31c9a5bdea9333e664cda58a7e674bb74608b3986"}, - {file = "pillow-12.1.1-cp313-cp313t-win_amd64.whl", hash = "sha256:a285e3eb7a5a45a2ff504e31f4a8d1b12ef62e84e5411c6804a42197c1cf586c"}, - {file = "pillow-12.1.1-cp313-cp313t-win_arm64.whl", hash = "sha256:cc7d296b5ea4d29e6570dabeaed58d31c3fea35a633a69679fb03d7664f43fb3"}, - {file = "pillow-12.1.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:417423db963cb4be8bac3fc1204fe61610f6abeed1580a7a2cbb2fbda20f12af"}, - {file = "pillow-12.1.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:b957b71c6b2387610f556a7eb0828afbe40b4a98036fc0d2acfa5a44a0c2036f"}, - {file = "pillow-12.1.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:097690ba1f2efdeb165a20469d59d8bb03c55fb6621eb2041a060ae8ea3e9642"}, - {file = "pillow-12.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2815a87ab27848db0321fb78c7f0b2c8649dee134b7f2b80c6a45c6831d75ccd"}, - {file = "pillow-12.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:f7ed2c6543bad5a7d5530eb9e78c53132f93dfa44a28492db88b41cdab885202"}, - {file = "pillow-12.1.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:652a2c9ccfb556235b2b501a3a7cf3742148cd22e04b5625c5fe057ea3e3191f"}, - {file = "pillow-12.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d6e4571eedf43af33d0fc233a382a76e849badbccdf1ac438841308652a08e1f"}, - {file = "pillow-12.1.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b574c51cf7d5d62e9be37ba446224b59a2da26dc4c1bb2ecbe936a4fb1a7cb7f"}, - {file = "pillow-12.1.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a37691702ed687799de29a518d63d4682d9016932db66d4e90c345831b02fb4e"}, - {file = "pillow-12.1.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:f95c00d5d6700b2b890479664a06e754974848afaae5e21beb4d83c106923fd0"}, - {file = "pillow-12.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:559b38da23606e68681337ad74622c4dbba02254fc9cb4488a305dd5975c7eeb"}, - {file = "pillow-12.1.1-cp314-cp314-win32.whl", hash = "sha256:03edcc34d688572014ff223c125a3f77fb08091e4607e7745002fc214070b35f"}, - {file = "pillow-12.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:50480dcd74fa63b8e78235957d302d98d98d82ccbfac4c7e12108ba9ecbdba15"}, - {file = "pillow-12.1.1-cp314-cp314-win_arm64.whl", hash = "sha256:5cb1785d97b0c3d1d1a16bc1d710c4a0049daefc4935f3a8f31f827f4d3d2e7f"}, - {file = "pillow-12.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:1f90cff8aa76835cba5769f0b3121a22bd4eb9e6884cfe338216e557a9a548b8"}, - {file = "pillow-12.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1f1be78ce9466a7ee64bfda57bdba0f7cc499d9794d518b854816c41bf0aa4e9"}, - {file = "pillow-12.1.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:42fc1f4677106188ad9a55562bbade416f8b55456f522430fadab3cef7cd4e60"}, - {file = "pillow-12.1.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:98edb152429ab62a1818039744d8fbb3ccab98a7c29fc3d5fcef158f3f1f68b7"}, - {file = "pillow-12.1.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d470ab1178551dd17fdba0fef463359c41aaa613cdcd7ff8373f54be629f9f8f"}, - {file = "pillow-12.1.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6408a7b064595afcab0a49393a413732a35788f2a5092fdc6266952ed67de586"}, - {file = "pillow-12.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5d8c41325b382c07799a3682c1c258469ea2ff97103c53717b7893862d0c98ce"}, - {file = "pillow-12.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c7697918b5be27424e9ce568193efd13d925c4481dd364e43f5dff72d33e10f8"}, - {file = "pillow-12.1.1-cp314-cp314t-win32.whl", hash = "sha256:d2912fd8114fc5545aa3a4b5576512f64c55a03f3ebcca4c10194d593d43ea36"}, - {file = "pillow-12.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:4ceb838d4bd9dab43e06c363cab2eebf63846d6a4aeaea283bbdfd8f1a8ed58b"}, - {file = "pillow-12.1.1-cp314-cp314t-win_arm64.whl", hash = "sha256:7b03048319bfc6170e93bd60728a1af51d3dd7704935feb228c4d4faab35d334"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:600fd103672b925fe62ed08e0d874ea34d692474df6f4bf7ebe148b30f89f39f"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:665e1b916b043cef294bc54d47bf02d87e13f769bc4bc5fa225a24b3a6c5aca9"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:495c302af3aad1ca67420ddd5c7bd480c8867ad173528767d906428057a11f0e"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8fd420ef0c52c88b5a035a0886f367748c72147b2b8f384c9d12656678dfdfa9"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f975aa7ef9684ce7e2c18a3aa8f8e2106ce1e46b94ab713d156b2898811651d3"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8089c852a56c2966cf18835db62d9b34fef7ba74c726ad943928d494fa7f4735"}, - {file = "pillow-12.1.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:cb9bb857b2d057c6dfc72ac5f3b44836924ba15721882ef103cecb40d002d80e"}, - {file = "pillow-12.1.1.tar.gz", hash = "sha256:9ad8fa5937ab05218e2b6a4cff30295ad35afd2f83ac592e68c0d871bb0fdbc4"}, + {file = "pillow-12.2.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:a4e8f36e677d3336f35089648c8955c51c6d386a13cf6ee9c189c5f5bd713a9f"}, + {file = "pillow-12.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2e589959f10d9824d39b350472b92f0ce3b443c0a3442ebf41c40cb8361c5b97"}, + {file = "pillow-12.2.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a52edc8bfff4429aaabdf4d9ee0daadbbf8562364f940937b941f87a4290f5ff"}, + {file = "pillow-12.2.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:975385f4776fafde056abb318f612ef6285b10a1f12b8570f3647ad0d74b48ec"}, + {file = "pillow-12.2.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bd9c0c7a0c681a347b3194c500cb1e6ca9cab053ea4d82a5cf45b6b754560136"}, + {file = "pillow-12.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:88d387ff40b3ff7c274947ed3125dedf5262ec6919d83946753b5f3d7c67ea4c"}, + {file = "pillow-12.2.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:51c4167c34b0d8ba05b547a3bb23578d0ba17b80a5593f93bd8ecb123dd336a3"}, + {file = "pillow-12.2.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:34c0d99ecccea270c04882cb3b86e7b57296079c9a4aff88cb3b33563d95afaa"}, + {file = "pillow-12.2.0-cp310-cp310-win32.whl", hash = "sha256:b85f66ae9eb53e860a873b858b789217ba505e5e405a24b85c0464822fe88032"}, + {file = "pillow-12.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:673aa32138f3e7531ccdbca7b3901dba9b70940a19ccecc6a37c77d5fdeb05b5"}, + {file = "pillow-12.2.0-cp310-cp310-win_arm64.whl", hash = "sha256:3e080565d8d7c671db5802eedfb438e5565ffa40115216eabb8cd52d0ecce024"}, + {file = "pillow-12.2.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:8be29e59487a79f173507c30ddf57e733a357f67881430449bb32614075a40ab"}, + {file = "pillow-12.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:71cde9a1e1551df7d34a25462fc60325e8a11a82cc2e2f54578e5e9a1e153d65"}, + {file = "pillow-12.2.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f490f9368b6fc026f021db16d7ec2fbf7d89e2edb42e8ec09d2c60505f5729c7"}, + {file = "pillow-12.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8bd7903a5f2a4545f6fd5935c90058b89d30045568985a71c79f5fd6edf9b91e"}, + {file = "pillow-12.2.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3997232e10d2920a68d25191392e3a4487d8183039e1c74c2297f00ed1c50705"}, + {file = "pillow-12.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e74473c875d78b8e9d5da2a70f7099549f9eb37ded4e2f6a463e60125bccd176"}, + {file = "pillow-12.2.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:56a3f9c60a13133a98ecff6197af34d7824de9b7b38c3654861a725c970c197b"}, + {file = "pillow-12.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:90e6f81de50ad6b534cab6e5aef77ff6e37722b2f5d908686f4a5c9eba17a909"}, + {file = "pillow-12.2.0-cp311-cp311-win32.whl", hash = "sha256:8c984051042858021a54926eb597d6ee3012393ce9c181814115df4c60b9a808"}, + {file = "pillow-12.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:6e6b2a0c538fc200b38ff9eb6628228b77908c319a005815f2dde585a0664b60"}, + {file = "pillow-12.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:9a8a34cc89c67a65ea7437ce257cea81a9dad65b29805f3ecee8c8fe8ff25ffe"}, + {file = "pillow-12.2.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2d192a155bbcec180f8564f693e6fd9bccff5a7af9b32e2e4bf8c9c69dbad6b5"}, + {file = "pillow-12.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f3f40b3c5a968281fd507d519e444c35f0ff171237f4fdde090dd60699458421"}, + {file = "pillow-12.2.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:03e7e372d5240cc23e9f07deca4d775c0817bffc641b01e9c3af208dbd300987"}, + {file = "pillow-12.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b86024e52a1b269467a802258c25521e6d742349d760728092e1bc2d135b4d76"}, + {file = "pillow-12.2.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7371b48c4fa448d20d2714c9a1f775a81155050d383333e0a6c15b1123dda005"}, + {file = "pillow-12.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:62f5409336adb0663b7caa0da5c7d9e7bdbaae9ce761d34669420c2a801b2780"}, + {file = "pillow-12.2.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:01afa7cf67f74f09523699b4e88c73fb55c13346d212a59a2db1f86b0a63e8c5"}, + {file = "pillow-12.2.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc3d34d4a8fbec3e88a79b92e5465e0f9b842b628675850d860b8bd300b159f5"}, + {file = "pillow-12.2.0-cp312-cp312-win32.whl", hash = "sha256:58f62cc0f00fd29e64b29f4fd923ffdb3859c9f9e6105bfc37ba1d08994e8940"}, + {file = "pillow-12.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:7f84204dee22a783350679a0333981df803dac21a0190d706a50475e361c93f5"}, + {file = "pillow-12.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:af73337013e0b3b46f175e79492d96845b16126ddf79c438d7ea7ff27783a414"}, + {file = "pillow-12.2.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:8297651f5b5679c19968abefd6bb84d95fe30ef712eb1b2d9b2d31ca61267f4c"}, + {file = "pillow-12.2.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:50d8520da2a6ce0af445fa6d648c4273c3eeefbc32d7ce049f22e8b5c3daecc2"}, + {file = "pillow-12.2.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:766cef22385fa1091258ad7e6216792b156dc16d8d3fa607e7545b2b72061f1c"}, + {file = "pillow-12.2.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5d2fd0fa6b5d9d1de415060363433f28da8b1526c1c129020435e186794b3795"}, + {file = "pillow-12.2.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:56b25336f502b6ed02e889f4ece894a72612fe885889a6e8c4c80239ff6e5f5f"}, + {file = "pillow-12.2.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f1c943e96e85df3d3478f7b691f229887e143f81fedab9b20205349ab04d73ed"}, + {file = "pillow-12.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:03f6fab9219220f041c74aeaa2939ff0062bd5c364ba9ce037197f4c6d498cd9"}, + {file = "pillow-12.2.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5cdfebd752ec52bf5bb4e35d9c64b40826bc5b40a13df7c3cda20a2c03a0f5ed"}, + {file = "pillow-12.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eedf4b74eda2b5a4b2b2fb4c006d6295df3bf29e459e198c90ea48e130dc75c3"}, + {file = "pillow-12.2.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:00a2865911330191c0b818c59103b58a5e697cae67042366970a6b6f1b20b7f9"}, + {file = "pillow-12.2.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1e1757442ed87f4912397c6d35a0db6a7b52592156014706f17658ff58bbf795"}, + {file = "pillow-12.2.0-cp313-cp313-win32.whl", hash = "sha256:144748b3af2d1b358d41286056d0003f47cb339b8c43a9ea42f5fea4d8c66b6e"}, + {file = "pillow-12.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:390ede346628ccc626e5730107cde16c42d3836b89662a115a921f28440e6a3b"}, + {file = "pillow-12.2.0-cp313-cp313-win_arm64.whl", hash = "sha256:8023abc91fba39036dbce14a7d6535632f99c0b857807cbbbf21ecc9f4717f06"}, + {file = "pillow-12.2.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:042db20a421b9bafecc4b84a8b6e444686bd9d836c7fd24542db3e7df7baad9b"}, + {file = "pillow-12.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:dd025009355c926a84a612fecf58bb315a3f6814b17ead51a8e48d3823d9087f"}, + {file = "pillow-12.2.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:88ddbc66737e277852913bd1e07c150cc7bb124539f94c4e2df5344494e0a612"}, + {file = "pillow-12.2.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d362d1878f00c142b7e1a16e6e5e780f02be8195123f164edf7eddd911eefe7c"}, + {file = "pillow-12.2.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c727a6d53cb0018aadd8018c2b938376af27914a68a492f59dfcaca650d5eea"}, + {file = "pillow-12.2.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:efd8c21c98c5cc60653bcb311bef2ce0401642b7ce9d09e03a7da87c878289d4"}, + {file = "pillow-12.2.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9f08483a632889536b8139663db60f6724bfcb443c96f1b18855860d7d5c0fd4"}, + {file = "pillow-12.2.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:dac8d77255a37e81a2efcbd1fc05f1c15ee82200e6c240d7e127e25e365c39ea"}, + {file = "pillow-12.2.0-cp313-cp313t-win32.whl", hash = "sha256:ee3120ae9dff32f121610bb08e4313be87e03efeadfc6c0d18f89127e24d0c24"}, + {file = "pillow-12.2.0-cp313-cp313t-win_amd64.whl", hash = "sha256:325ca0528c6788d2a6c3d40e3568639398137346c3d6e66bb61db96b96511c98"}, + {file = "pillow-12.2.0-cp313-cp313t-win_arm64.whl", hash = "sha256:2e5a76d03a6c6dcef67edabda7a52494afa4035021a79c8558e14af25313d453"}, + {file = "pillow-12.2.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:3adc9215e8be0448ed6e814966ecf3d9952f0ea40eb14e89a102b87f450660d8"}, + {file = "pillow-12.2.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:6a9adfc6d24b10f89588096364cc726174118c62130c817c2837c60cf08a392b"}, + {file = "pillow-12.2.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:6a6e67ea2e6feda684ed370f9a1c52e7a243631c025ba42149a2cc5934dec295"}, + {file = "pillow-12.2.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2bb4a8d594eacdfc59d9e5ad972aa8afdd48d584ffd5f13a937a664c3e7db0ed"}, + {file = "pillow-12.2.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:80b2da48193b2f33ed0c32c38140f9d3186583ce7d516526d462645fd98660ae"}, + {file = "pillow-12.2.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:22db17c68434de69d8ecfc2fe821569195c0c373b25cccb9cbdacf2c6e53c601"}, + {file = "pillow-12.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7b14cc0106cd9aecda615dd6903840a058b4700fcb817687d0ee4fc8b6e389be"}, + {file = "pillow-12.2.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8cbeb542b2ebc6fcdacabf8aca8c1a97c9b3ad3927d46b8723f9d4f033288a0f"}, + {file = "pillow-12.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4bfd07bc812fbd20395212969e41931001fd59eb55a60658b0e5710872e95286"}, + {file = "pillow-12.2.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9aba9a17b623ef750a4d11b742cbafffeb48a869821252b30ee21b5e91392c50"}, + {file = "pillow-12.2.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:deede7c263feb25dba4e82ea23058a235dcc2fe1f6021025dc71f2b618e26104"}, + {file = "pillow-12.2.0-cp314-cp314-win32.whl", hash = "sha256:632ff19b2778e43162304d50da0181ce24ac5bb8180122cbe1bf4673428328c7"}, + {file = "pillow-12.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:4e6c62e9d237e9b65fac06857d511e90d8461a32adcc1b9065ea0c0fa3a28150"}, + {file = "pillow-12.2.0-cp314-cp314-win_arm64.whl", hash = "sha256:b1c1fbd8a5a1af3412a0810d060a78b5136ec0836c8a4ef9aa11807f2a22f4e1"}, + {file = "pillow-12.2.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:57850958fe9c751670e49b2cecf6294acc99e562531f4bd317fa5ddee2068463"}, + {file = "pillow-12.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:d5d38f1411c0ed9f97bcb49b7bd59b6b7c314e0e27420e34d99d844b9ce3b6f3"}, + {file = "pillow-12.2.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5c0a9f29ca8e79f09de89293f82fc9b0270bb4af1d58bc98f540cc4aedf03166"}, + {file = "pillow-12.2.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1610dd6c61621ae1cf811bef44d77e149ce3f7b95afe66a4512f8c59f25d9ebe"}, + {file = "pillow-12.2.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0a34329707af4f73cf1782a36cd2289c0368880654a2c11f027bcee9052d35dd"}, + {file = "pillow-12.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e9c4f5b3c546fa3458a29ab22646c1c6c787ea8f5ef51300e5a60300736905e"}, + {file = "pillow-12.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:fb043ee2f06b41473269765c2feae53fc2e2fbf96e5e22ca94fb5ad677856f06"}, + {file = "pillow-12.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f278f034eb75b4e8a13a54a876cc4a5ab39173d2cdd93a638e1b467fc545ac43"}, + {file = "pillow-12.2.0-cp314-cp314t-win32.whl", hash = "sha256:6bb77b2dcb06b20f9f4b4a8454caa581cd4dd0643a08bacf821216a16d9c8354"}, + {file = "pillow-12.2.0-cp314-cp314t-win_amd64.whl", hash = "sha256:6562ace0d3fb5f20ed7290f1f929cae41b25ae29528f2af1722966a0a02e2aa1"}, + {file = "pillow-12.2.0-cp314-cp314t-win_arm64.whl", hash = "sha256:aa88ccfe4e32d362816319ed727a004423aab09c5cea43c01a4b435643fa34eb"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0538bd5e05efec03ae613fd89c4ce0368ecd2ba239cc25b9f9be7ed426b0af1f"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:394167b21da716608eac917c60aa9b969421b5dcbbe02ae7f013e7b85811c69d"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5d04bfa02cc2d23b497d1e90a0f927070043f6cbf303e738300532379a4b4e0f"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0c838a5125cee37e68edec915651521191cef1e6aa336b855f495766e77a366e"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4a6c9fa44005fa37a91ebfc95d081e8079757d2e904b27103f4f5fa6f0bf78c0"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:25373b66e0dd5905ed63fa3cae13c82fbddf3079f2c8bf15c6fb6a35586324c1"}, + {file = "pillow-12.2.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:bfa9c230d2fe991bed5318a5f119bd6780cda2915cca595393649fc118ab895e"}, + {file = "pillow-12.2.0.tar.gz", hash = "sha256:a830b1a40919539d07806aa58e1b114df53ddd43213d9c8b75847eee6c0182b5"}, ] [package.extras] @@ -824,13 +835,13 @@ files = [ [[package]] name = "pygments" -version = "2.19.2" +version = "2.20.0" description = "Pygments is a syntax highlighting package written in Python." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b"}, - {file = "pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887"}, + {file = "pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176"}, + {file = "pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f"}, ] [package.extras] @@ -852,20 +863,20 @@ diagrams = ["jinja2", "railroad-diagrams"] [[package]] name = "pytest" -version = "8.4.2" +version = "9.0.3" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" files = [ - {file = "pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79"}, - {file = "pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"}, + {file = "pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9"}, + {file = "pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c"}, ] [package.dependencies] colorama = {version = ">=0.4", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1", markers = "python_version < \"3.11\""} -iniconfig = ">=1" -packaging = ">=20" +iniconfig = ">=1.0.1" +packaging = ">=22" pluggy = ">=1.5,<2" pygments = ">=2.7.2" tomli = {version = ">=1", markers = "python_version < \"3.11\""} @@ -875,20 +886,22 @@ dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "requests [[package]] name = "pytest-asyncio" -version = "0.24.0" +version = "1.3.0" description = "Pytest support for asyncio" optional = false -python-versions = ">=3.8" +python-versions = ">=3.10" files = [ - {file = "pytest_asyncio-0.24.0-py3-none-any.whl", hash = "sha256:a811296ed596b69bf0b6f3dc40f83bcaf341b155a269052d82efa2b25ac7037b"}, - {file = "pytest_asyncio-0.24.0.tar.gz", hash = "sha256:d081d828e576d85f875399194281e92bf8a68d60d72d1a2faf2feddb6c46b276"}, + {file = "pytest_asyncio-1.3.0-py3-none-any.whl", hash = "sha256:611e26147c7f77640e6d0a92a38ed17c3e9848063698d5c93d5aa7aa11cebff5"}, + {file = "pytest_asyncio-1.3.0.tar.gz", hash = "sha256:d7f52f36d231b80ee124cd216ffb19369aa168fc10095013c6b014a34d3ee9e5"}, ] [package.dependencies] -pytest = ">=8.2,<9" +backports-asyncio-runner = {version = ">=1.1,<2", markers = "python_version < \"3.11\""} +pytest = ">=8.2,<10" +typing-extensions = {version = ">=4.12", markers = "python_version < \"3.13\""} [package.extras] -docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] +docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1)"] testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] [[package]] @@ -942,13 +955,13 @@ six = ">=1.5" [[package]] name = "python-dotenv" -version = "1.0.1" +version = "1.2.2" description = "Read key-value pairs from a .env file and set them as environment variables" optional = false -python-versions = ">=3.8" +python-versions = ">=3.10" files = [ - {file = "python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca"}, - {file = "python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a"}, + {file = "python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a"}, + {file = "python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3"}, ] [package.extras] @@ -1060,4 +1073,4 @@ bracex = ">=2.1.1" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "85967515c3cebeb03c66f25c9dcd1efa143f086d5106dfbd0233d609745e0ada" +content-hash = "a721caa46b51d44bb130b27e81b7225970cc58fb0bd3936d9ea44bdc18f472fb" diff --git a/python/pyproject.toml b/python/pyproject.toml index 4b46e803..e17b0f9d 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -17,10 +17,10 @@ attrs = ">=21.3.0" e2b = "^2.20.3" [tool.poetry.group.dev.dependencies] -pytest = "^8.2.0" +pytest = "^9.0.3" python-dotenv = "^1.0.0" pytest-dotenv = "^0.5.2" -pytest-asyncio = "^0.24.0" +pytest-asyncio = "^1.3.0" pytest-xdist = "^3.6.1" matplotlib = "^3.8.0" ruff = "^0.11.12" diff --git a/python/pytest.ini b/python/pytest.ini index 7695413b..5d05c876 100644 --- a/python/pytest.ini +++ b/python/pytest.ini @@ -2,6 +2,8 @@ [pytest] markers = skip_debug: skip test if E2B_DEBUG is set. -asyncio_mode=auto +asyncio_mode = auto +asyncio_default_fixture_loop_scope = session +asyncio_default_test_loop_scope = session addopts = "--import-mode=importlib" "--numprocesses=2" diff --git a/python/tests/conftest.py b/python/tests/conftest.py index a571e00a..199b0a12 100644 --- a/python/tests/conftest.py +++ b/python/tests/conftest.py @@ -43,20 +43,10 @@ def sandbox(sandbox_factory): return sandbox_factory() -# override the event loop so it never closes -# this helps us with the global-scoped async http transport -@pytest.fixture(scope="session") -def event_loop(): - try: - loop = asyncio.get_running_loop() - except RuntimeError: - loop = asyncio.new_event_loop() - yield loop - loop.close() - - @pytest.fixture -def async_sandbox_factory(request, template, sandbox_test_id, event_loop): +async def async_sandbox_factory(template, sandbox_test_id): + sandboxes: list[AsyncSandbox] = [] + async def factory(*, template_name: str = template, **kwargs): kwargs.setdefault("timeout", 60) @@ -64,18 +54,14 @@ async def factory(*, template_name: str = template, **kwargs): metadata.setdefault("sandbox_test_id", sandbox_test_id) sandbox = await AsyncSandbox.create(template_name, **kwargs) - - def kill(): - async def _kill(): - await sandbox.kill() - - event_loop.run_until_complete(_kill()) - - request.addfinalizer(kill) - + sandboxes.append(sandbox) return sandbox - return factory + yield factory + + await asyncio.gather( + *(sandbox.kill() for sandbox in sandboxes), return_exceptions=True + ) @pytest.fixture diff --git a/template/requirements.txt b/template/requirements.txt index fca3979c..ebb9ce65 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -26,7 +26,7 @@ opencv-python==4.11.0.86 openpyxl==3.1.5 plotly==6.0.1 kaleido==1.0.0 -pytest==8.3.5 +pytest==9.0.3 python-docx==1.1.2 pytz==2025.2 requests==2.33.0 From 34be25bbccb3bd98c07a0a20e9116cc205ee8b22 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Thu, 14 May 2026 14:19:00 +0200 Subject: [PATCH 50/83] Remove Deno kernel (#268) * Remove Deno kernel Drops the Deno Jupyter kernel from the template along with its language tests, kernel spec, env vars, and language branches in the messaging server. Co-Authored-By: Claude Opus 4.7 * Add changeset for Deno kernel removal Co-Authored-By: Claude Opus 4.7 --------- Co-authored-by: Claude Opus 4.7 --- .changeset/remove-deno-kernel.md | 5 ++ js/tests/languages/deno.test.ts | 99 ----------------------------- python/tests/languages/test_deno.py | 97 ---------------------------- template/deno.json | 14 ---- template/server/messaging.py | 8 --- template/template.py | 14 +--- 6 files changed, 6 insertions(+), 231 deletions(-) create mode 100644 .changeset/remove-deno-kernel.md delete mode 100644 js/tests/languages/deno.test.ts delete mode 100644 python/tests/languages/test_deno.py delete mode 100644 template/deno.json diff --git a/.changeset/remove-deno-kernel.md b/.changeset/remove-deno-kernel.md new file mode 100644 index 00000000..6de7819d --- /dev/null +++ b/.changeset/remove-deno-kernel.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter-template': minor +--- + +remove Deno kernel diff --git a/js/tests/languages/deno.test.ts b/js/tests/languages/deno.test.ts deleted file mode 100644 index a595f7a9..00000000 --- a/js/tests/languages/deno.test.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { expect } from 'vitest' - -import { sandboxTest } from '../setup' - -sandboxTest.skip('js simple', async ({ sandbox }) => { - const result = await sandbox.runCode('console.log("Hello, World!")', { - language: 'deno', - }) - - expect(result.logs.stdout.join().trim()).toEqual('Hello, World!') -}) - -sandboxTest.skip('js import', async ({ sandbox }) => { - const result = await sandbox.runCode( - 'import isOdd from "npm:is-odd"\nisOdd(3)', - { language: 'deno' } - ) - - expect(result.results[0].text).toEqual('true') -}) - -sandboxTest.skip('js top level await', async ({ sandbox }) => { - const result = await sandbox.runCode( - ` - async function main() { - return 'Hello, World!' - } - - await main() - `, - { language: 'deno' } - ) - expect(result.results[0].text).toEqual('Hello, World!') -}) - -sandboxTest.skip('js es6', async ({ sandbox }) => { - const result = await sandbox.runCode( - ` - const add = (x, y) => x + y; - add(1, 2)`, - { language: 'deno' } - ) - expect(result.results[0].text).toEqual('3') -}) - -sandboxTest.skip('js context', async ({ sandbox }) => { - await sandbox.runCode('const z = 1', { language: 'deno' }) - const result = await sandbox.runCode('z', { language: 'deno' }) - expect(result.results[0].text).toEqual('1') -}) - -sandboxTest.skip('js cwd', async ({ sandbox }) => { - const result = await sandbox.runCode('process.cwd()', { language: 'deno' }) - expect(result.results[0].text).toEqual('/home/user') - - const ctx = await sandbox.createCodeContext({ - cwd: '/home', - language: 'deno', - }) - const result2 = await sandbox.runCode('process.cwd()', { context: ctx }) - expect(result2.results[0].text).toEqual('/home') -}) - -sandboxTest.skip('ts simple', async ({ sandbox }) => { - const result = await sandbox.runCode( - ` -function subtract(x: number, y: number): number { - return x - y; -} - -subtract(1, 2) -`, - { language: 'deno' } - ) - - expect(result.results[0].text).toEqual('-1') -}) - -sandboxTest.skip('test display', async ({ sandbox }) => { - const result = await sandbox.runCode( - ` - { - [Symbol.for("Jupyter.display")]() { - return { - // Plain text content - "text/plain": "Hello world!", - - // HTML output - "text/html": "

Hello world!

", - } - } -} -`, - { language: 'deno' } - ) - - expect(result.results[0].html).toBe('

Hello world!

') - expect(result.results[0].text).toBe('Hello world!') -}) diff --git a/python/tests/languages/test_deno.py b/python/tests/languages/test_deno.py deleted file mode 100644 index 74c3e57b..00000000 --- a/python/tests/languages/test_deno.py +++ /dev/null @@ -1,97 +0,0 @@ -import pytest - -from e2b_code_interpreter import AsyncSandbox - - -@pytest.mark.skip(reason="Deno is not supported yet") -async def test_javascript(async_sandbox: AsyncSandbox): - code = """ - console.log('Hello, World!') - """ - execution = await async_sandbox.run_code(code, language="deno") - assert execution.logs.stdout == ["Hello, World!\n"] - - -@pytest.mark.skip(reason="Deno is not supported yet") -async def test_import(async_sandbox: AsyncSandbox): - code = """ - import isOdd from 'npm:is-odd' - isOdd(3) - """ - execution = await async_sandbox.run_code(code, language="deno") - assert execution.results[0].text == "true" - - -@pytest.mark.skip(reason="Deno is not supported yet") -async def test_toplevel_await(async_sandbox: AsyncSandbox): - code = """ - async function main() { - return 'Hello, World!' - } - - await main() - """ - execution = await async_sandbox.run_code(code, language="deno") - assert execution.results[0].text == "Hello, World!" - - -@pytest.mark.skip(reason="Deno is not supported yet") -async def test_es6(async_sandbox: AsyncSandbox): - code = """ -const add = (x, y) => x + y; -add(1, 2); - """ - execution = await async_sandbox.run_code(code, language="deno") - assert execution.results[0].text == "3" - - -@pytest.mark.skip(reason="Deno is not supported yet") -async def test_context(async_sandbox: AsyncSandbox): - await async_sandbox.run_code("const x = 1", language="deno") - execution = await async_sandbox.run_code("x", language="deno") - assert execution.results[0].text == "1" - - -@pytest.mark.skip(reason="Deno is not supported yet") -async def test_cwd(async_sandbox: AsyncSandbox): - execution = await async_sandbox.run_code("process.cwd()", language="deno") - assert execution.results[0].text == "/home/user" - - ctx = await async_sandbox.create_code_context("/home", language="deno") - execution = await async_sandbox.run_code("process.cwd()", context=ctx) - assert execution.results[0].text == "/home" - - -@pytest.mark.skip(reason="Deno is not supported yet") -async def test_typescript(async_sandbox: AsyncSandbox): - execution = await async_sandbox.run_code( - """ -function subtract(x: number, y: number): number { - return x - y; -} - -subtract(1, 2); -""", - language="deno", - ) - assert execution.results[0].text == "-1" - - -@pytest.mark.skip(reason="Deno is not supported yet") -async def test_display(async_sandbox: AsyncSandbox): - code = """ -{ - [Symbol.for("Jupyter.display")]() { - return { - // Plain text content - "text/plain": "Hello world!", - - // HTML output - "text/html": "

Hello world!

", - } - } -} - """ - execution = await async_sandbox.run_code(code, language="deno") - assert execution.results[0].text == "Hello world!" - assert execution.results[0].html == "

Hello world!

" diff --git a/template/deno.json b/template/deno.json deleted file mode 100644 index 3c491e44..00000000 --- a/template/deno.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "argv": [ - "/usr/bin/deno", - "jupyter", - "--kernel", - "--conn", - "{connection_file}" - ], - "display_name": "Deno", - "env": { - "NO_COLOR": "1" - }, - "language": "typescript" -} diff --git a/template/server/messaging.py b/template/server/messaging.py index d5fdb270..0db59af0 100644 --- a/template/server/messaging.py +++ b/template/server/messaging.py @@ -154,8 +154,6 @@ def _set_env_var_snippet(self, key: str, value: str) -> str: return f"import os; os.environ['{key}'] = '{value}'" elif self.language in ["javascript", "typescript"]: return f"process.env['{key}'] = '{value}'" - elif self.language == "deno": - return f"Deno.env.set('{key}', '{value}')" elif self.language == "r": return f'Sys.setenv({key} = "{value}")' elif self.language == "java": @@ -170,8 +168,6 @@ def _delete_env_var_snippet(self, key: str) -> str: return f"import os; del os.environ['{key}']" elif self.language in ["javascript", "typescript"]: return f"delete process.env['{key}']" - elif self.language == "deno": - return f"Deno.env.delete('{key}')" elif self.language == "r": return f"Sys.unsetenv('{key}')" elif self.language == "java": @@ -297,10 +293,6 @@ async def change_current_directory( self._executions[message_id] = Execution(in_background=True) if language == "python": request = self._get_execute_request(message_id, f"%cd {path}", True) - elif language == "deno": - request = self._get_execute_request( - message_id, f"Deno.chdir('{path}')", True - ) elif language in ("javascript", "typescript"): request = self._get_execute_request( message_id, f"process.chdir('{path}')", True diff --git a/template/template.py b/template/template.py index 9101636a..62fec9e2 100644 --- a/template/template.py +++ b/template/template.py @@ -2,7 +2,7 @@ def make_template( - kernels: list[str] = ["python", "r", "javascript", "deno", "bash", "java"], + kernels: list[str] = ["python", "r", "javascript", "bash", "java"], is_docker: bool = False, ): enabled_kernels = set(["python", "javascript"] + kernels) @@ -20,8 +20,6 @@ def make_template( "JAVA_VERSION": "11", "JAVA_HOME": "/usr/lib/jvm/jdk-${JAVA_VERSION}", "IJAVA_VERSION": "1.3.0", - "DENO_INSTALL": "/opt/deno", - "DENO_VERSION": "v2.4.0", "R_VERSION": "4.5.*", } ) @@ -62,16 +60,6 @@ def make_template( g=True, ).run_cmd("ijsinstall --install=global") - # Install Deno Kernel if requested - if "deno" in enabled_kernels: - template = template.run_cmd( - [ - "curl -fsSL https://deno.land/install.sh | sh -s ${DENO_VERSION}", - "PATH=$DENO_INSTALL/bin:$PATH", - "deno jupyter --unstable --install", - ] - ).copy("deno.json", ".local/share/jupyter/kernels/deno/kernel.json") - # Install Bash Kernel if requested if "bash" in enabled_kernels: template = template.pip_install("bash_kernel").run_cmd( From b24e9797b2285a3664b0d18e81ab4c6360702636 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 14 May 2026 12:35:06 +0000 Subject: [PATCH 51/83] [skip ci] Release new versions --- .changeset/remove-deno-kernel.md | 5 ----- template/package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/remove-deno-kernel.md diff --git a/.changeset/remove-deno-kernel.md b/.changeset/remove-deno-kernel.md deleted file mode 100644 index 6de7819d..00000000 --- a/.changeset/remove-deno-kernel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2b/code-interpreter-template': minor ---- - -remove Deno kernel diff --git a/template/package.json b/template/package.json index a59ad1f8..a7081302 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.3.4", + "version": "0.4.0", "scripts": { "lint": "ruff check .", "format": "ruff format ." From 5fedbeaa2f5e0515b6fd9dd5d8300b7e1d4570c7 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Thu, 14 May 2026 20:19:54 +0200 Subject: [PATCH 52/83] Apply cwd to bash kernel contexts (#269) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Apply cwd to bash kernel contexts The change_current_directory handler in the template server only had branches for python, javascript/typescript, r, and java — bash fell through to the no-op else, so a context created with a non-default cwd still returned `/` from `pwd`. Added a bash branch that sends `cd ` and added bash cwd tests across sync/async python and js suites. Co-Authored-By: Claude Opus 4.7 * Quote path in bash cd snippet Matches the quoting used in the js, r, and java branches so paths containing spaces or shell metacharacters cd to the intended directory. Co-Authored-By: Claude Opus 4.7 --------- Co-authored-by: Claude Opus 4.7 --- .changeset/bash-cwd.md | 5 +++++ js/tests/cwd.test.ts | 7 +++++++ python/tests/async/test_async_cwd.py | 6 ++++++ python/tests/sync/test_cwd.py | 6 ++++++ template/server/messaging.py | 2 ++ 5 files changed, 26 insertions(+) create mode 100644 .changeset/bash-cwd.md diff --git a/.changeset/bash-cwd.md b/.changeset/bash-cwd.md new file mode 100644 index 00000000..99103155 --- /dev/null +++ b/.changeset/bash-cwd.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter-template': patch +--- + +Apply cwd to bash kernel contexts (previously ignored, so `pwd` returned `/` regardless of the requested working directory) diff --git a/js/tests/cwd.test.ts b/js/tests/cwd.test.ts index b9a35ca3..14b671d4 100644 --- a/js/tests/cwd.test.ts +++ b/js/tests/cwd.test.ts @@ -40,3 +40,10 @@ sandboxTest.skipIf(isDebug)('cwd java', async ({ sandbox }) => { }) expect(result.results[0]?.text.trim()).toEqual('/home/user') }) + +sandboxTest.skipIf(isDebug)('cwd bash', async ({ sandbox }) => { + const result = await sandbox.runCode('pwd', { + language: 'bash', + }) + expect(result.logs.stdout.join().trim()).toEqual('/home/user') +}) diff --git a/python/tests/async/test_async_cwd.py b/python/tests/async/test_async_cwd.py index e03b3e68..1896d767 100644 --- a/python/tests/async/test_async_cwd.py +++ b/python/tests/async/test_async_cwd.py @@ -33,3 +33,9 @@ async def test_cwd_java(async_sandbox: AsyncSandbox): 'System.getProperty("user.dir")', language="java" ) assert result.results[0].text.strip() == "/home/user" + + +@pytest.mark.skip_debug() +async def test_cwd_bash(async_sandbox: AsyncSandbox): + result = await async_sandbox.run_code("pwd", language="bash") + assert "".join(result.logs.stdout).strip() == "/home/user" diff --git a/python/tests/sync/test_cwd.py b/python/tests/sync/test_cwd.py index 35f91a2b..b238f7e9 100644 --- a/python/tests/sync/test_cwd.py +++ b/python/tests/sync/test_cwd.py @@ -31,3 +31,9 @@ def test_cwd_r(sandbox: Sandbox): def test_cwd_java(sandbox: Sandbox): result = sandbox.run_code('System.getProperty("user.dir")', language="java") assert result.results[0].text.strip() == "/home/user" + + +@pytest.mark.skip_debug() +def test_cwd_bash(sandbox: Sandbox): + result = sandbox.run_code("pwd", language="bash") + assert "".join(result.logs.stdout).strip() == "/home/user" diff --git a/template/server/messaging.py b/template/server/messaging.py index 0db59af0..c51f8b21 100644 --- a/template/server/messaging.py +++ b/template/server/messaging.py @@ -304,6 +304,8 @@ async def change_current_directory( request = self._get_execute_request( message_id, f'System.setProperty("user.dir", "{path}");', True ) + elif language == "bash": + request = self._get_execute_request(message_id, f"cd '{path}'", True) else: return From e257dcb409a1a9101d5ebd3caf3e6349b77df050 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 14 May 2026 18:39:50 +0000 Subject: [PATCH 53/83] [skip ci] Release new versions --- .changeset/bash-cwd.md | 5 ----- template/package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/bash-cwd.md diff --git a/.changeset/bash-cwd.md b/.changeset/bash-cwd.md deleted file mode 100644 index 99103155..00000000 --- a/.changeset/bash-cwd.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2b/code-interpreter-template': patch ---- - -Apply cwd to bash kernel contexts (previously ignored, so `pwd` returned `/` regardless of the requested working directory) diff --git a/template/package.json b/template/package.json index a7081302..b72b91ec 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.4.0", + "version": "0.4.1", "scripts": { "lint": "ruff check .", "format": "ruff format ." From b355e7cd14696237210794927ab6ef208e9753b7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 04:54:43 -0700 Subject: [PATCH 54/83] Update dependency urllib3 to v2.7.0 [SECURITY] (#267) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index ebb9ce65..944167f4 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -38,7 +38,7 @@ soundfile==0.13.1 spacy==3.8.11 textblob==0.19.0 tornado==6.5.5 -urllib3==2.6.3 +urllib3==2.7.0 xarray==2025.4.0 xlrd==2.0.2 sympy==1.14.0 From 5740716ad5e5672bdd77d9678828a5a2532c9a5f Mon Sep 17 00:00:00 2001 From: Nikita Kalyazin Date: Fri, 22 May 2026 17:17:33 +0100 Subject: [PATCH 55/83] perf(template): defer heavy imports (#272) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit perf(startup): defer heavy imports in 0002_data.py The IPython startup script imports pandas, matplotlib.pyplot, e2b_charts, and orjson at module load time. Every Python kernel pays that cost in resident memory, regardless of whether the customer ever displays a DataFrame, Figure, or large JSON object — and that resident heap is captured in the snapshot at every pause. Move the heavy imports into the formatter __call__ bodies so they are only resolved when a matching object is actually rendered. Top-level imports are limited to IPython + traitlets, which is what the formatter class definitions actually need. IPython invokes every registered formatter for every displayed object, so a naive "import pandas" at the top of __call__ would shift the cost from kernel boot to the first cell with any output. Instead, gate on sys.modules.get("pandas"): a pandas.DataFrame cannot exist unless the user has already imported pandas. The same sentinel works for the matplotlib + e2b_charts dependency chain in E2BChartFormatter. Sessions that never touch pandas/matplotlib now never load them. E2BDataFormatter previously declared type_printers={pandas.DataFrame: …}, which forced pandas at class-definition time. The new version dispatches via isinstance() inside __call__ — slightly more work per formatted object, but the heavy dependencies stay unloaded until the user genuinely needs them. Signed-off-by: Nikita Kalyazin --- template/startup_scripts/0002_data.py | 67 ++++++++++++++------------- 1 file changed, 35 insertions(+), 32 deletions(-) diff --git a/template/startup_scripts/0002_data.py b/template/startup_scripts/0002_data.py index 1f621904..3e994487 100644 --- a/template/startup_scripts/0002_data.py +++ b/template/startup_scripts/0002_data.py @@ -1,33 +1,9 @@ -import pandas -from matplotlib.pyplot import Figure +import sys + import IPython from IPython.core.formatters import BaseFormatter, JSONFormatter from traitlets.traitlets import Unicode, ObjectName -from e2b_charts import chart_figure_to_dict -import orjson - - -def _figure_repr_e2b_chart_(self: Figure): - """ - This method is used to extract data from the figure object to a dictionary - """ - # Get all Axes objects from the Figure - try: - return chart_figure_to_dict(self) - except: # noqa: E722 - return {} - - -def _dataframe_repr_e2b_data_(self: pandas.DataFrame): - result = self.to_dict(orient="list") - for key, value in result.items(): - # Check each column's values - result[key] = [ - v.isoformat() if isinstance(v, pandas.Timestamp) else v for v in value - ] - return result - class E2BDataFormatter(BaseFormatter): format_type = Unicode("e2b/data") @@ -35,7 +11,23 @@ class E2BDataFormatter(BaseFormatter): print_method = ObjectName("_repr_e2b_data_") _return_type = (dict, str) - type_printers = {pandas.DataFrame: _dataframe_repr_e2b_data_} + def __call__(self, obj): + # IPython invokes every registered formatter for every displayed + # object. Gate on sys.modules so a non-DataFrame output (e.g. an + # int from `1 + 1`) doesn't pay the pandas import cost — a + # pandas.DataFrame can only exist if the user already imported + # pandas. + pandas = sys.modules.get("pandas") + if pandas is None or not isinstance(obj, pandas.DataFrame): + return super().__call__(obj) + + result = obj.to_dict(orient="list") + for key, value in result.items(): + # Check each column's values + result[key] = [ + v.isoformat() if isinstance(v, pandas.Timestamp) else v for v in value + ] + return result class E2BChartFormatter(BaseFormatter): @@ -45,19 +37,30 @@ class E2BChartFormatter(BaseFormatter): _return_type = (dict, str) def __call__(self, obj): - # Figure object is for some reason removed on execution of the cell, - # so it can't be used in type_printers or with top-level import + # Same sys.modules gate as E2BDataFormatter: a matplotlib Figure + # can only exist if the user already imported matplotlib. + if sys.modules.get("matplotlib") is None: + return super().__call__(obj) + from matplotlib.pyplot import Figure - if isinstance(obj, Figure): - return _figure_repr_e2b_chart_(obj) - return super().__call__(obj) + if not isinstance(obj, Figure): + return super().__call__(obj) + + from e2b_charts import chart_figure_to_dict + + try: + return chart_figure_to_dict(obj) + except: # noqa: E722 + return {} class E2BJSONFormatter(JSONFormatter): def __call__(self, obj): if isinstance(obj, (list, dict)): try: + import orjson + return orjson.loads( orjson.dumps( obj, option=orjson.OPT_SERIALIZE_NUMPY | orjson.OPT_NON_STR_KEYS From a214875acbdfcf163e2cdb91585612a6f2b88891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Nov=C3=A1k?= Date: Fri, 22 May 2026 22:05:57 +0200 Subject: [PATCH 56/83] chore: update e2b js to 2.24 and python to 2.23 (#273) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Force HTTP/1.1 transport for Jupyter requests The base e2b SDK's shared transport now defaults to http2=True. On the streaming /execute endpoint HTTP/2 multiplexing means a cancelled request only resets the H2 stream — the underlying TCP connection stays open and the server can't detect the client disconnect, so long-running executions can't be cancelled reliably. Use e2b's get_transport with http2=False for the Jupyter client to keep a 1:1 mapping between TCP connection and request. * Apply suggestion from @jakubno --- .changeset/update-e2b-deps.md | 22 + js/package.json | 2 +- pnpm-lock.yaml | 19 +- .../code_interpreter_async.py | 20 +- .../code_interpreter_sync.py | 17 +- python/poetry.lock | 967 ++++++++++-------- python/pyproject.toml | 2 +- 7 files changed, 593 insertions(+), 456 deletions(-) create mode 100644 .changeset/update-e2b-deps.md diff --git a/.changeset/update-e2b-deps.md b/.changeset/update-e2b-deps.md new file mode 100644 index 00000000..56162e1b --- /dev/null +++ b/.changeset/update-e2b-deps.md @@ -0,0 +1,22 @@ +--- +'@e2b/code-interpreter': minor +'@e2b/code-interpreter-python': minor +--- + +Update e2b SDK versions + +Remove `Sandbox.betaCreate` (JS) and `Sandbox.beta_create` (Python). These methods were a beta of the `lifecycle` configuration that has since shipped on `Sandbox.create`. Migrate by calling `Sandbox.create` with the `lifecycle` option: + +```ts +// before +await Sandbox.betaCreate({ autoPause: true }) +// after +await Sandbox.create({ lifecycle: { onTimeout: 'pause' } }) +``` + +```python +# before +Sandbox.beta_create(auto_pause=True) +# after +Sandbox.create(lifecycle={"on_timeout": "pause"}) +``` diff --git a/js/package.json b/js/package.json index 4c410b6a..340e9816 100644 --- a/js/package.json +++ b/js/package.json @@ -71,6 +71,6 @@ "defaults" ], "dependencies": { - "e2b": "^2.19.4" + "e2b": "^2.24.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c92e4c61..462277e6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: js: dependencies: e2b: - specifier: ^2.19.4 - version: 2.19.4 + specifier: ^2.24.0 + version: 2.24.0 devDependencies: '@types/node': specifier: ^20.19.19 @@ -1121,9 +1121,9 @@ packages: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} - e2b@2.19.4: - resolution: {integrity: sha512-9RefLykkjzVu+kUQfX5RxBonmZb08jcXIrRCRmZ8zutbG2bKV6PPyhV9O7mcyB1ZVHHO9UD2G8Z0VtY0lC+AAQ==} - engines: {node: '>=20'} + e2b@2.24.0: + resolution: {integrity: sha512-Vj9BvHRNXbXvlchz6N0Qf8oXBS6Nb3nkh8EvdYBky1f0FEs2+85hMtgJwgKxcbfJlVfzz3K1GaKb6HxcO4Xlug==} + engines: {node: '>=20.18.1'} easy-table@1.2.0: resolution: {integrity: sha512-OFzVOv03YpvtcWGe5AayU5G2hgybsg3iqA6drU8UaoZyB9jLGMTrz9+asnLp/E+6qPh88yEI1gvyZFZ41dmgww==} @@ -1890,6 +1890,10 @@ packages: undici-types@6.21.0: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + undici@7.25.0: + resolution: {integrity: sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==} + engines: {node: '>=20.18.1'} + universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} @@ -2879,7 +2883,7 @@ snapshots: dotenv@16.6.1: {} - e2b@2.19.4: + e2b@2.24.0: dependencies: '@bufbuild/protobuf': 2.11.0 '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.11.0) @@ -2891,6 +2895,7 @@ snapshots: openapi-fetch: 0.14.1 platform: 1.3.6 tar: 7.5.12 + undici: 7.25.0 easy-table@1.2.0: dependencies: @@ -3704,6 +3709,8 @@ snapshots: undici-types@6.21.0: {} + undici@7.25.0: {} + universalify@0.1.2: {} uri-js@4.4.1: diff --git a/python/e2b_code_interpreter/code_interpreter_async.py b/python/e2b_code_interpreter/code_interpreter_async.py index 35684cd1..4f3696c4 100644 --- a/python/e2b_code_interpreter/code_interpreter_async.py +++ b/python/e2b_code_interpreter/code_interpreter_async.py @@ -8,6 +8,7 @@ AsyncSandbox as BaseAsyncSandbox, InvalidArgumentException, ) +from e2b.api.client_async import get_transport from e2b_code_interpreter.constants import ( DEFAULT_TEMPLATE, @@ -63,7 +64,24 @@ def _jupyter_url(self) -> str: @property def _client(self) -> AsyncClient: - return AsyncClient(transport=self._transport) + # TODO: Remove later + # Use a dedicated HTTP/1.1 transport for Jupyter requests. + # + # The base SDK's shared transport now defaults to http2=True. With + # HTTP/2, multiple requests are multiplexed over a single TCP + # connection, so when a client cancels a request (e.g. the caller + # disconnects from the streaming `/execute` endpoint) the server + # may not detect the disconnect: only the HTTP/2 stream is + # cancelled, the underlying TCP connection stays open. + # + # Forcing HTTP/1.1 here keeps the 1:1 mapping between TCP + # connection and request, so client disconnects propagate to the + # server as a TCP close and long-running executions can be + # cancelled reliably. The helper also caches the transport + # per-event-loop for async. + return AsyncClient( + transport=get_transport(self.connection_config, http2=False), + ) @overload async def run_code( diff --git a/python/e2b_code_interpreter/code_interpreter_sync.py b/python/e2b_code_interpreter/code_interpreter_sync.py index 6020cc89..bea57db4 100644 --- a/python/e2b_code_interpreter/code_interpreter_sync.py +++ b/python/e2b_code_interpreter/code_interpreter_sync.py @@ -4,6 +4,7 @@ from typing import Optional, Dict, overload, Union, List from httpx import Client from e2b import Sandbox as BaseSandbox, InvalidArgumentException +from e2b.api.client_sync import get_transport from e2b_code_interpreter.constants import ( DEFAULT_TEMPLATE, @@ -60,7 +61,21 @@ def _jupyter_url(self) -> str: @property def _client(self) -> Client: - return Client(transport=self._transport) + # TODO: Remove later + # Use a dedicated HTTP/1.1 transport for Jupyter requests. + # + # The base SDK's shared transport now defaults to http2=True. With + # HTTP/2, multiple requests are multiplexed over a single TCP + # connection, so when a client cancels a request (e.g. the caller + # disconnects from the streaming `/execute` endpoint) the server + # may not detect the disconnect: only the HTTP/2 stream is + # cancelled, the underlying TCP connection stays open. + # + # Forcing HTTP/1.1 here keeps the 1:1 mapping between TCP + # connection and request, so client disconnects propagate to the + # server as a TCP close and long-running executions can be + # cancelled reliably. + return Client(transport=get_transport(self.connection_config, http2=False)) @overload def run_code( diff --git a/python/poetry.lock b/python/poetry.lock index 12155fe6..52e9fbea 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -1,46 +1,35 @@ -# This file is automatically @generated by Poetry 1.8.5 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "anyio" -version = "4.4.0" -description = "High level compatibility layer for multiple asynchronous event loop implementations" +version = "4.13.0" +description = "High-level concurrency and networking framework on top of asyncio or Trio" optional = false -python-versions = ">=3.8" +python-versions = ">=3.10" files = [ - {file = "anyio-4.4.0-py3-none-any.whl", hash = "sha256:c1b2d8f46a8a812513012e1107cb0e68c17159a7a594208005a57dc776e1bdc7"}, - {file = "anyio-4.4.0.tar.gz", hash = "sha256:5aadc6a1bbb7cdb0bede386cac5e2940f5e2ff3aa20277e991cf028e0585ce94"}, + {file = "anyio-4.13.0-py3-none-any.whl", hash = "sha256:08b310f9e24a9594186fd75b4f73f4a4152069e3853f1ed8bfbf58369f4ad708"}, + {file = "anyio-4.13.0.tar.gz", hash = "sha256:334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc"}, ] [package.dependencies] exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} idna = ">=2.8" -sniffio = ">=1.1" -typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""} +typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""} [package.extras] -doc = ["Sphinx (>=7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] -test = ["anyio[trio]", "coverage[toml] (>=7)", "exceptiongroup (>=1.2.0)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"] -trio = ["trio (>=0.23)"] +trio = ["trio (>=0.32.0)"] [[package]] name = "attrs" -version = "23.2.0" +version = "26.1.0" description = "Classes Without Boilerplate" optional = false -python-versions = ">=3.7" +python-versions = ">=3.9" files = [ - {file = "attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1"}, - {file = "attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"}, + {file = "attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309"}, + {file = "attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32"}, ] -[package.extras] -cov = ["attrs[tests]", "coverage[toml] (>=5.3)"] -dev = ["attrs[tests]", "pre-commit"] -docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"] -tests = ["attrs[tests-no-zope]", "zope-interface"] -tests-mypy = ["mypy (>=1.6)", "pytest-mypy-plugins"] -tests-no-zope = ["attrs[tests-mypy]", "cloudpickle", "hypothesis", "pympler", "pytest (>=4.3.0)", "pytest-xdist[psutil]"] - [[package]] name = "backports-asyncio-runner" version = "1.2.0" @@ -65,13 +54,13 @@ files = [ [[package]] name = "certifi" -version = "2024.7.4" +version = "2026.5.20" description = "Python package for providing Mozilla's CA Bundle." optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" files = [ - {file = "certifi-2024.7.4-py3-none-any.whl", hash = "sha256:c198e21b1289c2ab85ee4e67bb4b4ef3ead0892059901a8d5b622f24a1101e90"}, - {file = "certifi-2024.7.4.tar.gz", hash = "sha256:5a1e7645bc0ec61a09e26c36f6106dd4cf40c6db3a1fb6352b0244e7fb057c7b"}, + {file = "certifi-2026.5.20-py3-none-any.whl", hash = "sha256:3c52e209ba0a4ad7aebe60436a4ab349c39e1e602e8c134221e546902ad25897"}, + {file = "certifi-2026.5.20.tar.gz", hash = "sha256:69dea482ab64caa7b9f6aba1c6bf48bb6a5448d1c0f1b17ab42ad8c763a5344d"}, ] [[package]] @@ -87,76 +76,68 @@ files = [ [[package]] name = "contourpy" -version = "1.3.0" +version = "1.3.2" description = "Python library for calculating contours of 2D quadrilateral grids" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" files = [ - {file = "contourpy-1.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:880ea32e5c774634f9fcd46504bf9f080a41ad855f4fef54f5380f5133d343c7"}, - {file = "contourpy-1.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:76c905ef940a4474a6289c71d53122a4f77766eef23c03cd57016ce19d0f7b42"}, - {file = "contourpy-1.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:92f8557cbb07415a4d6fa191f20fd9d2d9eb9c0b61d1b2f52a8926e43c6e9af7"}, - {file = "contourpy-1.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:36f965570cff02b874773c49bfe85562b47030805d7d8360748f3eca570f4cab"}, - {file = "contourpy-1.3.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cacd81e2d4b6f89c9f8a5b69b86490152ff39afc58a95af002a398273e5ce589"}, - {file = "contourpy-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:69375194457ad0fad3a839b9e29aa0b0ed53bb54db1bfb6c3ae43d111c31ce41"}, - {file = "contourpy-1.3.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:7a52040312b1a858b5e31ef28c2e865376a386c60c0e248370bbea2d3f3b760d"}, - {file = "contourpy-1.3.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3faeb2998e4fcb256542e8a926d08da08977f7f5e62cf733f3c211c2a5586223"}, - {file = "contourpy-1.3.0-cp310-cp310-win32.whl", hash = "sha256:36e0cff201bcb17a0a8ecc7f454fe078437fa6bda730e695a92f2d9932bd507f"}, - {file = "contourpy-1.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:87ddffef1dbe5e669b5c2440b643d3fdd8622a348fe1983fad7a0f0ccb1cd67b"}, - {file = "contourpy-1.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0fa4c02abe6c446ba70d96ece336e621efa4aecae43eaa9b030ae5fb92b309ad"}, - {file = "contourpy-1.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:834e0cfe17ba12f79963861e0f908556b2cedd52e1f75e6578801febcc6a9f49"}, - {file = "contourpy-1.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dbc4c3217eee163fa3984fd1567632b48d6dfd29216da3ded3d7b844a8014a66"}, - {file = "contourpy-1.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4865cd1d419e0c7a7bf6de1777b185eebdc51470800a9f42b9e9decf17762081"}, - {file = "contourpy-1.3.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:303c252947ab4b14c08afeb52375b26781ccd6a5ccd81abcdfc1fafd14cf93c1"}, - {file = "contourpy-1.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:637f674226be46f6ba372fd29d9523dd977a291f66ab2a74fbeb5530bb3f445d"}, - {file = "contourpy-1.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:76a896b2f195b57db25d6b44e7e03f221d32fe318d03ede41f8b4d9ba1bff53c"}, - {file = "contourpy-1.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:e1fd23e9d01591bab45546c089ae89d926917a66dceb3abcf01f6105d927e2cb"}, - {file = "contourpy-1.3.0-cp311-cp311-win32.whl", hash = "sha256:d402880b84df3bec6eab53cd0cf802cae6a2ef9537e70cf75e91618a3801c20c"}, - {file = "contourpy-1.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:6cb6cc968059db9c62cb35fbf70248f40994dfcd7aa10444bbf8b3faeb7c2d67"}, - {file = "contourpy-1.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:570ef7cf892f0afbe5b2ee410c507ce12e15a5fa91017a0009f79f7d93a1268f"}, - {file = "contourpy-1.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:da84c537cb8b97d153e9fb208c221c45605f73147bd4cadd23bdae915042aad6"}, - {file = "contourpy-1.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0be4d8425bfa755e0fd76ee1e019636ccc7c29f77a7c86b4328a9eb6a26d0639"}, - {file = "contourpy-1.3.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9c0da700bf58f6e0b65312d0a5e695179a71d0163957fa381bb3c1f72972537c"}, - {file = "contourpy-1.3.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:eb8b141bb00fa977d9122636b16aa67d37fd40a3d8b52dd837e536d64b9a4d06"}, - {file = "contourpy-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3634b5385c6716c258d0419c46d05c8aa7dc8cb70326c9a4fb66b69ad2b52e09"}, - {file = "contourpy-1.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0dce35502151b6bd35027ac39ba6e5a44be13a68f55735c3612c568cac3805fd"}, - {file = "contourpy-1.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:aea348f053c645100612b333adc5983d87be69acdc6d77d3169c090d3b01dc35"}, - {file = "contourpy-1.3.0-cp312-cp312-win32.whl", hash = "sha256:90f73a5116ad1ba7174341ef3ea5c3150ddf20b024b98fb0c3b29034752c8aeb"}, - {file = "contourpy-1.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:b11b39aea6be6764f84360fce6c82211a9db32a7c7de8fa6dd5397cf1d079c3b"}, - {file = "contourpy-1.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3e1c7fa44aaae40a2247e2e8e0627f4bea3dd257014764aa644f319a5f8600e3"}, - {file = "contourpy-1.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:364174c2a76057feef647c802652f00953b575723062560498dc7930fc9b1cb7"}, - {file = "contourpy-1.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:32b238b3b3b649e09ce9aaf51f0c261d38644bdfa35cbaf7b263457850957a84"}, - {file = "contourpy-1.3.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d51fca85f9f7ad0b65b4b9fe800406d0d77017d7270d31ec3fb1cc07358fdea0"}, - {file = "contourpy-1.3.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:732896af21716b29ab3e988d4ce14bc5133733b85956316fb0c56355f398099b"}, - {file = "contourpy-1.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d73f659398a0904e125280836ae6f88ba9b178b2fed6884f3b1f95b989d2c8da"}, - {file = "contourpy-1.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c6c7c2408b7048082932cf4e641fa3b8ca848259212f51c8c59c45aa7ac18f14"}, - {file = "contourpy-1.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f317576606de89da6b7e0861cf6061f6146ead3528acabff9236458a6ba467f8"}, - {file = "contourpy-1.3.0-cp313-cp313-win32.whl", hash = "sha256:31cd3a85dbdf1fc002280c65caa7e2b5f65e4a973fcdf70dd2fdcb9868069294"}, - {file = "contourpy-1.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:4553c421929ec95fb07b3aaca0fae668b2eb5a5203d1217ca7c34c063c53d087"}, - {file = "contourpy-1.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:345af746d7766821d05d72cb8f3845dfd08dd137101a2cb9b24de277d716def8"}, - {file = "contourpy-1.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3bb3808858a9dc68f6f03d319acd5f1b8a337e6cdda197f02f4b8ff67ad2057b"}, - {file = "contourpy-1.3.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:420d39daa61aab1221567b42eecb01112908b2cab7f1b4106a52caaec8d36973"}, - {file = "contourpy-1.3.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4d63ee447261e963af02642ffcb864e5a2ee4cbfd78080657a9880b8b1868e18"}, - {file = "contourpy-1.3.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:167d6c890815e1dac9536dca00828b445d5d0df4d6a8c6adb4a7ec3166812fa8"}, - {file = "contourpy-1.3.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:710a26b3dc80c0e4febf04555de66f5fd17e9cf7170a7b08000601a10570bda6"}, - {file = "contourpy-1.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:75ee7cb1a14c617f34a51d11fa7524173e56551646828353c4af859c56b766e2"}, - {file = "contourpy-1.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:33c92cdae89ec5135d036e7218e69b0bb2851206077251f04a6c4e0e21f03927"}, - {file = "contourpy-1.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a11077e395f67ffc2c44ec2418cfebed032cd6da3022a94fc227b6faf8e2acb8"}, - {file = "contourpy-1.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e8134301d7e204c88ed7ab50028ba06c683000040ede1d617298611f9dc6240c"}, - {file = "contourpy-1.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e12968fdfd5bb45ffdf6192a590bd8ddd3ba9e58360b29683c6bb71a7b41edca"}, - {file = "contourpy-1.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fd2a0fc506eccaaa7595b7e1418951f213cf8255be2600f1ea1b61e46a60c55f"}, - {file = "contourpy-1.3.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4cfb5c62ce023dfc410d6059c936dcf96442ba40814aefbfa575425a3a7f19dc"}, - {file = "contourpy-1.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:68a32389b06b82c2fdd68276148d7b9275b5f5cf13e5417e4252f6d1a34f72a2"}, - {file = "contourpy-1.3.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:94e848a6b83da10898cbf1311a815f770acc9b6a3f2d646f330d57eb4e87592e"}, - {file = "contourpy-1.3.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:d78ab28a03c854a873787a0a42254a0ccb3cb133c672f645c9f9c8f3ae9d0800"}, - {file = "contourpy-1.3.0-cp39-cp39-win32.whl", hash = "sha256:81cb5ed4952aae6014bc9d0421dec7c5835c9c8c31cdf51910b708f548cf58e5"}, - {file = "contourpy-1.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:14e262f67bd7e6eb6880bc564dcda30b15e351a594657e55b7eec94b6ef72843"}, - {file = "contourpy-1.3.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:fe41b41505a5a33aeaed2a613dccaeaa74e0e3ead6dd6fd3a118fb471644fd6c"}, - {file = "contourpy-1.3.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eca7e17a65f72a5133bdbec9ecf22401c62bcf4821361ef7811faee695799779"}, - {file = "contourpy-1.3.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:1ec4dc6bf570f5b22ed0d7efba0dfa9c5b9e0431aeea7581aa217542d9e809a4"}, - {file = "contourpy-1.3.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:00ccd0dbaad6d804ab259820fa7cb0b8036bda0686ef844d24125d8287178ce0"}, - {file = "contourpy-1.3.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8ca947601224119117f7c19c9cdf6b3ab54c5726ef1d906aa4a69dfb6dd58102"}, - {file = "contourpy-1.3.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:c6ec93afeb848a0845a18989da3beca3eec2c0f852322efe21af1931147d12cb"}, - {file = "contourpy-1.3.0.tar.gz", hash = "sha256:7ffa0db17717a8ffb127efd0c95a4362d996b892c2904db72428d5b52e1938a4"}, + {file = "contourpy-1.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ba38e3f9f330af820c4b27ceb4b9c7feee5fe0493ea53a8720f4792667465934"}, + {file = "contourpy-1.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:dc41ba0714aa2968d1f8674ec97504a8f7e334f48eeacebcaa6256213acb0989"}, + {file = "contourpy-1.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9be002b31c558d1ddf1b9b415b162c603405414bacd6932d031c5b5a8b757f0d"}, + {file = "contourpy-1.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8d2e74acbcba3bfdb6d9d8384cdc4f9260cae86ed9beee8bd5f54fee49a430b9"}, + {file = "contourpy-1.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e259bced5549ac64410162adc973c5e2fb77f04df4a439d00b478e57a0e65512"}, + {file = "contourpy-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ad687a04bc802cbe8b9c399c07162a3c35e227e2daccf1668eb1f278cb698631"}, + {file = "contourpy-1.3.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:cdd22595308f53ef2f891040ab2b93d79192513ffccbd7fe19be7aa773a5e09f"}, + {file = "contourpy-1.3.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b4f54d6a2defe9f257327b0f243612dd051cc43825587520b1bf74a31e2f6ef2"}, + {file = "contourpy-1.3.2-cp310-cp310-win32.whl", hash = "sha256:f939a054192ddc596e031e50bb13b657ce318cf13d264f095ce9db7dc6ae81c0"}, + {file = "contourpy-1.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:c440093bbc8fc21c637c03bafcbef95ccd963bc6e0514ad887932c18ca2a759a"}, + {file = "contourpy-1.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6a37a2fb93d4df3fc4c0e363ea4d16f83195fc09c891bc8ce072b9d084853445"}, + {file = "contourpy-1.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b7cd50c38f500bbcc9b6a46643a40e0913673f869315d8e70de0438817cb7773"}, + {file = "contourpy-1.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d6658ccc7251a4433eebd89ed2672c2ed96fba367fd25ca9512aa92a4b46c4f1"}, + {file = "contourpy-1.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:70771a461aaeb335df14deb6c97439973d253ae70660ca085eec25241137ef43"}, + {file = "contourpy-1.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65a887a6e8c4cd0897507d814b14c54a8c2e2aa4ac9f7686292f9769fcf9a6ab"}, + {file = "contourpy-1.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3859783aefa2b8355697f16642695a5b9792e7a46ab86da1118a4a23a51a33d7"}, + {file = "contourpy-1.3.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:eab0f6db315fa4d70f1d8ab514e527f0366ec021ff853d7ed6a2d33605cf4b83"}, + {file = "contourpy-1.3.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d91a3ccc7fea94ca0acab82ceb77f396d50a1f67412efe4c526f5d20264e6ecd"}, + {file = "contourpy-1.3.2-cp311-cp311-win32.whl", hash = "sha256:1c48188778d4d2f3d48e4643fb15d8608b1d01e4b4d6b0548d9b336c28fc9b6f"}, + {file = "contourpy-1.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:5ebac872ba09cb8f2131c46b8739a7ff71de28a24c869bcad554477eb089a878"}, + {file = "contourpy-1.3.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4caf2bcd2969402bf77edc4cb6034c7dd7c0803213b3523f111eb7460a51b8d2"}, + {file = "contourpy-1.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:82199cb78276249796419fe36b7386bd8d2cc3f28b3bc19fe2454fe2e26c4c15"}, + {file = "contourpy-1.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:106fab697af11456fcba3e352ad50effe493a90f893fca6c2ca5c033820cea92"}, + {file = "contourpy-1.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d14f12932a8d620e307f715857107b1d1845cc44fdb5da2bc8e850f5ceba9f87"}, + {file = "contourpy-1.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:532fd26e715560721bb0d5fc7610fce279b3699b018600ab999d1be895b09415"}, + {file = "contourpy-1.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f26b383144cf2d2c29f01a1e8170f50dacf0eac02d64139dcd709a8ac4eb3cfe"}, + {file = "contourpy-1.3.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c49f73e61f1f774650a55d221803b101d966ca0c5a2d6d5e4320ec3997489441"}, + {file = "contourpy-1.3.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3d80b2c0300583228ac98d0a927a1ba6a2ba6b8a742463c564f1d419ee5b211e"}, + {file = "contourpy-1.3.2-cp312-cp312-win32.whl", hash = "sha256:90df94c89a91b7362e1142cbee7568f86514412ab8a2c0d0fca72d7e91b62912"}, + {file = "contourpy-1.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:8c942a01d9163e2e5cfb05cb66110121b8d07ad438a17f9e766317bcb62abf73"}, + {file = "contourpy-1.3.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:de39db2604ae755316cb5967728f4bea92685884b1e767b7c24e983ef5f771cb"}, + {file = "contourpy-1.3.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:3f9e896f447c5c8618f1edb2bafa9a4030f22a575ec418ad70611450720b5b08"}, + {file = "contourpy-1.3.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:71e2bd4a1c4188f5c2b8d274da78faab884b59df20df63c34f74aa1813c4427c"}, + {file = "contourpy-1.3.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:de425af81b6cea33101ae95ece1f696af39446db9682a0b56daaa48cfc29f38f"}, + {file = "contourpy-1.3.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:977e98a0e0480d3fe292246417239d2d45435904afd6d7332d8455981c408b85"}, + {file = "contourpy-1.3.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:434f0adf84911c924519d2b08fc10491dd282b20bdd3fa8f60fd816ea0b48841"}, + {file = "contourpy-1.3.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c66c4906cdbc50e9cba65978823e6e00b45682eb09adbb78c9775b74eb222422"}, + {file = "contourpy-1.3.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8b7fc0cd78ba2f4695fd0a6ad81a19e7e3ab825c31b577f384aa9d7817dc3bef"}, + {file = "contourpy-1.3.2-cp313-cp313-win32.whl", hash = "sha256:15ce6ab60957ca74cff444fe66d9045c1fd3e92c8936894ebd1f3eef2fff075f"}, + {file = "contourpy-1.3.2-cp313-cp313-win_amd64.whl", hash = "sha256:e1578f7eafce927b168752ed7e22646dad6cd9bca673c60bff55889fa236ebf9"}, + {file = "contourpy-1.3.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0475b1f6604896bc7c53bb070e355e9321e1bc0d381735421a2d2068ec56531f"}, + {file = "contourpy-1.3.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:c85bb486e9be652314bb5b9e2e3b0d1b2e643d5eec4992c0fbe8ac71775da739"}, + {file = "contourpy-1.3.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:745b57db7758f3ffc05a10254edd3182a2a83402a89c00957a8e8a22f5582823"}, + {file = "contourpy-1.3.2-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:970e9173dbd7eba9b4e01aab19215a48ee5dd3f43cef736eebde064a171f89a5"}, + {file = "contourpy-1.3.2-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c6c4639a9c22230276b7bffb6a850dfc8258a2521305e1faefe804d006b2e532"}, + {file = "contourpy-1.3.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cc829960f34ba36aad4302e78eabf3ef16a3a100863f0d4eeddf30e8a485a03b"}, + {file = "contourpy-1.3.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:d32530b534e986374fc19eaa77fcb87e8a99e5431499949b828312bdcd20ac52"}, + {file = "contourpy-1.3.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:e298e7e70cf4eb179cc1077be1c725b5fd131ebc81181bf0c03525c8abc297fd"}, + {file = "contourpy-1.3.2-cp313-cp313t-win32.whl", hash = "sha256:d0e589ae0d55204991450bb5c23f571c64fe43adaa53f93fc902a84c96f52fe1"}, + {file = "contourpy-1.3.2-cp313-cp313t-win_amd64.whl", hash = "sha256:78e9253c3de756b3f6a5174d024c4835acd59eb3f8e2ca13e775dbffe1558f69"}, + {file = "contourpy-1.3.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:fd93cc7f3139b6dd7aab2f26a90dde0aa9fc264dbf70f6740d498a70b860b82c"}, + {file = "contourpy-1.3.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:107ba8a6a7eec58bb475329e6d3b95deba9440667c4d62b9b6063942b61d7f16"}, + {file = "contourpy-1.3.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:ded1706ed0c1049224531b81128efbd5084598f18d8a2d9efae833edbd2b40ad"}, + {file = "contourpy-1.3.2-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:5f5964cdad279256c084b69c3f412b7801e15356b16efa9d78aa974041903da0"}, + {file = "contourpy-1.3.2-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49b65a95d642d4efa8f64ba12558fcb83407e58a2dfba9d796d77b63ccfcaff5"}, + {file = "contourpy-1.3.2-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:8c5acb8dddb0752bf252e01a3035b21443158910ac16a3b0d20e7fed7d534ce5"}, + {file = "contourpy-1.3.2.tar.gz", hash = "sha256:b6945942715a034c671b7fc54f9588126b0b8bf23db2696e3ca8328f3ff0ab54"}, ] [package.dependencies] @@ -165,7 +146,7 @@ numpy = ">=1.23" [package.extras] bokeh = ["bokeh", "selenium"] docs = ["furo", "sphinx (>=7.2)", "sphinx-copybutton"] -mypy = ["contourpy[bokeh,docs]", "docutils-stubs", "mypy (==1.11.1)", "types-Pillow"] +mypy = ["bokeh", "contourpy[bokeh,docs]", "docutils-stubs", "mypy (==1.15.0)", "types-Pillow"] test = ["Pillow", "contourpy[test-no-images]", "matplotlib"] test-no-images = ["pytest", "pytest-cov", "pytest-rerunfailures", "pytest-xdist", "wurlitzer"] @@ -197,18 +178,19 @@ files = [ [[package]] name = "e2b" -version = "2.20.3" +version = "2.23.1" description = "E2B SDK that give agents cloud environments" optional = false python-versions = "<4.0,>=3.10" files = [ - {file = "e2b-2.20.3-py3-none-any.whl", hash = "sha256:46c6b5ffc45c9ca6dc270dd4d29427cef6a2600c55a895565657ff2bedc06303"}, - {file = "e2b-2.20.3.tar.gz", hash = "sha256:c6e91f71946755e1579b4ca1e175819d9f174b932b92e115cf36c2fd04674f3c"}, + {file = "e2b-2.23.1-py3-none-any.whl", hash = "sha256:55a7d2d51b091a21a972eb4a284170bf8c0fd1a1564c44eaea8f2cd0b1195e9d"}, + {file = "e2b-2.23.1.tar.gz", hash = "sha256:ce8cfd388c2e4f8a9467cc363000746b68ecf7d48d9e6af5f81ad7e6d4756bce"}, ] [package.dependencies] attrs = ">=23.2.0" dockerfile-parse = ">=2.0.1,<3.0.0" +h2 = ">=4,<5" httpcore = ">=1.0.5,<2.0.0" httpx = ">=0.27.0,<1.0.0" packaging = ">=24.1" @@ -220,27 +202,30 @@ wcmatch = ">=10.1,<11.0" [[package]] name = "exceptiongroup" -version = "1.2.2" +version = "1.3.1" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" files = [ - {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, - {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, + {file = "exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598"}, + {file = "exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219"}, ] +[package.dependencies] +typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""} + [package.extras] test = ["pytest (>=6)"] [[package]] name = "execnet" -version = "2.1.1" +version = "2.1.2" description = "execnet: rapid multi-Python deployment" optional = false python-versions = ">=3.8" files = [ - {file = "execnet-2.1.1-py3-none-any.whl", hash = "sha256:26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc"}, - {file = "execnet-2.1.1.tar.gz", hash = "sha256:5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3"}, + {file = "execnet-2.1.2-py3-none-any.whl", hash = "sha256:67fba928dd5a544b783f6056f449e5e3931a5c378b128bc18501f7ea79e296ec"}, + {file = "execnet-2.1.2.tar.gz", hash = "sha256:63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd"}, ] [package.extras] @@ -248,69 +233,61 @@ testing = ["hatch", "pre-commit", "pytest", "tox"] [[package]] name = "fonttools" -version = "4.60.2" +version = "4.63.0" description = "Tools to manipulate font files" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" files = [ - {file = "fonttools-4.60.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4e36fadcf7e8ca6e34d490eef86ed638d6fd9c55d2f514b05687622cfc4a7050"}, - {file = "fonttools-4.60.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6e500fc9c04bee749ceabfc20cb4903f6981c2139050d85720ea7ada61b75d5c"}, - {file = "fonttools-4.60.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:22efea5e784e1d1cd8d7b856c198e360a979383ebc6dea4604743b56da1cbc34"}, - {file = "fonttools-4.60.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:677aa92d84d335e4d301d8ba04afca6f575316bc647b6782cb0921943fcb6343"}, - {file = "fonttools-4.60.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:edd49d3defbf35476e78b61ff737ff5efea811acff68d44233a95a5a48252334"}, - {file = "fonttools-4.60.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:126839492b69cecc5baf2bddcde60caab2ffafd867bbae2a88463fce6078ca3a"}, - {file = "fonttools-4.60.2-cp310-cp310-win32.whl", hash = "sha256:ffcab6f5537136046ca902ed2491ab081ba271b07591b916289b7c27ff845f96"}, - {file = "fonttools-4.60.2-cp310-cp310-win_amd64.whl", hash = "sha256:9c68b287c7ffcd29dd83b5f961004b2a54a862a88825d52ea219c6220309ba45"}, - {file = "fonttools-4.60.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a2aed0a7931401b3875265717a24c726f87ecfedbb7b3426c2ca4d2812e281ae"}, - {file = "fonttools-4.60.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:dea6868e9d2b816c9076cfea77754686f3c19149873bdbc5acde437631c15df1"}, - {file = "fonttools-4.60.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2fa27f34950aa1fe0f0b1abe25eed04770a3b3b34ad94e5ace82cc341589678a"}, - {file = "fonttools-4.60.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:13a53d479d187b09bfaa4a35ffcbc334fc494ff355f0a587386099cb66674f1e"}, - {file = "fonttools-4.60.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:fac5e921d3bd0ca3bb8517dced2784f0742bc8ca28579a68b139f04ea323a779"}, - {file = "fonttools-4.60.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:648f4f9186fd7f1f3cd57dbf00d67a583720d5011feca67a5e88b3a491952cfb"}, - {file = "fonttools-4.60.2-cp311-cp311-win32.whl", hash = "sha256:3274e15fad871bead5453d5ce02658f6d0c7bc7e7021e2a5b8b04e2f9e40da1a"}, - {file = "fonttools-4.60.2-cp311-cp311-win_amd64.whl", hash = "sha256:91d058d5a483a1525b367803abb69de0923fbd45e1f82ebd000f5c8aa65bc78e"}, - {file = "fonttools-4.60.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e0164b7609d2b5c5dd4e044b8085b7bd7ca7363ef8c269a4ab5b5d4885a426b2"}, - {file = "fonttools-4.60.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:1dd3d9574fc595c1e97faccae0f264dc88784ddf7fbf54c939528378bacc0033"}, - {file = "fonttools-4.60.2-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:98d0719f1b11c2817307d2da2e94296a3b2a3503f8d6252a101dca3ee663b917"}, - {file = "fonttools-4.60.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9d3ea26957dd07209f207b4fff64c702efe5496de153a54d3b91007ec28904dd"}, - {file = "fonttools-4.60.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1ee301273b0850f3a515299f212898f37421f42ff9adfc341702582ca5073c13"}, - {file = "fonttools-4.60.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c6eb4694cc3b9c03b7c01d65a9cf35b577f21aa6abdbeeb08d3114b842a58153"}, - {file = "fonttools-4.60.2-cp312-cp312-win32.whl", hash = "sha256:57f07b616c69c244cc1a5a51072eeef07dddda5ebef9ca5c6e9cf6d59ae65b70"}, - {file = "fonttools-4.60.2-cp312-cp312-win_amd64.whl", hash = "sha256:310035802392f1fe5a7cf43d76f6ff4a24c919e4c72c0352e7b8176e2584b8a0"}, - {file = "fonttools-4.60.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:2bb5fd231e56ccd7403212636dcccffc96c5ae0d6f9e4721fa0a32cb2e3ca432"}, - {file = "fonttools-4.60.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:536b5fab7b6fec78ccf59b5c59489189d9d0a8b0d3a77ed1858be59afb096696"}, - {file = "fonttools-4.60.2-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:6b9288fc38252ac86a9570f19313ecbc9ff678982e0f27c757a85f1f284d3400"}, - {file = "fonttools-4.60.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:93fcb420791d839ef592eada2b69997c445d0ce9c969b5190f2e16828ec10607"}, - {file = "fonttools-4.60.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7916a381b094db4052ac284255186aebf74c5440248b78860cb41e300036f598"}, - {file = "fonttools-4.60.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:58c8c393d5e16b15662cfc2d988491940458aa87894c662154f50c7b49440bef"}, - {file = "fonttools-4.60.2-cp313-cp313-win32.whl", hash = "sha256:19c6e0afd8b02008caa0aa08ab896dfce5d0bcb510c49b2c499541d5cb95a963"}, - {file = "fonttools-4.60.2-cp313-cp313-win_amd64.whl", hash = "sha256:6a500dc59e11b2338c2dba1f8cf11a4ae8be35ec24af8b2628b8759a61457b76"}, - {file = "fonttools-4.60.2-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:9387c532acbe323bbf2a920f132bce3c408a609d5f9dcfc6532fbc7e37f8ccbb"}, - {file = "fonttools-4.60.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:e6f1c824185b5b8fb681297f315f26ae55abb0d560c2579242feea8236b1cfef"}, - {file = "fonttools-4.60.2-cp314-cp314-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:55a3129d1e4030b1a30260f1b32fe76781b585fb2111d04a988e141c09eb6403"}, - {file = "fonttools-4.60.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b196e63753abc33b3b97a6fd6de4b7c4fef5552c0a5ba5e562be214d1e9668e0"}, - {file = "fonttools-4.60.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:de76c8d740fb55745f3b154f0470c56db92ae3be27af8ad6c2e88f1458260c9a"}, - {file = "fonttools-4.60.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:6ba6303225c95998c9fda2d410aa792c3d2c1390a09df58d194b03e17583fa25"}, - {file = "fonttools-4.60.2-cp314-cp314-win32.whl", hash = "sha256:0a89728ce10d7c816fedaa5380c06d2793e7a8a634d7ce16810e536c22047384"}, - {file = "fonttools-4.60.2-cp314-cp314-win_amd64.whl", hash = "sha256:fa8446e6ab8bd778b82cb1077058a2addba86f30de27ab9cc18ed32b34bc8667"}, - {file = "fonttools-4.60.2-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:4063bc81ac5a4137642865cb63dd270e37b3cd1f55a07c0d6e41d072699ccca2"}, - {file = "fonttools-4.60.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:ebfdb66fa69732ed604ab8e2a0431e6deff35e933a11d73418cbc7823d03b8e1"}, - {file = "fonttools-4.60.2-cp314-cp314t-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:50b10b3b1a72d1d54c61b0e59239e1a94c0958f4a06a1febf97ce75388dd91a4"}, - {file = "fonttools-4.60.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:beae16891a13b4a2ddec9b39b4de76092a3025e4d1c82362e3042b62295d5e4d"}, - {file = "fonttools-4.60.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:522f017fdb3766fd5d2d321774ef351cc6ce88ad4e6ac9efe643e4a2b9d528db"}, - {file = "fonttools-4.60.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:82cceceaf9c09a965a75b84a4b240dd3768e596ffb65ef53852681606fe7c9ba"}, - {file = "fonttools-4.60.2-cp314-cp314t-win32.whl", hash = "sha256:bbfbc918a75437fe7e6d64d1b1e1f713237df1cf00f3a36dedae910b2ba01cee"}, - {file = "fonttools-4.60.2-cp314-cp314t-win_amd64.whl", hash = "sha256:0e5cd9b0830f6550d58c84f3ab151a9892b50c4f9d538c5603c0ce6fff2eb3f1"}, - {file = "fonttools-4.60.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:a3c75b8b42f7f93906bdba9eb1197bb76aecbe9a0a7cf6feec75f7605b5e8008"}, - {file = "fonttools-4.60.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:0f86c8c37bc0ec0b9c141d5e90c717ff614e93c187f06d80f18c7057097f71bc"}, - {file = "fonttools-4.60.2-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fe905403fe59683b0e9a45f234af2866834376b8821f34633b1c76fb731b6311"}, - {file = "fonttools-4.60.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:38ce703b60a906e421e12d9e3a7f064883f5e61bb23e8961f4be33cfe578500b"}, - {file = "fonttools-4.60.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:9e810c06f3e79185cecf120e58b343ea5a89b54dd695fd644446bcf8c026da5e"}, - {file = "fonttools-4.60.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:38faec8cc1d12122599814d15a402183f5123fb7608dac956121e7c6742aebc5"}, - {file = "fonttools-4.60.2-cp39-cp39-win32.whl", hash = "sha256:80a45cf7bf659acb7b36578f300231873daba67bd3ca8cce181c73f861f14a37"}, - {file = "fonttools-4.60.2-cp39-cp39-win_amd64.whl", hash = "sha256:c355d5972071938e1b1e0f5a1df001f68ecf1a62f34a3407dc8e0beccf052501"}, - {file = "fonttools-4.60.2-py3-none-any.whl", hash = "sha256:73cf92eeda67cf6ff10c8af56fc8f4f07c1647d989a979be9e388a49be26552a"}, - {file = "fonttools-4.60.2.tar.gz", hash = "sha256:d29552e6b155ebfc685b0aecf8d429cb76c14ab734c22ef5d3dea6fdf800c92c"}, + {file = "fonttools-4.63.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e3297a6a4059b4acc3a1e9a8b04741f240a80044eef08ebd32e8b5bcdddce75b"}, + {file = "fonttools-4.63.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b1cd75a03ad8cb5bc40c90bfde68c0c47de423aa19e5c0f362b43520645eea94"}, + {file = "fonttools-4.63.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c0425b277a59cff3d80ca42162a8de360f318438a2ac83570842a678d826d579"}, + {file = "fonttools-4.63.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d7e5c9973aa04c95650c96e5f5ad865fbf42d62079163ecfab1e01cbc2504c22"}, + {file = "fonttools-4.63.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:cb014d58140a38135f16064c74c652ed57aa0b75cbf8bb59cac821f7edb5334e"}, + {file = "fonttools-4.63.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:032038247a96c1690f9f31e377c389383c902531b085aa4e4dabd6f57f870e69"}, + {file = "fonttools-4.63.0-cp310-cp310-win32.whl", hash = "sha256:a8b33a82979e0a6a34ff435cc81317be1f95ec1ebb7a3a2d1c8a6a54f02ae44e"}, + {file = "fonttools-4.63.0-cp310-cp310-win_amd64.whl", hash = "sha256:0c18358a155d75034911c5ee397a5b44cd19dd325dbb8b35fb60bf421d6a72ac"}, + {file = "fonttools-4.63.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:2b8ae05d9eacf6081414d759c0a352769ac28ce31280d6bb8e77b03f9e3c449f"}, + {file = "fonttools-4.63.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:79cdc9f567aec74a72918fd060283911406750cbc9fd28c1316023deb6ce31a9"}, + {file = "fonttools-4.63.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c14b4fd138c4bafcca294765c547914e1aa431ae1ca94ab99d8db08c958bd3b"}, + {file = "fonttools-4.63.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d76ac49f929aecaf82d83250b8347e099d7aecba0f4726c1d9b6df3b8bb5fe18"}, + {file = "fonttools-4.63.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:dcf076a4474fe0d7367e5bbf5b052c7284fa1feca729c04176ce513521afd8a0"}, + {file = "fonttools-4.63.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7dd683fef0663e9f0f45cf541d788d24caa3ec9db50796b588e1757d8b3bc007"}, + {file = "fonttools-4.63.0-cp311-cp311-win32.whl", hash = "sha256:afefc1ed0a59785a7fb06ea7e1678e849c193e1e387db783579bc7b3056fcfcb"}, + {file = "fonttools-4.63.0-cp311-cp311-win_amd64.whl", hash = "sha256:063e08bd17bd5a90127a14123de0d6a952dbc847695fd98b63c043d58057f90c"}, + {file = "fonttools-4.63.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:37dd23e621e3b0aef1baa70a303b80aaf38449632cfc8fd2a55fb285bbccfc02"}, + {file = "fonttools-4.63.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a9faff9e0c1f76f9fd55899d2ce785832efebab37eb8ae13995853aef178bef0"}, + {file = "fonttools-4.63.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ef3048ef05dbb552b89817713d9cac912e00d0fde4a3105c00d29e52e10c89af"}, + {file = "fonttools-4.63.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:58dc6bb86a78d782f00f9190ca02c119cf5bbe2807536e361e18d42019f877d8"}, + {file = "fonttools-4.63.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ee08ebfa58f6e1aeff5697ab9582105bb620008c1caafb681e4c557e7483027b"}, + {file = "fonttools-4.63.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:27fdc65af8da6f88b9c6121c47a464cbe359fcfff7ff6fc2d37a1f395d755b78"}, + {file = "fonttools-4.63.0-cp312-cp312-win32.whl", hash = "sha256:af2fd1664d00a397d75f806985ddb36282091c2131a73a6485c23b4a34722263"}, + {file = "fonttools-4.63.0-cp312-cp312-win_amd64.whl", hash = "sha256:59ac449f8cca9b4ffa08d2e7bbadad87ce710d69d1eda5c3c1ce579baa987272"}, + {file = "fonttools-4.63.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:cd7e9857e5e63738b9d9fd707bc1f59c8b09e5177726d23664db393c59bb08bd"}, + {file = "fonttools-4.63.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c2a2a42198b696a6f48fad91709afb55176e66a5e566131219dba372fb7f8c59"}, + {file = "fonttools-4.63.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1e874792a8212b44583ea02189d9e693906b2f78b261f372f95d6c563210ac1d"}, + {file = "fonttools-4.63.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:22135da48a348785c5e2d5d2d9d6bec5ed44adacbaeb9db12d9493bf6c6bfa68"}, + {file = "fonttools-4.63.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ccf41f2efdf56994d22d73bef4ced1052161958169428d06ba9724ea9e9a64be"}, + {file = "fonttools-4.63.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9ced0bd02ac751dd6319b0da88aaef24414e3b0dbc32bb4f24944821a3741a27"}, + {file = "fonttools-4.63.0-cp313-cp313-win32.whl", hash = "sha256:85be818f5506e8a7753153def2c9550178f0ecae6a47b5e0e8dbb23f7cc90380"}, + {file = "fonttools-4.63.0-cp313-cp313-win_amd64.whl", hash = "sha256:ba04cb5891d4c0c21b6da95eda8d7b090021508a294fff33464fc7d241e0856b"}, + {file = "fonttools-4.63.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:fd1e3094f42d806d3d7c79162fc59e5910fcbe3a7360c385b8da969bc4493745"}, + {file = "fonttools-4.63.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:6e528da43bc3791085f8cb6141b1d13e459226790240340fcbb4625649238b03"}, + {file = "fonttools-4.63.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b2248c5decb223562f7902ff6325077a073f608ee8e33e88ad88db734eb9f49"}, + {file = "fonttools-4.63.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:308f957cdeaf8abe4e5f2f124902ef405448af92c90f80e302a3b771c2e6116b"}, + {file = "fonttools-4.63.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:bf00f21eb5fb721dbaf73d1e9da6d02a1af7768f2ebcf9798be98beab8ba90f6"}, + {file = "fonttools-4.63.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c1aaa4b9c75798400ac043ce04d74e7830376c85095a5a6ed7cba2f17a266bf4"}, + {file = "fonttools-4.63.0-cp314-cp314-win32.whl", hash = "sha256:22693918177bd9ceabec4736d338045f357769416fc6b0b2508eefef75b08616"}, + {file = "fonttools-4.63.0-cp314-cp314-win_amd64.whl", hash = "sha256:7d782fac32985914c351556f68ac0855391572bcd87de50e05970d3cd4c96fc5"}, + {file = "fonttools-4.63.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:6db5140a60a5d731d21ec076745b40a310607731b0a565b50776393188649001"}, + {file = "fonttools-4.63.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7d76edbff9014094dbf03bd2d074709dfa6ec7aba13d838c937a2b33d2d6a86e"}, + {file = "fonttools-4.63.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0eac00b9118c3c2f87d272e45341871c5b3066baa3c86897fa634a7c3fb59096"}, + {file = "fonttools-4.63.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:51394295f1a51de8b5f30bdb1e1b9a4231536c7064ef5c6e211eec19fa36036f"}, + {file = "fonttools-4.63.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:9e12f105d2b6342c559c298afb674006bb2893afc7102dcf8a1b55b0486b4e40"}, + {file = "fonttools-4.63.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:796f27556dbe094c4824f75ca85267e4df776c79036c8441469a4df37038c196"}, + {file = "fonttools-4.63.0-cp314-cp314t-win32.whl", hash = "sha256:948428a275741f0b64b113c955425a953314f4b9ab9997f73a72c83e68e569c8"}, + {file = "fonttools-4.63.0-cp314-cp314t-win_amd64.whl", hash = "sha256:6d4741eb179121cab9eea4cb2393d24492373a260d7945006358c08cfbf45419"}, + {file = "fonttools-4.63.0-py3-none-any.whl", hash = "sha256:445af2eab030a16b9171ea8bdda7ebf7d96bda2df88ee182a464252f6e05e20d"}, + {file = "fonttools-4.63.0.tar.gz", hash = "sha256:caeb583deeb5168e694b65cda8b4ee62abedfa66cf88488734466f2366b9c4e0"}, ] [package.extras] @@ -337,6 +314,32 @@ files = [ {file = "h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1"}, ] +[[package]] +name = "h2" +version = "4.3.0" +description = "Pure-Python HTTP/2 protocol implementation" +optional = false +python-versions = ">=3.9" +files = [ + {file = "h2-4.3.0-py3-none-any.whl", hash = "sha256:c438f029a25f7945c69e0ccf0fb951dc3f73a5f6412981daee861431b70e2bdd"}, + {file = "h2-4.3.0.tar.gz", hash = "sha256:6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1"}, +] + +[package.dependencies] +hpack = ">=4.1,<5" +hyperframe = ">=6.1,<7" + +[[package]] +name = "hpack" +version = "4.1.0" +description = "Pure-Python HPACK header encoding" +optional = false +python-versions = ">=3.9" +files = [ + {file = "hpack-4.1.0-py3-none-any.whl", hash = "sha256:157ac792668d995c657d93111f46b4535ed114f0c9c8d672271bbec7eae1b496"}, + {file = "hpack-4.1.0.tar.gz", hash = "sha256:ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca"}, +] + [[package]] name = "httpcore" version = "1.0.9" @@ -382,160 +385,177 @@ http2 = ["h2 (>=3,<5)"] socks = ["socksio (==1.*)"] zstd = ["zstandard (>=0.18.0)"] +[[package]] +name = "hyperframe" +version = "6.1.0" +description = "Pure-Python HTTP/2 framing" +optional = false +python-versions = ">=3.9" +files = [ + {file = "hyperframe-6.1.0-py3-none-any.whl", hash = "sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5"}, + {file = "hyperframe-6.1.0.tar.gz", hash = "sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08"}, +] + [[package]] name = "idna" -version = "3.7" +version = "3.16" description = "Internationalized Domain Names in Applications (IDNA)" optional = false -python-versions = ">=3.5" +python-versions = ">=3.9" files = [ - {file = "idna-3.7-py3-none-any.whl", hash = "sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0"}, - {file = "idna-3.7.tar.gz", hash = "sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"}, + {file = "idna-3.16-py3-none-any.whl", hash = "sha256:cc246e3a3f89580c3a951b5ad298ca4638078b2cdd4f115654332b5c26daded5"}, + {file = "idna-3.16.tar.gz", hash = "sha256:d7a6da03db833450fca25d2358ac9ff06cd624577a4aea3a596d5c0f77b8e03d"}, ] +[package.extras] +all = ["mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"] + [[package]] name = "iniconfig" -version = "2.0.0" +version = "2.3.0" description = "brain-dead simple config-ini parsing" optional = false -python-versions = ">=3.7" +python-versions = ">=3.10" files = [ - {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, - {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, + {file = "iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12"}, + {file = "iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730"}, ] [[package]] name = "kiwisolver" -version = "1.4.7" +version = "1.5.0" description = "A fast implementation of the Cassowary constraint solver" optional = false -python-versions = ">=3.8" +python-versions = ">=3.10" files = [ - {file = "kiwisolver-1.4.7-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8a9c83f75223d5e48b0bc9cb1bf2776cf01563e00ade8775ffe13b0b6e1af3a6"}, - {file = "kiwisolver-1.4.7-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:58370b1ffbd35407444d57057b57da5d6549d2d854fa30249771775c63b5fe17"}, - {file = "kiwisolver-1.4.7-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:aa0abdf853e09aff551db11fce173e2177d00786c688203f52c87ad7fcd91ef9"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:8d53103597a252fb3ab8b5845af04c7a26d5e7ea8122303dd7a021176a87e8b9"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:88f17c5ffa8e9462fb79f62746428dd57b46eb931698e42e990ad63103f35e6c"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88a9ca9c710d598fd75ee5de59d5bda2684d9db36a9f50b6125eaea3969c2599"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f4d742cb7af1c28303a51b7a27aaee540e71bb8e24f68c736f6f2ffc82f2bf05"}, - {file = "kiwisolver-1.4.7-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e28c7fea2196bf4c2f8d46a0415c77a1c480cc0724722f23d7410ffe9842c407"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e968b84db54f9d42046cf154e02911e39c0435c9801681e3fc9ce8a3c4130278"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:0c18ec74c0472de033e1bebb2911c3c310eef5649133dd0bedf2a169a1b269e5"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:8f0ea6da6d393d8b2e187e6a5e3fb81f5862010a40c3945e2c6d12ae45cfb2ad"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:f106407dda69ae456dd1227966bf445b157ccc80ba0dff3802bb63f30b74e895"}, - {file = "kiwisolver-1.4.7-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:84ec80df401cfee1457063732d90022f93951944b5b58975d34ab56bb150dfb3"}, - {file = "kiwisolver-1.4.7-cp310-cp310-win32.whl", hash = "sha256:71bb308552200fb2c195e35ef05de12f0c878c07fc91c270eb3d6e41698c3bcc"}, - {file = "kiwisolver-1.4.7-cp310-cp310-win_amd64.whl", hash = "sha256:44756f9fd339de0fb6ee4f8c1696cfd19b2422e0d70b4cefc1cc7f1f64045a8c"}, - {file = "kiwisolver-1.4.7-cp310-cp310-win_arm64.whl", hash = "sha256:78a42513018c41c2ffd262eb676442315cbfe3c44eed82385c2ed043bc63210a"}, - {file = "kiwisolver-1.4.7-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d2b0e12a42fb4e72d509fc994713d099cbb15ebf1103545e8a45f14da2dfca54"}, - {file = "kiwisolver-1.4.7-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2a8781ac3edc42ea4b90bc23e7d37b665d89423818e26eb6df90698aa2287c95"}, - {file = "kiwisolver-1.4.7-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:46707a10836894b559e04b0fd143e343945c97fd170d69a2d26d640b4e297935"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ef97b8df011141c9b0f6caf23b29379f87dd13183c978a30a3c546d2c47314cb"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3ab58c12a2cd0fc769089e6d38466c46d7f76aced0a1f54c77652446733d2d02"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:803b8e1459341c1bb56d1c5c010406d5edec8a0713a0945851290a7930679b51"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f9a9e8a507420fe35992ee9ecb302dab68550dedc0da9e2880dd88071c5fb052"}, - {file = "kiwisolver-1.4.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18077b53dc3bb490e330669a99920c5e6a496889ae8c63b58fbc57c3d7f33a18"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6af936f79086a89b3680a280c47ea90b4df7047b5bdf3aa5c524bbedddb9e545"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:3abc5b19d24af4b77d1598a585b8a719beb8569a71568b66f4ebe1fb0449460b"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:933d4de052939d90afbe6e9d5273ae05fb836cc86c15b686edd4b3560cc0ee36"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:65e720d2ab2b53f1f72fb5da5fb477455905ce2c88aaa671ff0a447c2c80e8e3"}, - {file = "kiwisolver-1.4.7-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3bf1ed55088f214ba6427484c59553123fdd9b218a42bbc8c6496d6754b1e523"}, - {file = "kiwisolver-1.4.7-cp311-cp311-win32.whl", hash = "sha256:4c00336b9dd5ad96d0a558fd18a8b6f711b7449acce4c157e7343ba92dd0cf3d"}, - {file = "kiwisolver-1.4.7-cp311-cp311-win_amd64.whl", hash = "sha256:929e294c1ac1e9f615c62a4e4313ca1823ba37326c164ec720a803287c4c499b"}, - {file = "kiwisolver-1.4.7-cp311-cp311-win_arm64.whl", hash = "sha256:e33e8fbd440c917106b237ef1a2f1449dfbb9b6f6e1ce17c94cd6a1e0d438376"}, - {file = "kiwisolver-1.4.7-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:5360cc32706dab3931f738d3079652d20982511f7c0ac5711483e6eab08efff2"}, - {file = "kiwisolver-1.4.7-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:942216596dc64ddb25adb215c3c783215b23626f8d84e8eff8d6d45c3f29f75a"}, - {file = "kiwisolver-1.4.7-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:48b571ecd8bae15702e4f22d3ff6a0f13e54d3d00cd25216d5e7f658242065ee"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ad42ba922c67c5f219097b28fae965e10045ddf145d2928bfac2eb2e17673640"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:612a10bdae23404a72941a0fc8fa2660c6ea1217c4ce0dbcab8a8f6543ea9e7f"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9e838bba3a3bac0fe06d849d29772eb1afb9745a59710762e4ba3f4cb8424483"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:22f499f6157236c19f4bbbd472fa55b063db77a16cd74d49afe28992dff8c258"}, - {file = "kiwisolver-1.4.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:693902d433cf585133699972b6d7c42a8b9f8f826ebcaf0132ff55200afc599e"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4e77f2126c3e0b0d055f44513ed349038ac180371ed9b52fe96a32aa071a5107"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:657a05857bda581c3656bfc3b20e353c232e9193eb167766ad2dc58b56504948"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4bfa75a048c056a411f9705856abfc872558e33c055d80af6a380e3658766038"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:34ea1de54beef1c104422d210c47c7d2a4999bdecf42c7b5718fbe59a4cac383"}, - {file = "kiwisolver-1.4.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:90da3b5f694b85231cf93586dad5e90e2d71b9428f9aad96952c99055582f520"}, - {file = "kiwisolver-1.4.7-cp312-cp312-win32.whl", hash = "sha256:18e0cca3e008e17fe9b164b55735a325140a5a35faad8de92dd80265cd5eb80b"}, - {file = "kiwisolver-1.4.7-cp312-cp312-win_amd64.whl", hash = "sha256:58cb20602b18f86f83a5c87d3ee1c766a79c0d452f8def86d925e6c60fbf7bfb"}, - {file = "kiwisolver-1.4.7-cp312-cp312-win_arm64.whl", hash = "sha256:f5a8b53bdc0b3961f8b6125e198617c40aeed638b387913bf1ce78afb1b0be2a"}, - {file = "kiwisolver-1.4.7-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:2e6039dcbe79a8e0f044f1c39db1986a1b8071051efba3ee4d74f5b365f5226e"}, - {file = "kiwisolver-1.4.7-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a1ecf0ac1c518487d9d23b1cd7139a6a65bc460cd101ab01f1be82ecf09794b6"}, - {file = "kiwisolver-1.4.7-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7ab9ccab2b5bd5702ab0803676a580fffa2aa178c2badc5557a84cc943fcf750"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f816dd2277f8d63d79f9c8473a79fe54047bc0467754962840782c575522224d"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cf8bcc23ceb5a1b624572a1623b9f79d2c3b337c8c455405ef231933a10da379"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dea0bf229319828467d7fca8c7c189780aa9ff679c94539eed7532ebe33ed37c"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c06a4c7cf15ec739ce0e5971b26c93638730090add60e183530d70848ebdd34"}, - {file = "kiwisolver-1.4.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:913983ad2deb14e66d83c28b632fd35ba2b825031f2fa4ca29675e665dfecbe1"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5337ec7809bcd0f424c6b705ecf97941c46279cf5ed92311782c7c9c2026f07f"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:4c26ed10c4f6fa6ddb329a5120ba3b6db349ca192ae211e882970bfc9d91420b"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:c619b101e6de2222c1fcb0531e1b17bbffbe54294bfba43ea0d411d428618c27"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:073a36c8273647592ea332e816e75ef8da5c303236ec0167196793eb1e34657a"}, - {file = "kiwisolver-1.4.7-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3ce6b2b0231bda412463e152fc18335ba32faf4e8c23a754ad50ffa70e4091ee"}, - {file = "kiwisolver-1.4.7-cp313-cp313-win32.whl", hash = "sha256:f4c9aee212bc89d4e13f58be11a56cc8036cabad119259d12ace14b34476fd07"}, - {file = "kiwisolver-1.4.7-cp313-cp313-win_amd64.whl", hash = "sha256:8a3ec5aa8e38fc4c8af308917ce12c536f1c88452ce554027e55b22cbbfbff76"}, - {file = "kiwisolver-1.4.7-cp313-cp313-win_arm64.whl", hash = "sha256:76c8094ac20ec259471ac53e774623eb62e6e1f56cd8690c67ce6ce4fcb05650"}, - {file = "kiwisolver-1.4.7-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5d5abf8f8ec1f4e22882273c423e16cae834c36856cac348cfbfa68e01c40f3a"}, - {file = "kiwisolver-1.4.7-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:aeb3531b196ef6f11776c21674dba836aeea9d5bd1cf630f869e3d90b16cfade"}, - {file = "kiwisolver-1.4.7-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b7d755065e4e866a8086c9bdada157133ff466476a2ad7861828e17b6026e22c"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:08471d4d86cbaec61f86b217dd938a83d85e03785f51121e791a6e6689a3be95"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7bbfcb7165ce3d54a3dfbe731e470f65739c4c1f85bb1018ee912bae139e263b"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5d34eb8494bea691a1a450141ebb5385e4b69d38bb8403b5146ad279f4b30fa3"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9242795d174daa40105c1d86aba618e8eab7bf96ba8c3ee614da8302a9f95503"}, - {file = "kiwisolver-1.4.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:a0f64a48bb81af7450e641e3fe0b0394d7381e342805479178b3d335d60ca7cf"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:8e045731a5416357638d1700927529e2b8ab304811671f665b225f8bf8d8f933"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:4322872d5772cae7369f8351da1edf255a604ea7087fe295411397d0cfd9655e"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:e1631290ee9271dffe3062d2634c3ecac02c83890ada077d225e081aca8aab89"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:edcfc407e4eb17e037bca59be0e85a2031a2ac87e4fed26d3e9df88b4165f92d"}, - {file = "kiwisolver-1.4.7-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:4d05d81ecb47d11e7f8932bd8b61b720bf0b41199358f3f5e36d38e28f0532c5"}, - {file = "kiwisolver-1.4.7-cp38-cp38-win32.whl", hash = "sha256:b38ac83d5f04b15e515fd86f312479d950d05ce2368d5413d46c088dda7de90a"}, - {file = "kiwisolver-1.4.7-cp38-cp38-win_amd64.whl", hash = "sha256:d83db7cde68459fc803052a55ace60bea2bae361fc3b7a6d5da07e11954e4b09"}, - {file = "kiwisolver-1.4.7-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:3f9362ecfca44c863569d3d3c033dbe8ba452ff8eed6f6b5806382741a1334bd"}, - {file = "kiwisolver-1.4.7-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e8df2eb9b2bac43ef8b082e06f750350fbbaf2887534a5be97f6cf07b19d9583"}, - {file = "kiwisolver-1.4.7-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f32d6edbc638cde7652bd690c3e728b25332acbadd7cad670cc4a02558d9c417"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:e2e6c39bd7b9372b0be21456caab138e8e69cc0fc1190a9dfa92bd45a1e6e904"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:dda56c24d869b1193fcc763f1284b9126550eaf84b88bbc7256e15028f19188a"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:79849239c39b5e1fd906556c474d9b0439ea6792b637511f3fe3a41158d89ca8"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5e3bc157fed2a4c02ec468de4ecd12a6e22818d4f09cde2c31ee3226ffbefab2"}, - {file = "kiwisolver-1.4.7-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3da53da805b71e41053dc670f9a820d1157aae77b6b944e08024d17bcd51ef88"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:8705f17dfeb43139a692298cb6637ee2e59c0194538153e83e9ee0c75c2eddde"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:82a5c2f4b87c26bb1a0ef3d16b5c4753434633b83d365cc0ddf2770c93829e3c"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:ce8be0466f4c0d585cdb6c1e2ed07232221df101a4c6f28821d2aa754ca2d9e2"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:409afdfe1e2e90e6ee7fc896f3df9a7fec8e793e58bfa0d052c8a82f99c37abb"}, - {file = "kiwisolver-1.4.7-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:5b9c3f4ee0b9a439d2415012bd1b1cc2df59e4d6a9939f4d669241d30b414327"}, - {file = "kiwisolver-1.4.7-cp39-cp39-win32.whl", hash = "sha256:a79ae34384df2b615eefca647a2873842ac3b596418032bef9a7283675962644"}, - {file = "kiwisolver-1.4.7-cp39-cp39-win_amd64.whl", hash = "sha256:cf0438b42121a66a3a667de17e779330fc0f20b0d97d59d2f2121e182b0505e4"}, - {file = "kiwisolver-1.4.7-cp39-cp39-win_arm64.whl", hash = "sha256:764202cc7e70f767dab49e8df52c7455e8de0df5d858fa801a11aa0d882ccf3f"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:94252291e3fe68001b1dd747b4c0b3be12582839b95ad4d1b641924d68fd4643"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:5b7dfa3b546da08a9f622bb6becdb14b3e24aaa30adba66749d38f3cc7ea9706"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bd3de6481f4ed8b734da5df134cd5a6a64fe32124fe83dde1e5b5f29fe30b1e6"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a91b5f9f1205845d488c928e8570dcb62b893372f63b8b6e98b863ebd2368ff2"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:40fa14dbd66b8b8f470d5fc79c089a66185619d31645f9b0773b88b19f7223c4"}, - {file = "kiwisolver-1.4.7-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:eb542fe7933aa09d8d8f9d9097ef37532a7df6497819d16efe4359890a2f417a"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:bfa1acfa0c54932d5607e19a2c24646fb4c1ae2694437789129cf099789a3b00"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:eee3ea935c3d227d49b4eb85660ff631556841f6e567f0f7bda972df6c2c9935"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:f3160309af4396e0ed04db259c3ccbfdc3621b5559b5453075e5de555e1f3a1b"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:a17f6a29cf8935e587cc8a4dbfc8368c55edc645283db0ce9801016f83526c2d"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:10849fb2c1ecbfae45a693c070e0320a91b35dd4bcf58172c023b994283a124d"}, - {file = "kiwisolver-1.4.7-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:ac542bf38a8a4be2dc6b15248d36315ccc65f0743f7b1a76688ffb6b5129a5c2"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:8b01aac285f91ca889c800042c35ad3b239e704b150cfd3382adfc9dcc780e39"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:48be928f59a1f5c8207154f935334d374e79f2b5d212826307d072595ad76a2e"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f37cfe618a117e50d8c240555331160d73d0411422b59b5ee217843d7b693608"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:599b5c873c63a1f6ed7eead644a8a380cfbdf5db91dcb6f85707aaab213b1674"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:801fa7802e5cfabe3ab0c81a34c323a319b097dfb5004be950482d882f3d7225"}, - {file = "kiwisolver-1.4.7-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:0c6c43471bc764fad4bc99c5c2d6d16a676b1abf844ca7c8702bdae92df01ee0"}, - {file = "kiwisolver-1.4.7.tar.gz", hash = "sha256:9893ff81bd7107f7b685d3017cc6583daadb4fc26e4a888350df530e41980a60"}, + {file = "kiwisolver-1.5.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:32cc0a5365239a6ea0c6ed461e8838d053b57e397443c0ca894dcc8e388d4374"}, + {file = "kiwisolver-1.5.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:cc0b66c1eec9021353a4b4483afb12dfd50e3669ffbb9152d6842eb34c7e29fd"}, + {file = "kiwisolver-1.5.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:86e0287879f75621ae85197b0877ed2f8b7aa57b511c7331dce2eb6f4de7d476"}, + {file = "kiwisolver-1.5.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:62f59da443c4f4849f73a51a193b1d9d258dcad0c41bc4d1b8fb2bcc04bfeb22"}, + {file = "kiwisolver-1.5.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9190426b7aa26c5229501fa297b8d0653cfd3f5a36f7990c264e157cbf886b3b"}, + {file = "kiwisolver-1.5.0-cp310-cp310-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c8277104ded0a51e699c8c3aff63ce2c56d4ed5519a5f73e0fd7057f959a2b9e"}, + {file = "kiwisolver-1.5.0-cp310-cp310-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8f9baf6f0a6e7571c45c8863010b45e837c3ee1c2c77fcd6ef423be91b21fedb"}, + {file = "kiwisolver-1.5.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:cff8e5383db4989311f99e814feeb90c4723eb4edca425b9d5d9c3fefcdd9537"}, + {file = "kiwisolver-1.5.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:ebae99ed6764f2b5771c522477b311be313e8841d2e0376db2b10922daebbba4"}, + {file = "kiwisolver-1.5.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:d5cd5189fc2b6a538b75ae45433140c4823463918f7b1617c31e68b085c0022c"}, + {file = "kiwisolver-1.5.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f42c23db5d1521218a3276bb08666dcb662896a0be7347cba864eca45ff64ede"}, + {file = "kiwisolver-1.5.0-cp310-cp310-win_amd64.whl", hash = "sha256:94eff26096eb5395136634622515b234ecb6c9979824c1f5004c6e3c3c85ccd2"}, + {file = "kiwisolver-1.5.0-cp310-cp310-win_arm64.whl", hash = "sha256:dd952e03bfbb096cfe2dd35cd9e00f269969b67536cb4370994afc20ff2d0875"}, + {file = "kiwisolver-1.5.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9eed0f7edbb274413b6ee781cca50541c8c0facd3d6fd289779e494340a2b85c"}, + {file = "kiwisolver-1.5.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3c4923e404d6bcd91b6779c009542e5647fef32e4a5d75e115e3bbac6f2335eb"}, + {file = "kiwisolver-1.5.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0df54df7e686afa55e6f21fb86195224a6d9beb71d637e8d7920c95cf0f89aac"}, + {file = "kiwisolver-1.5.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2517e24d7315eb51c10664cdb865195df38ab74456c677df67bb47f12d088a27"}, + {file = "kiwisolver-1.5.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff710414307fefa903e0d9bdf300972f892c23477829f49504e59834f4195398"}, + {file = "kiwisolver-1.5.0-cp311-cp311-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6176c1811d9d5a04fa391c490cc44f451e240697a16977f11c6f722efb9041db"}, + {file = "kiwisolver-1.5.0-cp311-cp311-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:50847dca5d197fcbd389c805aa1a1cf32f25d2e7273dc47ab181a517666b68cc"}, + {file = "kiwisolver-1.5.0-cp311-cp311-manylinux_2_39_riscv64.whl", hash = "sha256:01808c6d15f4c3e8559595d6d1fe6411c68e4a3822b4b9972b44473b24f4e679"}, + {file = "kiwisolver-1.5.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f1f9f4121ec58628c96baa3de1a55a4e3a333c5102c8e94b64e23bf7b2083309"}, + {file = "kiwisolver-1.5.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:b7d335370ae48a780c6e6a6bbfa97342f563744c39c35562f3f367665f5c1de2"}, + {file = "kiwisolver-1.5.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:800ee55980c18545af444d93fdd60c56b580db5cc54867d8cbf8a1dc0829938c"}, + {file = "kiwisolver-1.5.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:c438f6ca858697c9ab67eb28246c92508af972e114cac34e57a6d4ba17a3ac08"}, + {file = "kiwisolver-1.5.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:8c63c91f95173f9c2a67c7c526b2cea976828a0e7fced9cdcead2802dc10f8a4"}, + {file = "kiwisolver-1.5.0-cp311-cp311-win_amd64.whl", hash = "sha256:beb7f344487cdcb9e1efe4b7a29681b74d34c08f0043a327a74da852a6749e7b"}, + {file = "kiwisolver-1.5.0-cp311-cp311-win_arm64.whl", hash = "sha256:ad4ae4ffd1ee9cd11357b4c66b612da9888f4f4daf2f36995eda64bd45370cac"}, + {file = "kiwisolver-1.5.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:4e9750bc21b886308024f8a54ccb9a2cc38ac9fa813bf4348434e3d54f337ff9"}, + {file = "kiwisolver-1.5.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:72ec46b7eba5b395e0a7b63025490d3214c11013f4aacb4f5e8d6c3041829588"}, + {file = "kiwisolver-1.5.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ed3a984b31da7481b103f68776f7128a89ef26ed40f4dc41a2223cda7fb24819"}, + {file = "kiwisolver-1.5.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bb5136fb5352d3f422df33f0c879a1b0c204004324150cc3b5e3c4f310c9049f"}, + {file = "kiwisolver-1.5.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b2af221f268f5af85e776a73d62b0845fc8baf8ef0abfae79d29c77d0e776aaf"}, + {file = "kiwisolver-1.5.0-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b0f172dc8ffaccb8522d7c5d899de00133f2f1ca7b0a49b7da98e901de87bf2d"}, + {file = "kiwisolver-1.5.0-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6ab8ba9152203feec73758dad83af9a0bbe05001eb4639e547207c40cfb52083"}, + {file = "kiwisolver-1.5.0-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:cdee07c4d7f6d72008d3f73b9bf027f4e11550224c7c50d8df1ae4a37c1402a6"}, + {file = "kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:7c60d3c9b06fb23bd9c6139281ccbdc384297579ae037f08ae90c69f6845c0b1"}, + {file = "kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:e315e5ec90d88e140f57696ff85b484ff68bb311e36f2c414aa4286293e6dee0"}, + {file = "kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:1465387ac63576c3e125e5337a6892b9e99e0627d52317f3ca79e6930d889d15"}, + {file = "kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:530a3fd64c87cffa844d4b6b9768774763d9caa299e9b75d8eca6a4423b31314"}, + {file = "kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1d9daea4ea6b9be74fe2f01f7fbade8d6ffab263e781274cffca0dba9be9eec9"}, + {file = "kiwisolver-1.5.0-cp312-cp312-win_amd64.whl", hash = "sha256:f18c2d9782259a6dc132fdc7a63c168cbc74b35284b6d75c673958982a378384"}, + {file = "kiwisolver-1.5.0-cp312-cp312-win_arm64.whl", hash = "sha256:f7c7553b13f69c1b29a5bde08ddc6d9d0c8bfb84f9ed01c30db25944aeb852a7"}, + {file = "kiwisolver-1.5.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:fd40bb9cd0891c4c3cb1ddf83f8bbfa15731a248fdc8162669405451e2724b09"}, + {file = "kiwisolver-1.5.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c0e1403fd7c26d77c1f03e096dc58a5c726503fa0db0456678b8668f76f521e3"}, + {file = "kiwisolver-1.5.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:dda366d548e89a90d88a86c692377d18d8bd64b39c1fb2b92cb31370e2896bbd"}, + {file = "kiwisolver-1.5.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:332b4f0145c30b5f5ad9374881133e5aa64320428a57c2c2b61e9d891a51c2f3"}, + {file = "kiwisolver-1.5.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0c50b89ffd3e1a911c69a1dd3de7173c0cd10b130f56222e57898683841e4f96"}, + {file = "kiwisolver-1.5.0-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4db576bb8c3ef9365f8b40fe0f671644de6736ae2c27a2c62d7d8a1b4329f099"}, + {file = "kiwisolver-1.5.0-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0b85aad90cea8ac6797a53b5d5f2e967334fa4d1149f031c4537569972596cb8"}, + {file = "kiwisolver-1.5.0-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:d36ca54cb4c6c4686f7cbb7b817f66f5911c12ddb519450bbe86707155028f87"}, + {file = "kiwisolver-1.5.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:38f4a703656f493b0ad185211ccfca7f0386120f022066b018eb5296d8613e23"}, + {file = "kiwisolver-1.5.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:3ac2360e93cb41be81121755c6462cff3beaa9967188c866e5fce5cf13170859"}, + {file = "kiwisolver-1.5.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:c95cab08d1965db3d84a121f1c7ce7479bdd4072c9b3dafd8fecce48a2e6b902"}, + {file = "kiwisolver-1.5.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:fc20894c3d21194d8041a28b65622d5b86db786da6e3cfe73f0c762951a61167"}, + {file = "kiwisolver-1.5.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:7a32f72973f0f950c1920475d5c5ea3d971b81b6f0ec53b8d0a956cc965f22e0"}, + {file = "kiwisolver-1.5.0-cp313-cp313-win_amd64.whl", hash = "sha256:0bf3acf1419fa93064a4c2189ac0b58e3be7872bf6ee6177b0d4c63dc4cea276"}, + {file = "kiwisolver-1.5.0-cp313-cp313-win_arm64.whl", hash = "sha256:fa8eb9ecdb7efb0b226acec134e0d709e87a909fa4971a54c0c4f6e88635484c"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:db485b3847d182b908b483b2ed133c66d88d49cacf98fd278fadafe11b4478d1"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:be12f931839a3bdfe28b584db0e640a65a8bcbc24560ae3fdb025a449b3d754e"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:16b85d37c2cbb3253226d26e64663f755d88a03439a9c47df6246b35defbdfb7"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4432b835675f0ea7414aab3d37d119f7226d24869b7a829caeab49ebda407b0c"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b0feb50971481a2cc44d94e88bdb02cdd497618252ae226b8eb1201b957e368"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:56fa888f10d0f367155e76ce849fa1166fc9730d13bd2d65a2aa13b6f5424489"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:940dda65d5e764406b9fb92761cbf462e4e63f712ab60ed98f70552e496f3bf1"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-manylinux_2_39_riscv64.whl", hash = "sha256:89fc958c702ee9a745e4700378f5d23fddbc46ff89e8fdbf5395c24d5c1452a3"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9027d773c4ff81487181a925945743413f6069634d0b122d0b37684ccf4f1e18"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:5b233ea3e165e43e35dba1d2b8ecc21cf070b45b65ae17dd2747d2713d942021"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:ce9bf03dad3b46408c08649c6fbd6ca28a9fce0eb32fdfffa6775a13103b5310"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:fc4d3f1fb9ca0ae9f97b095963bc6326f1dbfd3779d6679a1e016b9baaa153d3"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:f443b4825c50a51ee68585522ab4a1d1257fac65896f282b4c6763337ac9f5d2"}, + {file = "kiwisolver-1.5.0-cp313-cp313t-win_arm64.whl", hash = "sha256:893ff3a711d1b515ba9da14ee090519bad4610ed1962fbe298a434e8c5f8db53"}, + {file = "kiwisolver-1.5.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8df31fe574b8b3993cc61764f40941111b25c2d9fea13d3ce24a49907cd2d615"}, + {file = "kiwisolver-1.5.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:1d49a49ac4cbfb7c1375301cd1ec90169dfeae55ff84710d782260ce77a75a02"}, + {file = "kiwisolver-1.5.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0cbe94b69b819209a62cb27bdfa5dc2a8977d8de2f89dfd97ba4f53ed3af754e"}, + {file = "kiwisolver-1.5.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:80aa065ffd378ff784822a6d7c3212f2d5f5e9c3589614b5c228b311fd3063ac"}, + {file = "kiwisolver-1.5.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e7f886f47ab881692f278ae901039a234e4025a68e6dfab514263a0b1c4ae05"}, + {file = "kiwisolver-1.5.0-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5060731cc3ed12ca3a8b57acd4aeca5bbc2f49216dd0bec1650a1acd89486bcd"}, + {file = "kiwisolver-1.5.0-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7a4aa69609f40fce3cbc3f87b2061f042eee32f94b8f11db707b66a26461591a"}, + {file = "kiwisolver-1.5.0-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:d168fda2dbff7b9b5f38e693182d792a938c31db4dac3a80a4888de603c99554"}, + {file = "kiwisolver-1.5.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:413b820229730d358efd838ecbab79902fe97094565fdc80ddb6b0a18c18a581"}, + {file = "kiwisolver-1.5.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:5124d1ea754509b09e53738ec185584cc609aae4a3b510aaf4ed6aa047ef9303"}, + {file = "kiwisolver-1.5.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:e4415a8db000bf49a6dd1c478bf70062eaacff0f462b92b0ba68791a905861f9"}, + {file = "kiwisolver-1.5.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:d618fd27420381a4f6044faa71f46d8bfd911bd077c555f7138ed88729bfbe79"}, + {file = "kiwisolver-1.5.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5092eb5b1172947f57d6ea7d89b2f29650414e4293c47707eb499ec07a0ac796"}, + {file = "kiwisolver-1.5.0-cp314-cp314-win_amd64.whl", hash = "sha256:d76e2d8c75051d58177e762164d2e9ab92886534e3a12e795f103524f221dd8e"}, + {file = "kiwisolver-1.5.0-cp314-cp314-win_arm64.whl", hash = "sha256:fa6248cd194edff41d7ea9425ced8ca3a6f838bfb295f6f1d6e6bb694a8518df"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:d1ffeb80b5676463d7a7d56acbe8e37a20ce725570e09549fe738e02ca6b7e1e"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:bc4d8e252f532ab46a1de9349e2d27b91fce46736a9eedaa37beaca66f574ed4"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:6783e069732715ad0c3ce96dbf21dbc2235ab0593f2baf6338101f70371f4028"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e7c4c09a490dc4d4a7f8cbee56c606a320f9dc28cf92a7157a39d1ce7676a657"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2a075bd7bd19c70cf67c8badfa36cf7c5d8de3c9ddb8420c51e10d9c50e94920"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bdd3e53429ff02aa319ba59dfe4ceeec345bf46cf180ec2cf6fd5b942e7975e9"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3cdcb35dc9d807259c981a85531048ede628eabcffb3239adf3d17463518992d"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:70d593af6a6ca332d1df73d519fddb5148edb15cd90d5f0155e3746a6d4fcc65"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:377815a8616074cabbf3f53354e1d040c35815a134e01d7614b7692e4bf8acfa"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:0255a027391d52944eae1dbb5d4cc5903f57092f3674e8e544cdd2622826b3f0"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:012b1eb16e28718fa782b5e61dc6f2da1f0792ca73bd05d54de6cb9561665fc9"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:0e3aafb33aed7479377e5e9a82e9d4bf87063741fc99fc7ae48b0f16e32bdd6f"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e7a116ae737f0000343218c4edf5bd45893bfeaff0993c0b215d7124c9f77646"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-win_amd64.whl", hash = "sha256:1dd9b0b119a350976a6d781e7278ec7aca0b201e1a9e2d23d9804afecb6ca681"}, + {file = "kiwisolver-1.5.0-cp314-cp314t-win_arm64.whl", hash = "sha256:58f812017cd2985c21fbffb4864d59174d4903dd66fa23815e74bbc7a0e2dd57"}, + {file = "kiwisolver-1.5.0-graalpy312-graalpy250_312_native-macosx_10_13_x86_64.whl", hash = "sha256:5ae8e62c147495b01a0f4765c878e9bfdf843412446a247e28df59936e99e797"}, + {file = "kiwisolver-1.5.0-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:f6764a4ccab3078db14a632420930f6186058750df066b8ea2a7106df91d3203"}, + {file = "kiwisolver-1.5.0-graalpy312-graalpy250_312_native-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c31c13da98624f957b0fb1b5bae5383b2333c2c3f6793d9825dd5ce79b525cb7"}, + {file = "kiwisolver-1.5.0-graalpy312-graalpy250_312_native-win_amd64.whl", hash = "sha256:1f1489f769582498610e015a8ef2d36f28f505ab3096d0e16b4858a9ec214f57"}, + {file = "kiwisolver-1.5.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:295d9ffe712caa9f8a3081de8d32fc60191b4b51c76f02f951fd8407253528f4"}, + {file = "kiwisolver-1.5.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:51e8c4084897de9f05898c2c2a39af6318044ae969d46ff7a34ed3f96274adca"}, + {file = "kiwisolver-1.5.0-pp310-pypy310_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b83af57bdddef03c01a9138034c6ff03181a3028d9a1003b301eb1a55e161a3f"}, + {file = "kiwisolver-1.5.0-pp310-pypy310_pp73-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bf4679a3d71012a7c2bf360e5cd878fbd5e4fcac0896b56393dec239d81529ed"}, + {file = "kiwisolver-1.5.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:41024ed50e44ab1a60d3fe0a9d15a4ccc9f5f2b1d814ff283c8d01134d5b81bc"}, + {file = "kiwisolver-1.5.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:ec4c85dc4b687c7f7f15f553ff26a98bfe8c58f5f7f0ac8905f0ba4c7be60232"}, + {file = "kiwisolver-1.5.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:12e91c215a96e39f57989c8912ae761286ac5a9584d04030ceb3368a357f017a"}, + {file = "kiwisolver-1.5.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:be4a51a55833dc29ab5d7503e7bcb3b3af3402d266018137127450005cdfe737"}, + {file = "kiwisolver-1.5.0-pp311-pypy311_pp73-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:daae526907e262de627d8f70058a0f64acc9e2641c164c99c8f594b34a799a16"}, + {file = "kiwisolver-1.5.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:59cd8683f575d96df5bb48f6add94afc055012c29e28124fcae2b63661b9efb1"}, + {file = "kiwisolver-1.5.0.tar.gz", hash = "sha256:d4193f3d9dc3f6f79aaed0e5637f45d98850ebf01f7ca20e69457f3e8946b66a"}, ] [[package]] name = "markdown-it-py" -version = "3.0.0" +version = "4.2.0" description = "Python port of markdown-it. Markdown parsing, done right!" optional = false -python-versions = ">=3.8" +python-versions = ">=3.10" files = [ - {file = "markdown-it-py-3.0.0.tar.gz", hash = "sha256:e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb"}, - {file = "markdown_it_py-3.0.0-py3-none-any.whl", hash = "sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1"}, + {file = "markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a"}, + {file = "markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49"}, ] [package.dependencies] @@ -543,62 +563,75 @@ mdurl = ">=0.1,<1.0" [package.extras] benchmarking = ["psutil", "pytest", "pytest-benchmark"] -code-style = ["pre-commit (>=3.0,<4.0)"] -compare = ["commonmark (>=0.9,<1.0)", "markdown (>=3.4,<4.0)", "mistletoe (>=1.0,<2.0)", "mistune (>=2.0,<3.0)", "panflute (>=2.3,<3.0)"] +compare = ["commonmark (>=0.9,<1.0)", "markdown (>=3.4,<4.0)", "markdown-it-pyrs", "mistletoe (>=1.0,<2.0)", "mistune (>=3.0,<4.0)", "panflute (>=2.3,<3.0)"] linkify = ["linkify-it-py (>=1,<3)"] -plugins = ["mdit-py-plugins"] +plugins = ["mdit-py-plugins (>=0.5.0)"] profiling = ["gprof2dot"] -rtd = ["jupyter_sphinx", "mdit-py-plugins", "myst-parser", "pyyaml", "sphinx", "sphinx-copybutton", "sphinx-design", "sphinx_book_theme"] -testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"] +rtd = ["ipykernel", "jupyter_sphinx", "mdit-py-plugins (>=0.5.0)", "myst-parser", "pyyaml", "sphinx", "sphinx-book-theme (>=1.0,<2.0)", "sphinx-copybutton", "sphinx-design"] +testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions", "pytest-timeout", "requests"] [[package]] name = "matplotlib" -version = "3.9.4" +version = "3.10.9" description = "Python plotting package" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" files = [ - {file = "matplotlib-3.9.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:c5fdd7abfb706dfa8d307af64a87f1a862879ec3cd8d0ec8637458f0885b9c50"}, - {file = "matplotlib-3.9.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d89bc4e85e40a71d1477780366c27fb7c6494d293e1617788986f74e2a03d7ff"}, - {file = "matplotlib-3.9.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ddf9f3c26aae695c5daafbf6b94e4c1a30d6cd617ba594bbbded3b33a1fcfa26"}, - {file = "matplotlib-3.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18ebcf248030173b59a868fda1fe42397253f6698995b55e81e1f57431d85e50"}, - {file = "matplotlib-3.9.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:974896ec43c672ec23f3f8c648981e8bc880ee163146e0312a9b8def2fac66f5"}, - {file = "matplotlib-3.9.4-cp310-cp310-win_amd64.whl", hash = "sha256:4598c394ae9711cec135639374e70871fa36b56afae17bdf032a345be552a88d"}, - {file = "matplotlib-3.9.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:d4dd29641d9fb8bc4492420c5480398dd40a09afd73aebe4eb9d0071a05fbe0c"}, - {file = "matplotlib-3.9.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:30e5b22e8bcfb95442bf7d48b0d7f3bdf4a450cbf68986ea45fca3d11ae9d099"}, - {file = "matplotlib-3.9.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2bb0030d1d447fd56dcc23b4c64a26e44e898f0416276cac1ebc25522e0ac249"}, - {file = "matplotlib-3.9.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aca90ed222ac3565d2752b83dbb27627480d27662671e4d39da72e97f657a423"}, - {file = "matplotlib-3.9.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a181b2aa2906c608fcae72f977a4a2d76e385578939891b91c2550c39ecf361e"}, - {file = "matplotlib-3.9.4-cp311-cp311-win_amd64.whl", hash = "sha256:1f6882828231eca17f501c4dcd98a05abb3f03d157fbc0769c6911fe08b6cfd3"}, - {file = "matplotlib-3.9.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:dfc48d67e6661378a21c2983200a654b72b5c5cdbd5d2cf6e5e1ece860f0cc70"}, - {file = "matplotlib-3.9.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:47aef0fab8332d02d68e786eba8113ffd6f862182ea2999379dec9e237b7e483"}, - {file = "matplotlib-3.9.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fba1f52c6b7dc764097f52fd9ab627b90db452c9feb653a59945de16752e965f"}, - {file = "matplotlib-3.9.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:173ac3748acaac21afcc3fa1633924609ba1b87749006bc25051c52c422a5d00"}, - {file = "matplotlib-3.9.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:320edea0cadc07007765e33f878b13b3738ffa9745c5f707705692df70ffe0e0"}, - {file = "matplotlib-3.9.4-cp312-cp312-win_amd64.whl", hash = "sha256:a4a4cfc82330b27042a7169533da7991e8789d180dd5b3daeaee57d75cd5a03b"}, - {file = "matplotlib-3.9.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:37eeffeeca3c940985b80f5b9a7b95ea35671e0e7405001f249848d2b62351b6"}, - {file = "matplotlib-3.9.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:3e7465ac859ee4abcb0d836137cd8414e7bb7ad330d905abced457217d4f0f45"}, - {file = "matplotlib-3.9.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f4c12302c34afa0cf061bea23b331e747e5e554b0fa595c96e01c7b75bc3b858"}, - {file = "matplotlib-3.9.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2b8c97917f21b75e72108b97707ba3d48f171541a74aa2a56df7a40626bafc64"}, - {file = "matplotlib-3.9.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0229803bd7e19271b03cb09f27db76c918c467aa4ce2ae168171bc67c3f508df"}, - {file = "matplotlib-3.9.4-cp313-cp313-win_amd64.whl", hash = "sha256:7c0d8ef442ebf56ff5e206f8083d08252ee738e04f3dc88ea882853a05488799"}, - {file = "matplotlib-3.9.4-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:a04c3b00066a688834356d196136349cb32f5e1003c55ac419e91585168b88fb"}, - {file = "matplotlib-3.9.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:04c519587f6c210626741a1e9a68eefc05966ede24205db8982841826af5871a"}, - {file = "matplotlib-3.9.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:308afbf1a228b8b525fcd5cec17f246bbbb63b175a3ef6eb7b4d33287ca0cf0c"}, - {file = "matplotlib-3.9.4-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ddb3b02246ddcffd3ce98e88fed5b238bc5faff10dbbaa42090ea13241d15764"}, - {file = "matplotlib-3.9.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8a75287e9cb9eee48cb79ec1d806f75b29c0fde978cb7223a1f4c5848d696041"}, - {file = "matplotlib-3.9.4-cp313-cp313t-win_amd64.whl", hash = "sha256:488deb7af140f0ba86da003e66e10d55ff915e152c78b4b66d231638400b1965"}, - {file = "matplotlib-3.9.4-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:3c3724d89a387ddf78ff88d2a30ca78ac2b4c89cf37f2db4bd453c34799e933c"}, - {file = "matplotlib-3.9.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d5f0a8430ffe23d7e32cfd86445864ccad141797f7d25b7c41759a5b5d17cfd7"}, - {file = "matplotlib-3.9.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6bb0141a21aef3b64b633dc4d16cbd5fc538b727e4958be82a0e1c92a234160e"}, - {file = "matplotlib-3.9.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:57aa235109e9eed52e2c2949db17da185383fa71083c00c6c143a60e07e0888c"}, - {file = "matplotlib-3.9.4-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:b18c600061477ccfdd1e6fd050c33d8be82431700f3452b297a56d9ed7037abb"}, - {file = "matplotlib-3.9.4-cp39-cp39-win_amd64.whl", hash = "sha256:ef5f2d1b67d2d2145ff75e10f8c008bfbf71d45137c4b648c87193e7dd053eac"}, - {file = "matplotlib-3.9.4-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:44e0ed786d769d85bc787b0606a53f2d8d2d1d3c8a2608237365e9121c1a338c"}, - {file = "matplotlib-3.9.4-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:09debb9ce941eb23ecdbe7eab972b1c3e0276dcf01688073faff7b0f61d6c6ca"}, - {file = "matplotlib-3.9.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bcc53cf157a657bfd03afab14774d54ba73aa84d42cfe2480c91bd94873952db"}, - {file = "matplotlib-3.9.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:ad45da51be7ad02387801fd154ef74d942f49fe3fcd26a64c94842ba7ec0d865"}, - {file = "matplotlib-3.9.4.tar.gz", hash = "sha256:1e00e8be7393cbdc6fedfa8a6fba02cf3e83814b285db1c60b906a023ba41bc3"}, + {file = "matplotlib-3.10.9-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:77210dce9cb8153dffc967efaae990543392563d5a376d4dd8539bebcb0ed217"}, + {file = "matplotlib-3.10.9-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1e7698ac9868428e84d2c967424803b2472ff7167d9d6590d4204ed775343c3b"}, + {file = "matplotlib-3.10.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1aa972116abb4c9d201bf245620b433726cb6856f3bef6a78f776a00f5c92d37"}, + {file = "matplotlib-3.10.9-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ae2f11957b27ce53497dd4d7b235c4d4f1faf383dfb39d0c5beb833bff883294"}, + {file = "matplotlib-3.10.9-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b049278ddce116aaa1c1377ebf58adea909132dfce0281cf7e3a1ea9fc2e2c65"}, + {file = "matplotlib-3.10.9-cp310-cp310-win_amd64.whl", hash = "sha256:82834c3c292d24d3a8aae77cd2d20019de69d692a34a970e4fdb8d33e2ea3dda"}, + {file = "matplotlib-3.10.9-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:68cfdcede415f7c8f5577b03303dd94526cdb6d11036cecdc205e08733b2d2bb"}, + {file = "matplotlib-3.10.9-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dfca0129678bd56379db26c52b5d77ed7de314c047492fbdc763aa7501710cfb"}, + {file = "matplotlib-3.10.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8e436d155fa8a3399dc62683f8f5d0e2e50d25d0144a73edd73f82eec8f4abfb"}, + {file = "matplotlib-3.10.9-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:56fc0bd271b00025c6edfdc7c2dcd247372c8e1544971d62e1dc7c17367e8bf9"}, + {file = "matplotlib-3.10.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a5a6104ed666402ba5106d7f36e0e0cdca4e8d7fa4d39708ca88019e2835a2eb"}, + {file = "matplotlib-3.10.9-cp311-cp311-win_amd64.whl", hash = "sha256:d730e984eddf56974c3e72b6129c7ca462ac38dc624338f4b0b23eb23ecba00f"}, + {file = "matplotlib-3.10.9-cp311-cp311-win_arm64.whl", hash = "sha256:51bf0ddbdc598e060d46c16b5590708f81a1624cefbaaf62f6a81bf9285b8c80"}, + {file = "matplotlib-3.10.9-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:f0c3c28d9fbcc1fe7a03be236d73430cf6409c41fb2383a7ac52fe932b072cb1"}, + {file = "matplotlib-3.10.9-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:41cb28c2bd769aa3e98322c6ab09854cbcc52ab69d2759d681bba3e327b2b320"}, + {file = "matplotlib-3.10.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ae20801130378b82d647ff5047c07316295b68dc054ca6b3c13519d0ea624285"}, + {file = "matplotlib-3.10.9-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6c63ebcd8b4b169eb2f5c200552ae6b8be8999a005b6b507ed76fb8d7d674fe2"}, + {file = "matplotlib-3.10.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d75d11c949914165976c621b2324f9ef162af7ebf4b057ddf95dd1dba7e5edcf"}, + {file = "matplotlib-3.10.9-cp312-cp312-win_amd64.whl", hash = "sha256:d091f9d758b34aaaaa6331d13574bf01891d903b3dec59bfff458ef7551de5d6"}, + {file = "matplotlib-3.10.9-cp312-cp312-win_arm64.whl", hash = "sha256:10cc5ce06d10231c36f40e875f3c7e8050362a4ee8f0ee5d29a6b3277d57bb42"}, + {file = "matplotlib-3.10.9-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b580440f1ff81a0e34122051a3dfabb7e4b7f9e380629929bde0eff9af72165f"}, + {file = "matplotlib-3.10.9-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b1b745c489cd1a77a0dc1120a05dc87af9798faebc913601feb8c73d89bf2d1e"}, + {file = "matplotlib-3.10.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8f3bcac1ca5ed000a6f4337d47ba67dfddf37ed6a46c15fd7f014997f7bf865f"}, + {file = "matplotlib-3.10.9-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7a8d66a55def891c33147ba3ba9bfcabf0b526a43764c818acbb4525e5ed0838"}, + {file = "matplotlib-3.10.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:d843374407c4017a6403b59c6c81606773d136f3259d5b6da3131bc814542cc2"}, + {file = "matplotlib-3.10.9-cp313-cp313-win_amd64.whl", hash = "sha256:f4399f64b3e94cd500195490972ae1ee81170df1636fa15364d157d5bdd7b921"}, + {file = "matplotlib-3.10.9-cp313-cp313-win_arm64.whl", hash = "sha256:ba7b3b8ef09eab7df0e86e9ae086faa433efbfbdb46afcb3aa16aabf779469a8"}, + {file = "matplotlib-3.10.9-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:09218df8a93712bd6ea133e83a153c755448cf7868316c531cffcc43f69d1cc9"}, + {file = "matplotlib-3.10.9-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:82368699727bfb7b0182e1aa13082e3c08e092fa1a25d3e1fd92405bff96f6d4"}, + {file = "matplotlib-3.10.9-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3225f4e1edcb8c86c884ddf79ebe20ecd0a67d30188f279897554ccd8fded4dc"}, + {file = "matplotlib-3.10.9-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:de2445a0c6690d21b7eb6ce071cebad6d40a2e9bdf10d039074a96ba19797b99"}, + {file = "matplotlib-3.10.9-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:b2b9516251cb89ff618d757daec0e2ed1bf21248013844a853d87ef85ab3081d"}, + {file = "matplotlib-3.10.9-cp313-cp313t-win_amd64.whl", hash = "sha256:e9fae004b941b23ff2edcf1567a857ed77bafc8086ffa258190462328434faf8"}, + {file = "matplotlib-3.10.9-cp313-cp313t-win_arm64.whl", hash = "sha256:6b63d9c7c769b88ab81e10dc86e4e0607cf56817b9f9e6cf24b2a5f1693b8e38"}, + {file = "matplotlib-3.10.9-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:172db52c9e683f5d12eaf57f0f54834190e12581fe1cc2a19595a8f5acb4e77d"}, + {file = "matplotlib-3.10.9-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:97e35e8d39ccc85859095e01a53847432ba9a53ddf7986f7a54a11b73d0e143f"}, + {file = "matplotlib-3.10.9-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aba1615dabe83188e19d4f75a253c6a08423e04c1425e64039f800050a69de6b"}, + {file = "matplotlib-3.10.9-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34cf8167e023ad956c15f36302911d5406bd99a9862c1a8499ea6f7c0e015dc2"}, + {file = "matplotlib-3.10.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:59476c6d29d612b8e9bb6ce8c5b631be6ba8f9e3a2421f22a02b192c7dd28716"}, + {file = "matplotlib-3.10.9-cp314-cp314-win_amd64.whl", hash = "sha256:336b9acc64d309063126edcdaca00db9373af3c476bb94388fe9c5a53ad13e6f"}, + {file = "matplotlib-3.10.9-cp314-cp314-win_arm64.whl", hash = "sha256:2dc9477819ffd78ad12a20df1d9d6a6bd4fec6aaa9072681465fddca052f1456"}, + {file = "matplotlib-3.10.9-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:da4e09638420548f31c354032a6250e473c68e5a4e96899b4844cf39ddea23fe"}, + {file = "matplotlib-3.10.9-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:345f6f68ecc8da0ca56fad2ea08fde1a115eda530079eca185d50a7bc3e146c6"}, + {file = "matplotlib-3.10.9-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4edcfbd8565339aa62f1cd4012f7180926fdbe71850f7b0d3c379c175cd6b66c"}, + {file = "matplotlib-3.10.9-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6be157fe17fc37cb95ac1d7374cf717ce9259616edec911a78d9d26dae8522d4"}, + {file = "matplotlib-3.10.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:4e42042d54db34fda4e95a7bd3e5789c2a995d2dad3eb8850232ee534092fbbf"}, + {file = "matplotlib-3.10.9-cp314-cp314t-win_amd64.whl", hash = "sha256:c27df8b3848f32a83d1767566595e43cfaa4460380974da06f4279a7ec143c39"}, + {file = "matplotlib-3.10.9-cp314-cp314t-win_arm64.whl", hash = "sha256:a49f1eadc84ca85fd72fa4e89e70e61bf86452df6f971af04b12c60761a0772c"}, + {file = "matplotlib-3.10.9-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:1872fb212a05b729e649754a72d5da61d03e0554d76e80303b6f83d1d2c0552b"}, + {file = "matplotlib-3.10.9-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:985f2238880e2e69093f588f5fe2e46771747febf0649f3cf7f7b7480875317f"}, + {file = "matplotlib-3.10.9-pp310-pypy310_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6640f75af2c6148293caa0a2b39dd806a492dd66c8a8b04035813e33d0fd2585"}, + {file = "matplotlib-3.10.9-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:42fb814efabe95c06c1994d8ab5a8385f43a249e23badd3ba931d4308e5bca20"}, + {file = "matplotlib-3.10.9-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:f76e640a5268850bfda54b5131b1b1941cc685e42c5fa98ed9f2d64038308cba"}, + {file = "matplotlib-3.10.9-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3fc0364dfbe1d07f6d15c5ebd0c5bf89e126916e5a8667dd4a7a6e84c36653d4"}, + {file = "matplotlib-3.10.9.tar.gz", hash = "sha256:fd66508e8c6877d98e586654b608a0456db8d7e8a546eb1e2600efd957302358"}, ] [package.dependencies] @@ -609,11 +642,11 @@ kiwisolver = ">=1.3.1" numpy = ">=1.23" packaging = ">=20.0" pillow = ">=8" -pyparsing = ">=2.3.1" +pyparsing = ">=3" python-dateutil = ">=2.7" [package.extras] -dev = ["meson-python (>=0.13.1,<0.17.0)", "numpy (>=1.25)", "pybind11 (>=2.6,!=2.13.3)", "setuptools (>=64)", "setuptools_scm (>=7)"] +dev = ["meson-python (>=0.13.1,<0.17.0)", "pybind11 (>=2.13.2,!=2.13.3)", "setuptools (>=64)", "setuptools_scm (>=7,<10)"] [[package]] name = "mdurl" @@ -628,67 +661,77 @@ files = [ [[package]] name = "numpy" -version = "2.0.2" +version = "2.2.6" description = "Fundamental package for array computing in Python" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" files = [ - {file = "numpy-2.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:51129a29dbe56f9ca83438b706e2e69a39892b5eda6cedcb6b0c9fdc9b0d3ece"}, - {file = "numpy-2.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f15975dfec0cf2239224d80e32c3170b1d168335eaedee69da84fbe9f1f9cd04"}, - {file = "numpy-2.0.2-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:8c5713284ce4e282544c68d1c3b2c7161d38c256d2eefc93c1d683cf47683e66"}, - {file = "numpy-2.0.2-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:becfae3ddd30736fe1889a37f1f580e245ba79a5855bff5f2a29cb3ccc22dd7b"}, - {file = "numpy-2.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2da5960c3cf0df7eafefd806d4e612c5e19358de82cb3c343631188991566ccd"}, - {file = "numpy-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:496f71341824ed9f3d2fd36cf3ac57ae2e0165c143b55c3a035ee219413f3318"}, - {file = "numpy-2.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a61ec659f68ae254e4d237816e33171497e978140353c0c2038d46e63282d0c8"}, - {file = "numpy-2.0.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d731a1c6116ba289c1e9ee714b08a8ff882944d4ad631fd411106a30f083c326"}, - {file = "numpy-2.0.2-cp310-cp310-win32.whl", hash = "sha256:984d96121c9f9616cd33fbd0618b7f08e0cfc9600a7ee1d6fd9b239186d19d97"}, - {file = "numpy-2.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:c7b0be4ef08607dd04da4092faee0b86607f111d5ae68036f16cc787e250a131"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:49ca4decb342d66018b01932139c0961a8f9ddc7589611158cb3c27cbcf76448"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:11a76c372d1d37437857280aa142086476136a8c0f373b2e648ab2c8f18fb195"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:807ec44583fd708a21d4a11d94aedf2f4f3c3719035c76a2bbe1fe8e217bdc57"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:8cafab480740e22f8d833acefed5cc87ce276f4ece12fdaa2e8903db2f82897a"}, - {file = "numpy-2.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a15f476a45e6e5a3a79d8a14e62161d27ad897381fecfa4a09ed5322f2085669"}, - {file = "numpy-2.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:13e689d772146140a252c3a28501da66dfecd77490b498b168b501835041f951"}, - {file = "numpy-2.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9ea91dfb7c3d1c56a0e55657c0afb38cf1eeae4544c208dc465c3c9f3a7c09f9"}, - {file = "numpy-2.0.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c1c9307701fec8f3f7a1e6711f9089c06e6284b3afbbcd259f7791282d660a15"}, - {file = "numpy-2.0.2-cp311-cp311-win32.whl", hash = "sha256:a392a68bd329eafac5817e5aefeb39038c48b671afd242710b451e76090e81f4"}, - {file = "numpy-2.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:286cd40ce2b7d652a6f22efdfc6d1edf879440e53e76a75955bc0c826c7e64dc"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:df55d490dea7934f330006d0f81e8551ba6010a5bf035a249ef61a94f21c500b"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8df823f570d9adf0978347d1f926b2a867d5608f434a7cff7f7908c6570dcf5e"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:9a92ae5c14811e390f3767053ff54eaee3bf84576d99a2456391401323f4ec2c"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:a842d573724391493a97a62ebbb8e731f8a5dcc5d285dfc99141ca15a3302d0c"}, - {file = "numpy-2.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c05e238064fc0610c840d1cf6a13bf63d7e391717d247f1bf0318172e759e692"}, - {file = "numpy-2.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0123ffdaa88fa4ab64835dcbde75dcdf89c453c922f18dced6e27c90d1d0ec5a"}, - {file = "numpy-2.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:96a55f64139912d61de9137f11bf39a55ec8faec288c75a54f93dfd39f7eb40c"}, - {file = "numpy-2.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ec9852fb39354b5a45a80bdab5ac02dd02b15f44b3804e9f00c556bf24b4bded"}, - {file = "numpy-2.0.2-cp312-cp312-win32.whl", hash = "sha256:671bec6496f83202ed2d3c8fdc486a8fc86942f2e69ff0e986140339a63bcbe5"}, - {file = "numpy-2.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:cfd41e13fdc257aa5778496b8caa5e856dc4896d4ccf01841daee1d96465467a"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9059e10581ce4093f735ed23f3b9d283b9d517ff46009ddd485f1747eb22653c"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:423e89b23490805d2a5a96fe40ec507407b8ee786d66f7328be214f9679df6dd"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_14_0_arm64.whl", hash = "sha256:2b2955fa6f11907cf7a70dab0d0755159bca87755e831e47932367fc8f2f2d0b"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_14_0_x86_64.whl", hash = "sha256:97032a27bd9d8988b9a97a8c4d2c9f2c15a81f61e2f21404d7e8ef00cb5be729"}, - {file = "numpy-2.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1e795a8be3ddbac43274f18588329c72939870a16cae810c2b73461c40718ab1"}, - {file = "numpy-2.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f26b258c385842546006213344c50655ff1555a9338e2e5e02a0756dc3e803dd"}, - {file = "numpy-2.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5fec9451a7789926bcf7c2b8d187292c9f93ea30284802a0ab3f5be8ab36865d"}, - {file = "numpy-2.0.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:9189427407d88ff25ecf8f12469d4d39d35bee1db5d39fc5c168c6f088a6956d"}, - {file = "numpy-2.0.2-cp39-cp39-win32.whl", hash = "sha256:905d16e0c60200656500c95b6b8dca5d109e23cb24abc701d41c02d74c6b3afa"}, - {file = "numpy-2.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:a3f4ab0caa7f053f6797fcd4e1e25caee367db3112ef2b6ef82d749530768c73"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:7f0a0c6f12e07fa94133c8a67404322845220c06a9e80e85999afe727f7438b8"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-macosx_14_0_x86_64.whl", hash = "sha256:312950fdd060354350ed123c0e25a71327d3711584beaef30cdaa93320c392d4"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:26df23238872200f63518dd2aa984cfca675d82469535dc7162dc2ee52d9dd5c"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:a46288ec55ebbd58947d31d72be2c63cbf839f0a63b49cb755022310792a3385"}, - {file = "numpy-2.0.2.tar.gz", hash = "sha256:883c987dee1880e2a864ab0dc9892292582510604156762362d9326444636e78"}, + {file = "numpy-2.2.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b412caa66f72040e6d268491a59f2c43bf03eb6c96dd8f0307829feb7fa2b6fb"}, + {file = "numpy-2.2.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8e41fd67c52b86603a91c1a505ebaef50b3314de0213461c7a6e99c9a3beff90"}, + {file = "numpy-2.2.6-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:37e990a01ae6ec7fe7fa1c26c55ecb672dd98b19c3d0e1d1f326fa13cb38d163"}, + {file = "numpy-2.2.6-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:5a6429d4be8ca66d889b7cf70f536a397dc45ba6faeb5f8c5427935d9592e9cf"}, + {file = "numpy-2.2.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:efd28d4e9cd7d7a8d39074a4d44c63eda73401580c5c76acda2ce969e0a38e83"}, + {file = "numpy-2.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc7b73d02efb0e18c000e9ad8b83480dfcd5dfd11065997ed4c6747470ae8915"}, + {file = "numpy-2.2.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:74d4531beb257d2c3f4b261bfb0fc09e0f9ebb8842d82a7b4209415896adc680"}, + {file = "numpy-2.2.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8fc377d995680230e83241d8a96def29f204b5782f371c532579b4f20607a289"}, + {file = "numpy-2.2.6-cp310-cp310-win32.whl", hash = "sha256:b093dd74e50a8cba3e873868d9e93a85b78e0daf2e98c6797566ad8044e8363d"}, + {file = "numpy-2.2.6-cp310-cp310-win_amd64.whl", hash = "sha256:f0fd6321b839904e15c46e0d257fdd101dd7f530fe03fd6359c1ea63738703f3"}, + {file = "numpy-2.2.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f9f1adb22318e121c5c69a09142811a201ef17ab257a1e66ca3025065b7f53ae"}, + {file = "numpy-2.2.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c820a93b0255bc360f53eca31a0e676fd1101f673dda8da93454a12e23fc5f7a"}, + {file = "numpy-2.2.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:3d70692235e759f260c3d837193090014aebdf026dfd167834bcba43e30c2a42"}, + {file = "numpy-2.2.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:481b49095335f8eed42e39e8041327c05b0f6f4780488f61286ed3c01368d491"}, + {file = "numpy-2.2.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b64d8d4d17135e00c8e346e0a738deb17e754230d7e0810ac5012750bbd85a5a"}, + {file = "numpy-2.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba10f8411898fc418a521833e014a77d3ca01c15b0c6cdcce6a0d2897e6dbbdf"}, + {file = "numpy-2.2.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:bd48227a919f1bafbdda0583705e547892342c26fb127219d60a5c36882609d1"}, + {file = "numpy-2.2.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9551a499bf125c1d4f9e250377c1ee2eddd02e01eac6644c080162c0c51778ab"}, + {file = "numpy-2.2.6-cp311-cp311-win32.whl", hash = "sha256:0678000bb9ac1475cd454c6b8c799206af8107e310843532b04d49649c717a47"}, + {file = "numpy-2.2.6-cp311-cp311-win_amd64.whl", hash = "sha256:e8213002e427c69c45a52bbd94163084025f533a55a59d6f9c5b820774ef3303"}, + {file = "numpy-2.2.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:41c5a21f4a04fa86436124d388f6ed60a9343a6f767fced1a8a71c3fbca038ff"}, + {file = "numpy-2.2.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:de749064336d37e340f640b05f24e9e3dd678c57318c7289d222a8a2f543e90c"}, + {file = "numpy-2.2.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:894b3a42502226a1cac872f840030665f33326fc3dac8e57c607905773cdcde3"}, + {file = "numpy-2.2.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:71594f7c51a18e728451bb50cc60a3ce4e6538822731b2933209a1f3614e9282"}, + {file = "numpy-2.2.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f2618db89be1b4e05f7a1a847a9c1c0abd63e63a1607d892dd54668dd92faf87"}, + {file = "numpy-2.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd83c01228a688733f1ded5201c678f0c53ecc1006ffbc404db9f7a899ac6249"}, + {file = "numpy-2.2.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:37c0ca431f82cd5fa716eca9506aefcabc247fb27ba69c5062a6d3ade8cf8f49"}, + {file = "numpy-2.2.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fe27749d33bb772c80dcd84ae7e8df2adc920ae8297400dabec45f0dedb3f6de"}, + {file = "numpy-2.2.6-cp312-cp312-win32.whl", hash = "sha256:4eeaae00d789f66c7a25ac5f34b71a7035bb474e679f410e5e1a94deb24cf2d4"}, + {file = "numpy-2.2.6-cp312-cp312-win_amd64.whl", hash = "sha256:c1f9540be57940698ed329904db803cf7a402f3fc200bfe599334c9bd84a40b2"}, + {file = "numpy-2.2.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0811bb762109d9708cca4d0b13c4f67146e3c3b7cf8d34018c722adb2d957c84"}, + {file = "numpy-2.2.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:287cc3162b6f01463ccd86be154f284d0893d2b3ed7292439ea97eafa8170e0b"}, + {file = "numpy-2.2.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f1372f041402e37e5e633e586f62aa53de2eac8d98cbfb822806ce4bbefcb74d"}, + {file = "numpy-2.2.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:55a4d33fa519660d69614a9fad433be87e5252f4b03850642f88993f7b2ca566"}, + {file = "numpy-2.2.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f92729c95468a2f4f15e9bb94c432a9229d0d50de67304399627a943201baa2f"}, + {file = "numpy-2.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1bc23a79bfabc5d056d106f9befb8d50c31ced2fbc70eedb8155aec74a45798f"}, + {file = "numpy-2.2.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e3143e4451880bed956e706a3220b4e5cf6172ef05fcc397f6f36a550b1dd868"}, + {file = "numpy-2.2.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b4f13750ce79751586ae2eb824ba7e1e8dba64784086c98cdbbcc6a42112ce0d"}, + {file = "numpy-2.2.6-cp313-cp313-win32.whl", hash = "sha256:5beb72339d9d4fa36522fc63802f469b13cdbe4fdab4a288f0c441b74272ebfd"}, + {file = "numpy-2.2.6-cp313-cp313-win_amd64.whl", hash = "sha256:b0544343a702fa80c95ad5d3d608ea3599dd54d4632df855e4c8d24eb6ecfa1c"}, + {file = "numpy-2.2.6-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0bca768cd85ae743b2affdc762d617eddf3bcf8724435498a1e80132d04879e6"}, + {file = "numpy-2.2.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:fc0c5673685c508a142ca65209b4e79ed6740a4ed6b2267dbba90f34b0b3cfda"}, + {file = "numpy-2.2.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:5bd4fc3ac8926b3819797a7c0e2631eb889b4118a9898c84f585a54d475b7e40"}, + {file = "numpy-2.2.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:fee4236c876c4e8369388054d02d0e9bb84821feb1a64dd59e137e6511a551f8"}, + {file = "numpy-2.2.6-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e1dda9c7e08dc141e0247a5b8f49cf05984955246a327d4c48bda16821947b2f"}, + {file = "numpy-2.2.6-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f447e6acb680fd307f40d3da4852208af94afdfab89cf850986c3ca00562f4fa"}, + {file = "numpy-2.2.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:389d771b1623ec92636b0786bc4ae56abafad4a4c513d36a55dce14bd9ce8571"}, + {file = "numpy-2.2.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8e9ace4a37db23421249ed236fdcdd457d671e25146786dfc96835cd951aa7c1"}, + {file = "numpy-2.2.6-cp313-cp313t-win32.whl", hash = "sha256:038613e9fb8c72b0a41f025a7e4c3f0b7a1b5d768ece4796b674c8f3fe13efff"}, + {file = "numpy-2.2.6-cp313-cp313t-win_amd64.whl", hash = "sha256:6031dd6dfecc0cf9f668681a37648373bddd6421fff6c66ec1624eed0180ee06"}, + {file = "numpy-2.2.6-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0b605b275d7bd0c640cad4e5d30fa701a8d59302e127e5f79138ad62762c3e3d"}, + {file = "numpy-2.2.6-pp310-pypy310_pp73-macosx_14_0_x86_64.whl", hash = "sha256:7befc596a7dc9da8a337f79802ee8adb30a552a94f792b9c9d18c840055907db"}, + {file = "numpy-2.2.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce47521a4754c8f4593837384bd3424880629f718d87c5d44f8ed763edd63543"}, + {file = "numpy-2.2.6-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d042d24c90c41b54fd506da306759e06e568864df8ec17ccc17e9e884634fd00"}, + {file = "numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd"}, ] [[package]] name = "packaging" -version = "24.1" +version = "26.2" description = "Core utilities for Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"}, - {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, + {file = "packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e"}, + {file = "packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661"}, ] [[package]] @@ -801,36 +844,34 @@ xmp = ["defusedxml"] [[package]] name = "pluggy" -version = "1.5.0" +version = "1.6.0" description = "plugin and hook calling mechanisms for python" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"}, - {file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"}, + {file = "pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746"}, + {file = "pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3"}, ] [package.extras] dev = ["pre-commit", "tox"] -testing = ["pytest", "pytest-benchmark"] +testing = ["coverage", "pytest", "pytest-benchmark"] [[package]] name = "protobuf" -version = "6.33.5" +version = "7.35.0" description = "" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" files = [ - {file = "protobuf-6.33.5-cp310-abi3-win32.whl", hash = "sha256:d71b040839446bac0f4d162e758bea99c8251161dae9d0983a3b88dee345153b"}, - {file = "protobuf-6.33.5-cp310-abi3-win_amd64.whl", hash = "sha256:3093804752167bcab3998bec9f1048baae6e29505adaf1afd14a37bddede533c"}, - {file = "protobuf-6.33.5-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:a5cb85982d95d906df1e2210e58f8e4f1e3cdc088e52c921a041f9c9a0386de5"}, - {file = "protobuf-6.33.5-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:9b71e0281f36f179d00cbcb119cb19dec4d14a81393e5ea220f64b286173e190"}, - {file = "protobuf-6.33.5-cp39-abi3-manylinux2014_s390x.whl", hash = "sha256:8afa18e1d6d20af15b417e728e9f60f3aa108ee76f23c3b2c07a2c3b546d3afd"}, - {file = "protobuf-6.33.5-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:cbf16ba3350fb7b889fca858fb215967792dc125b35c7976ca4818bee3521cf0"}, - {file = "protobuf-6.33.5-cp39-cp39-win32.whl", hash = "sha256:a3157e62729aafb8df6da2c03aa5c0937c7266c626ce11a278b6eb7963c4e37c"}, - {file = "protobuf-6.33.5-cp39-cp39-win_amd64.whl", hash = "sha256:8f04fa32763dcdb4973d537d6b54e615cc61108c7cb38fe59310c3192d29510a"}, - {file = "protobuf-6.33.5-py3-none-any.whl", hash = "sha256:69915a973dd0f60f31a08b8318b73eab2bd6a392c79184b3612226b0a3f8ec02"}, - {file = "protobuf-6.33.5.tar.gz", hash = "sha256:6ddcac2a081f8b7b9642c09406bc6a4290128fce5f471cddd165960bb9119e5c"}, + {file = "protobuf-7.35.0-cp310-abi3-macosx_10_9_universal2.whl", hash = "sha256:66be6c513931c794fa92c080ffee41671390da3d79da219cf9c0c0907f035dda"}, + {file = "protobuf-7.35.0-cp310-abi3-manylinux2014_aarch64.whl", hash = "sha256:fcbe42a4ac09d3ec9c987ddfcd956afd0b15f1ff613bd8371bde9405ffd5c8e5"}, + {file = "protobuf-7.35.0-cp310-abi3-manylinux2014_s390x.whl", hash = "sha256:4cbf5cc286130e06a6c9bbefac442431173906dfcc979712183d4adcc01b37ee"}, + {file = "protobuf-7.35.0-cp310-abi3-manylinux2014_x86_64.whl", hash = "sha256:6c0f98f10c8a05ea30f8993dfef2de093d27b490fdae78bb60c8343795d55011"}, + {file = "protobuf-7.35.0-cp310-abi3-win32.whl", hash = "sha256:4c4617b83ade0e279d1d2bfe04025a1adb87f9ed657de038620dc0ff959357f6"}, + {file = "protobuf-7.35.0-cp310-abi3-win_amd64.whl", hash = "sha256:f05bcadf9a2a6b8dda047007075135fb7d08c73d9177aabc067e1be46881a201"}, + {file = "protobuf-7.35.0-py3-none-any.whl", hash = "sha256:c13f325cf242bad135c350629eeb5d54b24228eb472fb3e2e9ebbd4c5dc20ca0"}, + {file = "protobuf-7.35.0.tar.gz", hash = "sha256:a2efd84605f41e559f1881b0912b44099d0a2ac9bf46b3474823f10fb393b0e6"}, ] [[package]] @@ -849,13 +890,13 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pyparsing" -version = "3.2.3" -description = "pyparsing module - Classes and methods to define and execute parsing grammars" +version = "3.3.2" +description = "pyparsing - Classes and methods to define and execute parsing grammars" optional = false python-versions = ">=3.9" files = [ - {file = "pyparsing-3.2.3-py3-none-any.whl", hash = "sha256:a749938e02d6fd0b59b356ca504a24982314bb090c383e3cf201c95ef7e2bfcf"}, - {file = "pyparsing-3.2.3.tar.gz", hash = "sha256:b9c13f1ab8b3b542f72e28f634bad4de758ab3ce4546e4301970ad6fa77c38be"}, + {file = "pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d"}, + {file = "pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc"}, ] [package.extras] @@ -921,13 +962,13 @@ python-dotenv = ">=0.9.1" [[package]] name = "pytest-xdist" -version = "3.6.1" +version = "3.8.0" description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pytest_xdist-3.6.1-py3-none-any.whl", hash = "sha256:9ed4adfb68a016610848639bb7e02c9352d5d9f03d04809919e2dafc3be4cca7"}, - {file = "pytest_xdist-3.6.1.tar.gz", hash = "sha256:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d"}, + {file = "pytest_xdist-3.8.0-py3-none-any.whl", hash = "sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88"}, + {file = "pytest_xdist-3.8.0.tar.gz", hash = "sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1"}, ] [package.dependencies] @@ -969,13 +1010,13 @@ cli = ["click (>=5.0)"] [[package]] name = "rich" -version = "14.2.0" +version = "15.0.0" description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" optional = false -python-versions = ">=3.8.0" +python-versions = ">=3.9.0" files = [ - {file = "rich-14.2.0-py3-none-any.whl", hash = "sha256:76bc51fe2e57d2b1be1f96c524b890b816e334ab4c1e45888799bfaab0021edd"}, - {file = "rich-14.2.0.tar.gz", hash = "sha256:73ff50c7c0c1c77c8243079283f4edb376f0f6442433aecb8ce7e6d0b92d1fe4"}, + {file = "rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb"}, + {file = "rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36"}, ] [package.dependencies] @@ -1014,46 +1055,80 @@ files = [ [[package]] name = "six" -version = "1.16.0" +version = "1.17.0" description = "Python 2 and 3 compatibility utilities" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, - {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, -] - -[[package]] -name = "sniffio" -version = "1.3.1" -description = "Sniff out which async library your code is running under" -optional = false -python-versions = ">=3.7" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ - {file = "sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2"}, - {file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"}, + {file = "six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274"}, + {file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"}, ] [[package]] name = "tomli" -version = "2.0.1" +version = "2.4.1" description = "A lil' TOML parser" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, + {file = "tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30"}, + {file = "tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a"}, + {file = "tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076"}, + {file = "tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9"}, + {file = "tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c"}, + {file = "tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc"}, + {file = "tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049"}, + {file = "tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e"}, + {file = "tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece"}, + {file = "tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a"}, + {file = "tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085"}, + {file = "tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9"}, + {file = "tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5"}, + {file = "tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585"}, + {file = "tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1"}, + {file = "tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917"}, + {file = "tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9"}, + {file = "tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257"}, + {file = "tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54"}, + {file = "tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a"}, + {file = "tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897"}, + {file = "tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f"}, + {file = "tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d"}, + {file = "tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5"}, + {file = "tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd"}, + {file = "tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36"}, + {file = "tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd"}, + {file = "tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf"}, + {file = "tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac"}, + {file = "tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662"}, + {file = "tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853"}, + {file = "tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15"}, + {file = "tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba"}, + {file = "tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6"}, + {file = "tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7"}, + {file = "tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232"}, + {file = "tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4"}, + {file = "tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c"}, + {file = "tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d"}, + {file = "tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41"}, + {file = "tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c"}, + {file = "tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f"}, + {file = "tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8"}, + {file = "tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26"}, + {file = "tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396"}, + {file = "tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe"}, + {file = "tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f"}, ] [[package]] name = "typing-extensions" -version = "4.12.2" -description = "Backported and Experimental Type Hints for Python 3.8+" +version = "4.15.0" +description = "Backported and Experimental Type Hints for Python 3.9+" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, - {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, + {file = "typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548"}, + {file = "typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"}, ] [[package]] @@ -1073,4 +1148,4 @@ bracex = ">=2.1.1" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "a721caa46b51d44bb130b27e81b7225970cc58fb0bd3936d9ea44bdc18f472fb" +content-hash = "eaf5b7c74ed5b658d308d5ca93601080221ae823e6881c04b06b287b964f2d5f" diff --git a/python/pyproject.toml b/python/pyproject.toml index e17b0f9d..f6e355d1 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -14,7 +14,7 @@ python = "^3.10" httpx = ">=0.20.0, <1.0.0" attrs = ">=21.3.0" -e2b = "^2.20.3" +e2b = "^2.23.1" [tool.poetry.group.dev.dependencies] pytest = "^9.0.3" From 0b3906db64e00f73fe7a961d302a945d9f54b4bf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 22 May 2026 20:07:26 +0000 Subject: [PATCH 57/83] [skip ci] Release new versions --- .changeset/update-e2b-deps.md | 22 ---------------------- js/package.json | 2 +- python/package.json | 2 +- python/pyproject.toml | 2 +- 4 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 .changeset/update-e2b-deps.md diff --git a/.changeset/update-e2b-deps.md b/.changeset/update-e2b-deps.md deleted file mode 100644 index 56162e1b..00000000 --- a/.changeset/update-e2b-deps.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -'@e2b/code-interpreter': minor -'@e2b/code-interpreter-python': minor ---- - -Update e2b SDK versions - -Remove `Sandbox.betaCreate` (JS) and `Sandbox.beta_create` (Python). These methods were a beta of the `lifecycle` configuration that has since shipped on `Sandbox.create`. Migrate by calling `Sandbox.create` with the `lifecycle` option: - -```ts -// before -await Sandbox.betaCreate({ autoPause: true }) -// after -await Sandbox.create({ lifecycle: { onTimeout: 'pause' } }) -``` - -```python -# before -Sandbox.beta_create(auto_pause=True) -# after -Sandbox.create(lifecycle={"on_timeout": "pause"}) -``` diff --git a/js/package.json b/js/package.json index 340e9816..4b659b1f 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "@e2b/code-interpreter", - "version": "2.4.2", + "version": "2.5.0", "packageManager": "pnpm@9.15.9", "description": "E2B Code Interpreter - Stateful code execution", "homepage": "https://e2b.dev", diff --git a/python/package.json b/python/package.json index 5f6b1265..5530a546 100644 --- a/python/package.json +++ b/python/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-python", "private": true, - "version": "2.6.2", + "version": "2.7.0", "packageManager": "pnpm@9.15.9", "scripts": { "test": "poetry run pytest -n 4 --verbose -x", diff --git a/python/pyproject.toml b/python/pyproject.toml index f6e355d1..46cdb32e 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "e2b-code-interpreter" -version = "2.6.2" +version = "2.7.0" description = "E2B Code Interpreter - Stateful code execution" authors = ["e2b "] license = "MIT" From 889859552977832595b6e996eecfb90b4de10af4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 23:44:16 -0700 Subject: [PATCH 58/83] Bump the pip group across 3 directories with 1 update (#248) * Bump the pip group across 3 directories with 1 update Bumps the pip group with 1 update in the /chart_data_extractor directory: [pillow](https://github.com/python-pillow/Pillow). Bumps the pip group with 1 update in the /python directory: [pillow](https://github.com/python-pillow/Pillow). Bumps the pip group with 1 update in the /template directory: [pillow](https://github.com/python-pillow/Pillow). Updates `pillow` from 12.1.1 to 12.2.0 - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/12.1.1...12.2.0) Updates `pillow` from 12.1.1 to 12.2.0 - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/12.1.1...12.2.0) Updates `pillow` from 12.1.1 to 12.2.0 - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](https://github.com/python-pillow/Pillow/compare/12.1.1...12.2.0) --- updated-dependencies: - dependency-name: pillow dependency-version: 12.2.0 dependency-type: indirect dependency-group: pip - dependency-name: pillow dependency-version: 12.2.0 dependency-type: indirect dependency-group: pip - dependency-name: pillow dependency-version: 12.2.0 dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] * chore: add changeset --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Novak --- .changeset/orange-ghosts-invent.md | 6 ++ chart_data_extractor/poetry.lock | 92 ++---------------------------- 2 files changed, 10 insertions(+), 88 deletions(-) create mode 100644 .changeset/orange-ghosts-invent.md diff --git a/.changeset/orange-ghosts-invent.md b/.changeset/orange-ghosts-invent.md new file mode 100644 index 00000000..9b041894 --- /dev/null +++ b/.changeset/orange-ghosts-invent.md @@ -0,0 +1,6 @@ +--- +'@e2b/code-interpreter-template': patch +--- + +perf(template): defer heavy imports +chore: bump dependencies diff --git a/chart_data_extractor/poetry.lock b/chart_data_extractor/poetry.lock index 41fadde6..1ccee7bf 100644 --- a/chart_data_extractor/poetry.lock +++ b/chart_data_extractor/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. [[package]] name = "annotated-types" @@ -133,7 +133,7 @@ description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" groups = ["dev"] -markers = "python_version < \"3.11\"" +markers = "python_version == \"3.10\"" files = [ {file = "exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598"}, {file = "exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219"}, @@ -440,7 +440,6 @@ description = "Fundamental package for array computing in Python" optional = false python-versions = ">=3.10" groups = ["main"] -markers = "python_version < \"3.13\"" files = [ {file = "numpy-2.2.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b412caa66f72040e6d268491a59f2c43bf03eb6c96dd8f0307829feb7fa2b6fb"}, {file = "numpy-2.2.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8e41fd67c52b86603a91c1a505ebaef50b3314de0213461c7a6e99c9a3beff90"}, @@ -499,89 +498,6 @@ files = [ {file = "numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd"}, ] -[[package]] -name = "numpy" -version = "2.4.3" -description = "Fundamental package for array computing in Python" -optional = false -python-versions = ">=3.11" -groups = ["main"] -markers = "python_version >= \"3.13\"" -files = [ - {file = "numpy-2.4.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:33b3bf58ee84b172c067f56aeadc7ee9ab6de69c5e800ab5b10295d54c581adb"}, - {file = "numpy-2.4.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8ba7b51e71c05aa1f9bc3641463cd82308eab40ce0d5c7e1fd4038cbf9938147"}, - {file = "numpy-2.4.3-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:a1988292870c7cb9d0ebb4cc96b4d447513a9644801de54606dc7aabf2b7d920"}, - {file = "numpy-2.4.3-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:23b46bb6d8ecb68b58c09944483c135ae5f0e9b8d8858ece5e4ead783771d2a9"}, - {file = "numpy-2.4.3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a016db5c5dba78fa8fe9f5d80d6708f9c42ab087a739803c0ac83a43d686a470"}, - {file = "numpy-2.4.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:715de7f82e192e8cae5a507a347d97ad17598f8e026152ca97233e3666daaa71"}, - {file = "numpy-2.4.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2ddb7919366ee468342b91dea2352824c25b55814a987847b6c52003a7c97f15"}, - {file = "numpy-2.4.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a315e5234d88067f2d97e1f2ef670a7569df445d55400f1e33d117418d008d52"}, - {file = "numpy-2.4.3-cp311-cp311-win32.whl", hash = "sha256:2b3f8d2c4589b1a2028d2a770b0fc4d1f332fb5e01521f4de3199a896d158ddd"}, - {file = "numpy-2.4.3-cp311-cp311-win_amd64.whl", hash = "sha256:77e76d932c49a75617c6d13464e41203cd410956614d0a0e999b25e9e8d27eec"}, - {file = "numpy-2.4.3-cp311-cp311-win_arm64.whl", hash = "sha256:eb610595dd91560905c132c709412b512135a60f1851ccbd2c959e136431ff67"}, - {file = "numpy-2.4.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:61b0cbabbb6126c8df63b9a3a0c4b1f44ebca5e12ff6997b80fcf267fb3150ef"}, - {file = "numpy-2.4.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7395e69ff32526710748f92cd8c9849b361830968ea3e24a676f272653e8983e"}, - {file = "numpy-2.4.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:abdce0f71dcb4a00e4e77f3faf05e4616ceccfe72ccaa07f47ee79cda3b7b0f4"}, - {file = "numpy-2.4.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:48da3a4ee1336454b07497ff7ec83903efa5505792c4e6d9bf83d99dc07a1e18"}, - {file = "numpy-2.4.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:32e3bef222ad6b052280311d1d60db8e259e4947052c3ae7dd6817451fc8a4c5"}, - {file = "numpy-2.4.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e7dd01a46700b1967487141a66ac1a3cf0dd8ebf1f08db37d46389401512ca97"}, - {file = "numpy-2.4.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:76f0f283506c28b12bba319c0fab98217e9f9b54e6160e9c79e9f7348ba32e9c"}, - {file = "numpy-2.4.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:737f630a337364665aba3b5a77e56a68cc42d350edd010c345d65a3efa3addcc"}, - {file = "numpy-2.4.3-cp312-cp312-win32.whl", hash = "sha256:26952e18d82a1dbbc2f008d402021baa8d6fc8e84347a2072a25e08b46d698b9"}, - {file = "numpy-2.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:65f3c2455188f09678355f5cae1f959a06b778bc66d535da07bf2ef20cd319d5"}, - {file = "numpy-2.4.3-cp312-cp312-win_arm64.whl", hash = "sha256:2abad5c7fef172b3377502bde47892439bae394a71bc329f31df0fd829b41a9e"}, - {file = "numpy-2.4.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b346845443716c8e542d54112966383b448f4a3ba5c66409771b8c0889485dd3"}, - {file = "numpy-2.4.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2629289168f4897a3c4e23dc98d6f1731f0fc0fe52fb9db19f974041e4cc12b9"}, - {file = "numpy-2.4.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:bb2e3cf95854233799013779216c57e153c1ee67a0bf92138acca0e429aefaee"}, - {file = "numpy-2.4.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:7f3408ff897f8ab07a07fbe2823d7aee6ff644c097cc1f90382511fe982f647f"}, - {file = "numpy-2.4.3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:decb0eb8a53c3b009b0962378065589685d66b23467ef5dac16cbe818afde27f"}, - {file = "numpy-2.4.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5f51900414fc9204a0e0da158ba2ac52b75656e7dce7e77fb9f84bfa343b4cc"}, - {file = "numpy-2.4.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6bd06731541f89cdc01b261ba2c9e037f1543df7472517836b78dfb15bd6e476"}, - {file = "numpy-2.4.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:22654fe6be0e5206f553a9250762c653d3698e46686eee53b399ab90da59bd92"}, - {file = "numpy-2.4.3-cp313-cp313-win32.whl", hash = "sha256:d71e379452a2f670ccb689ec801b1218cd3983e253105d6e83780967e899d687"}, - {file = "numpy-2.4.3-cp313-cp313-win_amd64.whl", hash = "sha256:0a60e17a14d640f49146cb38e3f105f571318db7826d9b6fef7e4dce758faecd"}, - {file = "numpy-2.4.3-cp313-cp313-win_arm64.whl", hash = "sha256:c9619741e9da2059cd9c3f206110b97583c7152c1dc9f8aafd4beb450ac1c89d"}, - {file = "numpy-2.4.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:7aa4e54f6469300ebca1d9eb80acd5253cdfa36f2c03d79a35883687da430875"}, - {file = "numpy-2.4.3-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:d1b90d840b25874cf5cd20c219af10bac3667db3876d9a495609273ebe679070"}, - {file = "numpy-2.4.3-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:a749547700de0a20a6718293396ec237bb38218049cfce788e08fcb716e8cf73"}, - {file = "numpy-2.4.3-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:94f3c4a151a2e529adf49c1d54f0f57ff8f9b233ee4d44af623a81553ab86368"}, - {file = "numpy-2.4.3-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:22c31dc07025123aedf7f2db9e91783df13f1776dc52c6b22c620870dc0fab22"}, - {file = "numpy-2.4.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:148d59127ac95979d6f07e4d460f934ebdd6eed641db9c0db6c73026f2b2101a"}, - {file = "numpy-2.4.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:a97cbf7e905c435865c2d939af3d93f99d18eaaa3cabe4256f4304fb51604349"}, - {file = "numpy-2.4.3-cp313-cp313t-win32.whl", hash = "sha256:be3b8487d725a77acccc9924f65fd8bce9af7fac8c9820df1049424a2115af6c"}, - {file = "numpy-2.4.3-cp313-cp313t-win_amd64.whl", hash = "sha256:1ec84fd7c8e652b0f4aaaf2e6e9cc8eaa9b1b80a537e06b2e3a2fb176eedcb26"}, - {file = "numpy-2.4.3-cp313-cp313t-win_arm64.whl", hash = "sha256:120df8c0a81ebbf5b9020c91439fccd85f5e018a927a39f624845be194a2be02"}, - {file = "numpy-2.4.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:5884ce5c7acfae1e4e1b6fde43797d10aa506074d25b531b4f54bde33c0c31d4"}, - {file = "numpy-2.4.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:297837823f5bc572c5f9379b0c9f3a3365f08492cbdc33bcc3af174372ebb168"}, - {file = "numpy-2.4.3-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:a111698b4a3f8dcbe54c64a7708f049355abd603e619013c346553c1fd4ca90b"}, - {file = "numpy-2.4.3-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:4bd4741a6a676770e0e97fe9ab2e51de01183df3dcbcec591d26d331a40de950"}, - {file = "numpy-2.4.3-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:54f29b877279d51e210e0c80709ee14ccbbad647810e8f3d375561c45ef613dd"}, - {file = "numpy-2.4.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:679f2a834bae9020f81534671c56fd0cc76dd7e5182f57131478e23d0dc59e24"}, - {file = "numpy-2.4.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:d84f0f881cb2225c2dfd7f78a10a5645d487a496c6668d6cc39f0f114164f3d0"}, - {file = "numpy-2.4.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:d213c7e6e8d211888cc359bab7199670a00f5b82c0978b9d1c75baf1eddbeac0"}, - {file = "numpy-2.4.3-cp314-cp314-win32.whl", hash = "sha256:52077feedeff7c76ed7c9f1a0428558e50825347b7545bbb8523da2cd55c547a"}, - {file = "numpy-2.4.3-cp314-cp314-win_amd64.whl", hash = "sha256:0448e7f9caefb34b4b7dd2b77f21e8906e5d6f0365ad525f9f4f530b13df2afc"}, - {file = "numpy-2.4.3-cp314-cp314-win_arm64.whl", hash = "sha256:b44fd60341c4d9783039598efadd03617fa28d041fc37d22b62d08f2027fa0e7"}, - {file = "numpy-2.4.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0a195f4216be9305a73c0e91c9b026a35f2161237cf1c6de9b681637772ea657"}, - {file = "numpy-2.4.3-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:cd32fbacb9fd1bf041bf8e89e4576b6f00b895f06d00914820ae06a616bdfef7"}, - {file = "numpy-2.4.3-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:2e03c05abaee1f672e9d67bc858f300b5ccba1c21397211e8d77d98350972093"}, - {file = "numpy-2.4.3-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7d1ce23cce91fcea443320a9d0ece9b9305d4368875bab09538f7a5b4131938a"}, - {file = "numpy-2.4.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c59020932feb24ed49ffd03704fbab89f22aa9c0d4b180ff45542fe8918f5611"}, - {file = "numpy-2.4.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:9684823a78a6cd6ad7511fc5e25b07947d1d5b5e2812c93fe99d7d4195130720"}, - {file = "numpy-2.4.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0200b25c687033316fb39f0ff4e3e690e8957a2c3c8d22499891ec58c37a3eb5"}, - {file = "numpy-2.4.3-cp314-cp314t-win32.whl", hash = "sha256:5e10da9e93247e554bb1d22f8edc51847ddd7dde52d85ce31024c1b4312bfba0"}, - {file = "numpy-2.4.3-cp314-cp314t-win_amd64.whl", hash = "sha256:45f003dbdffb997a03da2d1d0cb41fbd24a87507fb41605c0420a3db5bd4667b"}, - {file = "numpy-2.4.3-cp314-cp314t-win_arm64.whl", hash = "sha256:4d382735cecd7bcf090172489a525cd7d4087bc331f7df9f60ddc9a296cf208e"}, - {file = "numpy-2.4.3-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:c6b124bfcafb9e8d3ed09130dbee44848c20b3e758b6bbf006e641778927c028"}, - {file = "numpy-2.4.3-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:76dbb9d4e43c16cf9aa711fcd8de1e2eeb27539dcefb60a1d5e9f12fae1d1ed8"}, - {file = "numpy-2.4.3-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:29363fbfa6f8ee855d7569c96ce524845e3d726d6c19b29eceec7dd555dab152"}, - {file = "numpy-2.4.3-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:bc71942c789ef415a37f0d4eab90341425a00d538cd0642445d30b41023d3395"}, - {file = "numpy-2.4.3-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7e58765ad74dcebd3ef0208a5078fba32dc8ec3578fe84a604432950cd043d79"}, - {file = "numpy-2.4.3-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e236dbda4e1d319d681afcbb136c0c4a8e0f1a5c58ceec2adebb547357fe857"}, - {file = "numpy-2.4.3-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:4b42639cdde6d24e732ff823a3fa5b701d8acad89c4142bc1d0bd6dc85200ba5"}, - {file = "numpy-2.4.3.tar.gz", hash = "sha256:483a201202b73495f00dbc83796c6ae63137a9bdade074f7648b3e32613412dd"}, -] - [[package]] name = "packaging" version = "24.1" @@ -992,7 +908,7 @@ description = "A lil' TOML parser" optional = false python-versions = ">=3.8" groups = ["dev"] -markers = "python_version < \"3.11\"" +markers = "python_version == \"3.10\"" files = [ {file = "tomli-2.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b5ef256a3fd497d4973c11bf142e9ed78b150d36f5773f1ca6088c230ffc5867"}, {file = "tomli-2.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5572e41282d5268eb09a697c89a7bee84fae66511f87533a6f88bd2f7b652da9"}, @@ -1054,7 +970,7 @@ files = [ {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] -markers = {dev = "python_version < \"3.11\""} +markers = {dev = "python_version == \"3.10\""} [metadata] lock-version = "2.1" From 7259623dd5100b0f1f09c1066ce3a1c8b070d752 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 26 May 2026 06:58:16 +0000 Subject: [PATCH 59/83] [skip ci] Release new versions --- .changeset/orange-ghosts-invent.md | 6 ------ template/package.json | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 .changeset/orange-ghosts-invent.md diff --git a/.changeset/orange-ghosts-invent.md b/.changeset/orange-ghosts-invent.md deleted file mode 100644 index 9b041894..00000000 --- a/.changeset/orange-ghosts-invent.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2b/code-interpreter-template': patch ---- - -perf(template): defer heavy imports -chore: bump dependencies diff --git a/template/package.json b/template/package.json index b72b91ec..627797d6 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.4.1", + "version": "0.4.2", "scripts": { "lint": "ruff check .", "format": "ruff format ." From 842dec49dbce56a849997ee28a1a27b99ece71d9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:57:26 +0200 Subject: [PATCH 60/83] Update dependency ipython to v9.14.0 (#233) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 944167f4..4bc5e58f 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -1,7 +1,7 @@ # Jupyter server requirements jupyter-server==2.16.0 ipykernel==6.29.5 -ipython==9.2.0 +ipython==9.14.0 orjson==3.11.7 pandas==2.2.3 From 60c6c318569a3dfac0c297736cc439eb0d85ccef Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 19:20:01 +0200 Subject: [PATCH 61/83] Update dependency ipykernel to v6.31.0 (#230) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 4bc5e58f..dfaeb75f 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -1,6 +1,6 @@ # Jupyter server requirements jupyter-server==2.16.0 -ipykernel==6.29.5 +ipykernel==6.31.0 ipython==9.14.0 orjson==3.11.7 From 8deea7556ca3a8b7745b2ec14384729bb1265764 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 21:07:59 +0200 Subject: [PATCH 62/83] Bump the npm_and_yarn group across 2 directories with 1 update (#275) Bumps the npm_and_yarn group with 1 update in the / directory: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Bumps the npm_and_yarn group with 1 update in the /js directory: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `vitest` from 3.2.4 to 4.1.0 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest) Updates `vitest` from 3.2.4 to 4.1.0 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.0 dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vitest dependency-version: 4.1.0 dependency-type: direct:development dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- js/package.json | 2 +- pnpm-lock.yaml | 592 ++++++++++++++++++++++-------------------------- 2 files changed, 267 insertions(+), 327 deletions(-) diff --git a/js/package.json b/js/package.json index 4b659b1f..9421424a 100644 --- a/js/package.json +++ b/js/package.json @@ -44,7 +44,7 @@ "npm-check-updates": "^17.1.14", "tsup": "^8.5.1", "typescript": "^5.5.3", - "vitest": "^3.2.4" + "vitest": "^4.1.0" }, "files": [ "dist", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 462277e6..2d43c651 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,13 +65,13 @@ importers: version: 17.1.18 tsup: specifier: ^8.5.1 - version: 8.5.1(jiti@2.4.2)(postcss@8.5.12)(typescript@5.7.3)(yaml@2.7.0) + version: 8.5.1(jiti@2.4.2)(postcss@8.5.15)(typescript@5.7.3)(yaml@2.7.0) typescript: specifier: ^5.5.3 version: 5.7.3 vitest: - specifier: ^3.2.4 - version: 3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) + specifier: ^4.1.0 + version: 4.1.0(@types/node@20.19.37)(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)) python: {} @@ -481,8 +481,8 @@ packages: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} - '@jridgewell/sourcemap-codec@1.5.0': - resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} @@ -522,8 +522,8 @@ packages: cpu: [arm] os: [android] - '@rollup/rollup-android-arm-eabi@4.60.2': - resolution: {integrity: sha512-dnlp69efPPg6Uaw2dVqzWRfAWRnYVb1XJ8CyyhIbZeaq4CA5/mLeZ1IEt9QqQxmbdvagjLIm2ZL8BxXv5lH4Yw==} + '@rollup/rollup-android-arm-eabi@4.61.0': + resolution: {integrity: sha512-dnxczajOqt0gesZlN5pGQ1s1imQVrsmCw5G2Ci4oM+0WvNz3pyRnlWrT7McoZIb8VlFwCawdmbWRmxRn7HI+VQ==} cpu: [arm] os: [android] @@ -532,8 +532,8 @@ packages: cpu: [arm64] os: [android] - '@rollup/rollup-android-arm64@4.60.2': - resolution: {integrity: sha512-OqZTwDRDchGRHHm/hwLOL7uVPB9aUvI0am/eQuWMNyFHf5PSEQmyEeYYheA0EPPKUO/l0uigCp+iaTjoLjVoHg==} + '@rollup/rollup-android-arm64@4.61.0': + resolution: {integrity: sha512-Bp3JpGP00Vu3f238ivRrjf7z3xSzVPXqCmaJYA9t2c+c8vKYvOzmXF7LkkeUalTEGd6cZcSWe+PFIP3Vy48fRg==} cpu: [arm64] os: [android] @@ -542,8 +542,8 @@ packages: cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-arm64@4.60.2': - resolution: {integrity: sha512-UwRE7CGpvSVEQS8gUMBe1uADWjNnVgP3Iusyda1nSRwNDCsRjnGc7w6El6WLQsXmZTbLZx9cecegumcitNfpmA==} + '@rollup/rollup-darwin-arm64@4.61.0': + resolution: {integrity: sha512-zaYIpr670mUmmZ1tVzUFplbQbG7h3Gugx3L5FoqhsC2m/YnLlR1a7zVLmXNPy+iY1tFPEbNG+HHBXZGyId0G5w==} cpu: [arm64] os: [darwin] @@ -552,8 +552,8 @@ packages: cpu: [x64] os: [darwin] - '@rollup/rollup-darwin-x64@4.60.2': - resolution: {integrity: sha512-gjEtURKLCC5VXm1I+2i1u9OhxFsKAQJKTVB8WvDAHF+oZlq0GTVFOlTlO1q3AlCTE/DF32c16ESvfgqR7343/g==} + '@rollup/rollup-darwin-x64@4.61.0': + resolution: {integrity: sha512-+P49fvkv2dSoeevUW+lgZ/I2JHSsJCK1Lyjj7Cu6E4UHG4tS9XIefzIjo5qhgELjAclnen1rLzK2PMKJdo+Dyg==} cpu: [x64] os: [darwin] @@ -562,8 +562,8 @@ packages: cpu: [arm64] os: [freebsd] - '@rollup/rollup-freebsd-arm64@4.60.2': - resolution: {integrity: sha512-Bcl6CYDeAgE70cqZaMojOi/eK63h5Me97ZqAQoh77VPjMysA/4ORQBRGo3rRy45x4MzVlU9uZxs8Uwy7ZaKnBw==} + '@rollup/rollup-freebsd-arm64@4.61.0': + resolution: {integrity: sha512-l3FAAOyKJXH2ea6KNFN+MMgC/rnE94YGLXs2ehYqDcCoHt1DpvgWX75BhUJxN38XojP7Ul+4H8PRn7EdyqSDrw==} cpu: [arm64] os: [freebsd] @@ -572,8 +572,8 @@ packages: cpu: [x64] os: [freebsd] - '@rollup/rollup-freebsd-x64@4.60.2': - resolution: {integrity: sha512-LU+TPda3mAE2QB0/Hp5VyeKJivpC6+tlOXd1VMoXV/YFMvk/MNk5iXeBfB4MQGRWyOYVJ01625vjkr0Az98OJQ==} + '@rollup/rollup-freebsd-x64@4.61.0': + resolution: {integrity: sha512-VokPN3TSctKj65cyCNPaUh4vMFA8awxOot/0sp+4J7ZlNRKQEhXhawqPwajoi8H5ZFt61i0ugZJuTKXBjGJ17Q==} cpu: [x64] os: [freebsd] @@ -582,8 +582,8 @@ packages: cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-gnueabihf@4.60.2': - resolution: {integrity: sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg==} + '@rollup/rollup-linux-arm-gnueabihf@4.61.0': + resolution: {integrity: sha512-DxH0P3wxm+Yzs/p3zrk9dw1rURu8p0Nv5+MRK/L7OtnLNg5rLZraSBFZ8iUXOd9f2BlhJyEpIZUH/emjq4UJ4g==} cpu: [arm] os: [linux] @@ -592,8 +592,8 @@ packages: cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.60.2': - resolution: {integrity: sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw==} + '@rollup/rollup-linux-arm-musleabihf@4.61.0': + resolution: {integrity: sha512-T6ZvMNe84kAz6TBWHC7hGAoEtzP1LWYw/AqayGWEF6uISt3Abk/st06LqRD9THd7Xz3NxzurUpzAuEAUbZf+nw==} cpu: [arm] os: [linux] @@ -602,8 +602,8 @@ packages: cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.60.2': - resolution: {integrity: sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg==} + '@rollup/rollup-linux-arm64-gnu@4.61.0': + resolution: {integrity: sha512-q/4hzvQkDs8b4jIBab1pnLiiM0ayTZsN2amBFPDzuyZxjEd4wDwx0UJFYM3cOZzSf5Kw8fnWSprJzIBMkcR44Q==} cpu: [arm64] os: [linux] @@ -612,18 +612,18 @@ packages: cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.60.2': - resolution: {integrity: sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA==} + '@rollup/rollup-linux-arm64-musl@4.61.0': + resolution: {integrity: sha512-vvYWX3akdEAY6km+9wAqFDnk6pQsbJKVnj7xawcvs/+fdlYBGp+U+Qq/lLfpIxYIZvZLHMAKD9HLdacSx/r3dw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-loong64-gnu@4.60.2': - resolution: {integrity: sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A==} + '@rollup/rollup-linux-loong64-gnu@4.61.0': + resolution: {integrity: sha512-DePa5cqOxDP/Zp0VOXpeWaGew5iIv5DXp9NYbzkX5PFQyWVX9184WCTh3hvr/7lhXo8ZVlbFLkz8+o/q1dU6gA==} cpu: [loong64] os: [linux] - '@rollup/rollup-linux-loong64-musl@4.60.2': - resolution: {integrity: sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q==} + '@rollup/rollup-linux-loong64-musl@4.61.0': + resolution: {integrity: sha512-LV8aWMB8UChglMCEzs7RkN0GsH29RJaLLqwm9fCIjlqwxQTiWAqNcc7wjBkH31hV0PU/yVxGYvrYsgfea2qw6g==} cpu: [loong64] os: [linux] @@ -637,13 +637,13 @@ packages: cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-ppc64-gnu@4.60.2': - resolution: {integrity: sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw==} + '@rollup/rollup-linux-ppc64-gnu@4.61.0': + resolution: {integrity: sha512-QoNSnwQtaeNu5grdBbsL0tt1uyl5EnS8DA8Mr3nluMXbhdQNyhN+G4tBax7VCdxLKj8YJ0/4OO9Ho84jMnJtKA==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-ppc64-musl@4.60.2': - resolution: {integrity: sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ==} + '@rollup/rollup-linux-ppc64-musl@4.61.0': + resolution: {integrity: sha512-/zZp5MKapIIApE8trN8qLGNSiRN9TUoaUZ1cmVu4XnVdd5LQLOXTtyi+vtfUbNnT3iyjzpPqYeKXmvJ+gJGYWw==} cpu: [ppc64] os: [linux] @@ -652,8 +652,8 @@ packages: cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.60.2': - resolution: {integrity: sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A==} + '@rollup/rollup-linux-riscv64-gnu@4.61.0': + resolution: {integrity: sha512-RbrzcD3aJ1k3UbtMRRBNwojdVVyXjuVAFTfn/xPa6EEl6GE9Sm/akPgFTb9aAC9pMKGJ6CtWxaGrqWcabH+ySg==} cpu: [riscv64] os: [linux] @@ -662,8 +662,8 @@ packages: cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-riscv64-musl@4.60.2': - resolution: {integrity: sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ==} + '@rollup/rollup-linux-riscv64-musl@4.61.0': + resolution: {integrity: sha512-ZF+onDsBso8PJf1XaG9lB+O9RnBpKGnY6OrzC4CSHrtC1jb6jWLTKK4bRqdoCXHd22gyr2hiYmEAm8Wns/BOCw==} cpu: [riscv64] os: [linux] @@ -672,8 +672,8 @@ packages: cpu: [s390x] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.60.2': - resolution: {integrity: sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA==} + '@rollup/rollup-linux-s390x-gnu@4.61.0': + resolution: {integrity: sha512-Atk0aSIk5Zx2Wuh9dgRQgLP0Koc8hOeYpbWryMXyk8G8/HmPkwPPkMqIIDhrXHHYqfUzSJA/I7IWSBv8xSmRBA==} cpu: [s390x] os: [linux] @@ -682,8 +682,8 @@ packages: cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.60.2': - resolution: {integrity: sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ==} + '@rollup/rollup-linux-x64-gnu@4.61.0': + resolution: {integrity: sha512-0uMOcf3eZ5K+K4cYHkdxShFMPlPXCOdfDFEFn9dNYAEEd2cVvmOfH7zFgRVoDgmtQ1m9k5q7qfrHzyMAubKYUA==} cpu: [x64] os: [linux] @@ -692,18 +692,18 @@ packages: cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.60.2': - resolution: {integrity: sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw==} + '@rollup/rollup-linux-x64-musl@4.61.0': + resolution: {integrity: sha512-mvFtE4A/t/7hRJ7X8Ozmu8FsIkAUat2nzl12pgU337BRmq87AQUJztwHz2Zv5/tjo9/C95E66CK03SI/ToEDJw==} cpu: [x64] os: [linux] - '@rollup/rollup-openbsd-x64@4.60.2': - resolution: {integrity: sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg==} + '@rollup/rollup-openbsd-x64@4.61.0': + resolution: {integrity: sha512-z9b9+aTxvt8n2rNltMPvyaUfB8NJ+CVyOrGK/MdIKHx7B+lXmZpm/XbRsU7Rpf3fRqJ2uS6mBJiJveCtq8LHDg==} cpu: [x64] os: [openbsd] - '@rollup/rollup-openharmony-arm64@4.60.2': - resolution: {integrity: sha512-NetAg5iO2uN7eB8zE5qrZ3CSil+7IJt4WDFLcC75Ymywq1VZVD6qJ6EvNLjZ3rEm6gB7XW5JdT60c6MN35Z85Q==} + '@rollup/rollup-openharmony-arm64@4.61.0': + resolution: {integrity: sha512-jXaXFqKMehsOc+g8R6oo33RRC6w07G9jDBxAE5eAKX7mOcCbZloYIPNhfG9Wl+P9O9IWHFO4OJgPi1Ml2qkt7w==} cpu: [arm64] os: [openharmony] @@ -712,8 +712,8 @@ packages: cpu: [arm64] os: [win32] - '@rollup/rollup-win32-arm64-msvc@4.60.2': - resolution: {integrity: sha512-NCYhOotpgWZ5kdxCZsv6Iudx0wX8980Q/oW4pNFNihpBKsDbEA1zpkfxJGC0yugsUuyDZ7gL37dbzwhR0VI7pQ==} + '@rollup/rollup-win32-arm64-msvc@4.61.0': + resolution: {integrity: sha512-OXNWVFocS2IA4+QplhTZZ2a+8hPZR7T8KuozsNmJKK8y7cp83StHvGksfHzPG3wczWTczyWHVQuqeiTUbjiyBg==} cpu: [arm64] os: [win32] @@ -722,13 +722,13 @@ packages: cpu: [ia32] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.60.2': - resolution: {integrity: sha512-RXsaOqXxfoUBQoOgvmmijVxJnW2IGB0eoMO7F8FAjaj0UTywUO/luSqimWBJn04WNgUkeNhh7fs7pESXajWmkg==} + '@rollup/rollup-win32-ia32-msvc@4.61.0': + resolution: {integrity: sha512-AlAbNtBO637LxSldqV43z0FfXoGfl2TW1DgAg/bs7aQswFbDewz2SJm3BUhiGfbOVtW571xbc9p+REdxhyN/Eg==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-gnu@4.60.2': - resolution: {integrity: sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA==} + '@rollup/rollup-win32-x64-gnu@4.61.0': + resolution: {integrity: sha512-QRSrQXyJ1M4tjNXdR0/G/IgV6lzfQQJYBjlWIEYkY2Xs86DRl/iEpQ4blMDjJxSl7n19eDKKXMg0AmuBVYy8pQ==} cpu: [x64] os: [win32] @@ -737,16 +737,20 @@ packages: cpu: [x64] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.60.2': - resolution: {integrity: sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA==} + '@rollup/rollup-win32-x64-msvc@4.61.0': + resolution: {integrity: sha512-tkuFxhvKO/HlGd0VsINF6vHSYH8AF8W0TcNxKDK6JZmrehngFj78pToc8iemtnvwilDjs2G/qSzYFhe9U8q+fw==} cpu: [x64] os: [win32] '@snyk/github-codeowners@1.1.0': resolution: {integrity: sha512-lGFf08pbkEac0NYgVf4hdANpAgApRjNByLXB+WBip3qj1iendOIyAwP2GKkKbQMNVy2r1xxDf0ssfWscoiC+Vw==} engines: {node: '>=8.10'} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. hasBin: true + '@standard-schema/spec@1.1.0': + resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} + '@stylistic/eslint-plugin-js@1.8.1': resolution: {integrity: sha512-c5c2C8Mos5tTQd+NWpqwEu7VT6SSRooAguFPMj1cp2RkTYl1ynKoXo8MWy3k4rkbzoeYHrqC2UlUzsroAN7wtQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -771,8 +775,8 @@ packages: '@types/estree@1.0.7': resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==} - '@types/estree@1.0.8': - resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} + '@types/estree@1.0.9': + resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -904,35 +908,36 @@ packages: '@ungap/structured-clone@1.3.0': resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} + deprecated: Potential CWE-502 - Update to 1.3.1 or higher - '@vitest/expect@3.2.4': - resolution: {integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==} + '@vitest/expect@4.1.0': + resolution: {integrity: sha512-EIxG7k4wlWweuCLG9Y5InKFwpMEOyrMb6ZJ1ihYu02LVj/bzUwn2VMU+13PinsjRW75XnITeFrQBMH5+dLvCDA==} - '@vitest/mocker@3.2.4': - resolution: {integrity: sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==} + '@vitest/mocker@4.1.0': + resolution: {integrity: sha512-evxREh+Hork43+Y4IOhTo+h5lGmVRyjqI739Rz4RlUPqwrkFFDF6EMvOOYjTx4E8Tl6gyCLRL8Mu7Ry12a13Tw==} peerDependencies: msw: ^2.4.9 - vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0-0 peerDependenciesMeta: msw: optional: true vite: optional: true - '@vitest/pretty-format@3.2.4': - resolution: {integrity: sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==} + '@vitest/pretty-format@4.1.0': + resolution: {integrity: sha512-3RZLZlh88Ib0J7NQTRATfc/3ZPOnSUn2uDBUoGNn5T36+bALixmzphN26OUD3LRXWkJu4H0s5vvUeqBiw+kS0A==} - '@vitest/runner@3.2.4': - resolution: {integrity: sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==} + '@vitest/runner@4.1.0': + resolution: {integrity: sha512-Duvx2OzQ7d6OjchL+trw+aSrb9idh7pnNfxrklo14p3zmNL4qPCDeIJAK+eBKYjkIwG96Bc6vYuxhqDXQOWpoQ==} - '@vitest/snapshot@3.2.4': - resolution: {integrity: sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==} + '@vitest/snapshot@4.1.0': + resolution: {integrity: sha512-0Vy9euT1kgsnj1CHttwi9i9o+4rRLEaPRSOJ5gyv579GJkNpgJK+B4HSv/rAWixx2wdAFci1X4CEPjiu2bXIMg==} - '@vitest/spy@3.2.4': - resolution: {integrity: sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==} + '@vitest/spy@4.1.0': + resolution: {integrity: sha512-pz77k+PgNpyMDv2FV6qmk5ZVau6c3R8HC8v342T2xlFxQKTrSeYw9waIJG8KgV9fFwAtTu4ceRzMivPTH6wSxw==} - '@vitest/utils@3.2.4': - resolution: {integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==} + '@vitest/utils@4.1.0': + resolution: {integrity: sha512-XfPXT6a8TZY3dcGY8EdwsBulFCIw+BeeX0RZn2x/BtiY/75YGh8FeWGG8QISN/WhaqSrE2OrlDgtF8q5uhOTmw==} acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} @@ -1015,9 +1020,9 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - chai@5.2.0: - resolution: {integrity: sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==} - engines: {node: '>=12'} + chai@6.2.2: + resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==} + engines: {node: '>=18'} chalk@4.1.2: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} @@ -1030,10 +1035,6 @@ packages: changeset@0.2.6: resolution: {integrity: sha512-d21ym9zLPOKMVhIa8ulJo5IV3QR2NNdK6BWuwg48qJA0XSQaMeDjo1UGThcTn7YDmU08j3UpKyFNvb3zplk8mw==} - check-error@2.1.1: - resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} - engines: {node: '>= 16'} - chokidar@4.0.3: resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} engines: {node: '>= 14.16.0'} @@ -1074,6 +1075,9 @@ packages: resolution: {integrity: sha512-EiPU8G6dQG0GFHNR8ljnZFki/8a+cQwEQ+7wpxdChl02Q8HXlwEZWD5lqAF8vC2sEC3Tehr8hy7vErz88LHyUA==} engines: {node: ^14.18.0 || >=16.10.0} + convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + cross-spawn@7.0.6: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} @@ -1096,10 +1100,6 @@ packages: supports-color: optional: true - deep-eql@5.0.2: - resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} - engines: {node: '>=6'} - deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -1132,8 +1132,8 @@ packages: resolution: {integrity: sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==} engines: {node: '>=10.13.0'} - es-module-lexer@1.7.0: - resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} + es-module-lexer@2.1.0: + resolution: {integrity: sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==} esbuild@0.27.2: resolution: {integrity: sha512-HyNQImnsOC7X9PMNaCIeAm4ISCQXs5a5YasTXVliKv4uuBo1dKrG0A+uQS8M5eXjVMnLg3WgXaKvprHlFJQffw==} @@ -1205,8 +1205,8 @@ packages: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} - expect-type@1.2.1: - resolution: {integrity: sha512-/kP8CAwxzLVEeFrMm4kMmy4CCDlpipyA7MYLVrdJIkV0fYF0UaigQHRsxHiuY/GEea+bh4KSv3TIlgr+2UL6bw==} + expect-type@1.3.0: + resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==} engines: {node: '>=12.0.0'} extendable-error@0.1.7: @@ -1381,9 +1381,6 @@ packages: resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} engines: {node: '>=10'} - js-tokens@9.0.1: - resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} - js-yaml@3.14.2: resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} hasBin: true @@ -1441,12 +1438,6 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - loupe@3.1.3: - resolution: {integrity: sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==} - - loupe@3.2.1: - resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==} - lru-cache@11.2.7: resolution: {integrity: sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA==} engines: {node: 20 || >=22} @@ -1455,8 +1446,8 @@ packages: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} - magic-string@0.30.17: - resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} @@ -1501,8 +1492,8 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - nanoid@3.3.11: - resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} + nanoid@3.3.12: + resolution: {integrity: sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -1518,6 +1509,9 @@ packages: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} + obug@2.1.1: + resolution: {integrity: sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==} + once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} @@ -1597,23 +1591,19 @@ packages: pathe@2.0.3: resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} - pathval@2.0.0: - resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} - engines: {node: '>= 14.16'} - picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + picomatch@2.3.2: + resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==} engines: {node: '>=8.6'} picomatch@4.0.2: resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} engines: {node: '>=12'} - picomatch@4.0.3: - resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} + picomatch@4.0.4: + resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} engines: {node: '>=12'} pify@4.0.1: @@ -1648,8 +1638,8 @@ packages: yaml: optional: true - postcss@8.5.12: - resolution: {integrity: sha512-W62t/Se6rA0Az3DfCL0AqJwXuKwBeYg6nOaIgzP+xZ7N5BFCI7DYi1qs6ygUYT6rvfi6t9k65UMLJC+PHZpDAA==} + postcss@8.5.15: + resolution: {integrity: sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==} engines: {node: ^10 || ^12 || >=14} prelude-ls@1.2.1: @@ -1702,8 +1692,8 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true - rollup@4.60.2: - resolution: {integrity: sha512-J9qZyW++QK/09NyN/zeO0dG/1GdGfyp9lV8ajHnRVLfo/uFsbji5mHnDgn/qYdUHyCkM2N+8VyspgZclfAh0eQ==} + rollup@4.61.0: + resolution: {integrity: sha512-T9mWdbWfQtp0B5lv/HX+wrhYsmXRlcWnXXmJbXqKJhlRaoS6KMhq0gpyzW4UJfclcxrEdLnTgjT2NjruLONu0g==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -1755,8 +1745,8 @@ packages: stackback@0.0.2: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} - std-env@3.9.0: - resolution: {integrity: sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==} + std-env@4.1.0: + resolution: {integrity: sha512-Rq7ybcX2RuC55r9oaPVEW7/xu3tj8u4GeBYHBWCychFtzMIr86A7e3PPEBPT37sHStKX3+TiX/Fr/ACmJLVlLQ==} strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} @@ -1774,9 +1764,6 @@ packages: resolution: {integrity: sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw==} engines: {node: '>=14.16'} - strip-literal@3.1.0: - resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==} - sucrase@3.35.1: resolution: {integrity: sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==} engines: {node: '>=16 || 14 >=14.17'} @@ -1813,20 +1800,20 @@ packages: tinyexec@0.3.2: resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + tinyexec@1.2.4: + resolution: {integrity: sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==} + engines: {node: '>=18'} + tinyglobby@0.2.15: resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} engines: {node: '>=12.0.0'} - tinypool@1.1.1: - resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==} - engines: {node: ^18.0.0 || >=20.0.0} - - tinyrainbow@2.0.0: - resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==} - engines: {node: '>=14.0.0'} + tinyglobby@0.2.17: + resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} + engines: {node: '>=12.0.0'} - tinyspy@4.0.4: - resolution: {integrity: sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==} + tinyrainbow@3.1.0: + resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==} engines: {node: '>=14.0.0'} to-regex-range@5.0.1: @@ -1901,11 +1888,6 @@ packages: uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} - vite-node@3.2.4: - resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} - hasBin: true - vite@7.3.2: resolution: {integrity: sha512-Bby3NOsna2jsjfLVOHKes8sGwgl4TT0E6vvpYgnAYDIF/tie7MRaFthmKuHx1NSXjiTueXH3do80FMQgvEktRg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -1946,26 +1928,33 @@ packages: yaml: optional: true - vitest@3.2.4: - resolution: {integrity: sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + vitest@4.1.0: + resolution: {integrity: sha512-YbDrMF9jM2Lqc++2530UourxZHmkKLxrs4+mYhEwqWS97WJ7wOYEkcr+QfRgJ3PW9wz3odRijLZjHEaRLTNbqw==} + engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' - '@types/debug': ^4.1.12 - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - '@vitest/browser': 3.2.4 - '@vitest/ui': 3.2.4 + '@opentelemetry/api': ^1.9.0 + '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0 + '@vitest/browser-playwright': 4.1.0 + '@vitest/browser-preview': 4.1.0 + '@vitest/browser-webdriverio': 4.1.0 + '@vitest/ui': 4.1.0 happy-dom: '*' jsdom: '*' + vite: ^6.0.0 || ^7.0.0 || ^8.0.0-0 peerDependenciesMeta: '@edge-runtime/vm': optional: true - '@types/debug': + '@opentelemetry/api': optional: true '@types/node': optional: true - '@vitest/browser': + '@vitest/browser-playwright': + optional: true + '@vitest/browser-preview': + optional: true + '@vitest/browser-webdriverio': optional: true '@vitest/ui': optional: true @@ -2275,19 +2264,19 @@ snapshots: '@jridgewell/gen-mapping@0.3.5': dependencies: '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 '@jridgewell/trace-mapping': 0.3.25 '@jridgewell/resolve-uri@3.1.2': {} '@jridgewell/set-array@1.2.1': {} - '@jridgewell/sourcemap-codec@1.5.0': {} + '@jridgewell/sourcemap-codec@1.5.5': {} '@jridgewell/trace-mapping@0.3.25': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 '@manypkg/find-root@1.1.0': dependencies: @@ -2332,67 +2321,67 @@ snapshots: '@rollup/rollup-android-arm-eabi@4.39.0': optional: true - '@rollup/rollup-android-arm-eabi@4.60.2': + '@rollup/rollup-android-arm-eabi@4.61.0': optional: true '@rollup/rollup-android-arm64@4.39.0': optional: true - '@rollup/rollup-android-arm64@4.60.2': + '@rollup/rollup-android-arm64@4.61.0': optional: true '@rollup/rollup-darwin-arm64@4.39.0': optional: true - '@rollup/rollup-darwin-arm64@4.60.2': + '@rollup/rollup-darwin-arm64@4.61.0': optional: true '@rollup/rollup-darwin-x64@4.39.0': optional: true - '@rollup/rollup-darwin-x64@4.60.2': + '@rollup/rollup-darwin-x64@4.61.0': optional: true '@rollup/rollup-freebsd-arm64@4.39.0': optional: true - '@rollup/rollup-freebsd-arm64@4.60.2': + '@rollup/rollup-freebsd-arm64@4.61.0': optional: true '@rollup/rollup-freebsd-x64@4.39.0': optional: true - '@rollup/rollup-freebsd-x64@4.60.2': + '@rollup/rollup-freebsd-x64@4.61.0': optional: true '@rollup/rollup-linux-arm-gnueabihf@4.39.0': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.60.2': + '@rollup/rollup-linux-arm-gnueabihf@4.61.0': optional: true '@rollup/rollup-linux-arm-musleabihf@4.39.0': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.60.2': + '@rollup/rollup-linux-arm-musleabihf@4.61.0': optional: true '@rollup/rollup-linux-arm64-gnu@4.39.0': optional: true - '@rollup/rollup-linux-arm64-gnu@4.60.2': + '@rollup/rollup-linux-arm64-gnu@4.61.0': optional: true '@rollup/rollup-linux-arm64-musl@4.39.0': optional: true - '@rollup/rollup-linux-arm64-musl@4.60.2': + '@rollup/rollup-linux-arm64-musl@4.61.0': optional: true - '@rollup/rollup-linux-loong64-gnu@4.60.2': + '@rollup/rollup-linux-loong64-gnu@4.61.0': optional: true - '@rollup/rollup-linux-loong64-musl@4.60.2': + '@rollup/rollup-linux-loong64-musl@4.61.0': optional: true '@rollup/rollup-linux-loongarch64-gnu@4.39.0': @@ -2401,67 +2390,67 @@ snapshots: '@rollup/rollup-linux-powerpc64le-gnu@4.39.0': optional: true - '@rollup/rollup-linux-ppc64-gnu@4.60.2': + '@rollup/rollup-linux-ppc64-gnu@4.61.0': optional: true - '@rollup/rollup-linux-ppc64-musl@4.60.2': + '@rollup/rollup-linux-ppc64-musl@4.61.0': optional: true '@rollup/rollup-linux-riscv64-gnu@4.39.0': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.60.2': + '@rollup/rollup-linux-riscv64-gnu@4.61.0': optional: true '@rollup/rollup-linux-riscv64-musl@4.39.0': optional: true - '@rollup/rollup-linux-riscv64-musl@4.60.2': + '@rollup/rollup-linux-riscv64-musl@4.61.0': optional: true '@rollup/rollup-linux-s390x-gnu@4.39.0': optional: true - '@rollup/rollup-linux-s390x-gnu@4.60.2': + '@rollup/rollup-linux-s390x-gnu@4.61.0': optional: true '@rollup/rollup-linux-x64-gnu@4.39.0': optional: true - '@rollup/rollup-linux-x64-gnu@4.60.2': + '@rollup/rollup-linux-x64-gnu@4.61.0': optional: true '@rollup/rollup-linux-x64-musl@4.39.0': optional: true - '@rollup/rollup-linux-x64-musl@4.60.2': + '@rollup/rollup-linux-x64-musl@4.61.0': optional: true - '@rollup/rollup-openbsd-x64@4.60.2': + '@rollup/rollup-openbsd-x64@4.61.0': optional: true - '@rollup/rollup-openharmony-arm64@4.60.2': + '@rollup/rollup-openharmony-arm64@4.61.0': optional: true '@rollup/rollup-win32-arm64-msvc@4.39.0': optional: true - '@rollup/rollup-win32-arm64-msvc@4.60.2': + '@rollup/rollup-win32-arm64-msvc@4.61.0': optional: true '@rollup/rollup-win32-ia32-msvc@4.39.0': optional: true - '@rollup/rollup-win32-ia32-msvc@4.60.2': + '@rollup/rollup-win32-ia32-msvc@4.61.0': optional: true - '@rollup/rollup-win32-x64-gnu@4.60.2': + '@rollup/rollup-win32-x64-gnu@4.61.0': optional: true '@rollup/rollup-win32-x64-msvc@4.39.0': optional: true - '@rollup/rollup-win32-x64-msvc@4.60.2': + '@rollup/rollup-win32-x64-msvc@4.61.0': optional: true '@snyk/github-codeowners@1.1.0': @@ -2470,6 +2459,8 @@ snapshots: ignore: 5.3.1 p-map: 4.0.0 + '@standard-schema/spec@1.1.0': {} + '@stylistic/eslint-plugin-js@1.8.1(eslint@8.57.1)': dependencies: '@types/eslint': 8.56.12 @@ -2503,7 +2494,7 @@ snapshots: '@types/estree@1.0.7': {} - '@types/estree@1.0.8': {} + '@types/estree@1.0.9': {} '@types/json-schema@7.0.15': {} @@ -2684,47 +2675,46 @@ snapshots: '@ungap/structured-clone@1.3.0': {} - '@vitest/expect@3.2.4': + '@vitest/expect@4.1.0': dependencies: + '@standard-schema/spec': 1.1.0 '@types/chai': 5.2.3 - '@vitest/spy': 3.2.4 - '@vitest/utils': 3.2.4 - chai: 5.2.0 - tinyrainbow: 2.0.0 + '@vitest/spy': 4.1.0 + '@vitest/utils': 4.1.0 + chai: 6.2.2 + tinyrainbow: 3.1.0 - '@vitest/mocker@3.2.4(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0))': + '@vitest/mocker@4.1.0(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0))': dependencies: - '@vitest/spy': 3.2.4 + '@vitest/spy': 4.1.0 estree-walker: 3.0.3 - magic-string: 0.30.17 + magic-string: 0.30.21 optionalDependencies: vite: 7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) - '@vitest/pretty-format@3.2.4': + '@vitest/pretty-format@4.1.0': dependencies: - tinyrainbow: 2.0.0 + tinyrainbow: 3.1.0 - '@vitest/runner@3.2.4': + '@vitest/runner@4.1.0': dependencies: - '@vitest/utils': 3.2.4 + '@vitest/utils': 4.1.0 pathe: 2.0.3 - strip-literal: 3.1.0 - '@vitest/snapshot@3.2.4': + '@vitest/snapshot@4.1.0': dependencies: - '@vitest/pretty-format': 3.2.4 - magic-string: 0.30.17 + '@vitest/pretty-format': 4.1.0 + '@vitest/utils': 4.1.0 + magic-string: 0.30.21 pathe: 2.0.3 - '@vitest/spy@3.2.4': - dependencies: - tinyspy: 4.0.4 + '@vitest/spy@4.1.0': {} - '@vitest/utils@3.2.4': + '@vitest/utils@4.1.0': dependencies: - '@vitest/pretty-format': 3.2.4 - loupe: 3.2.1 - tinyrainbow: 2.0.0 + '@vitest/pretty-format': 4.1.0 + convert-source-map: 2.0.0 + tinyrainbow: 3.1.0 acorn-jsx@5.3.2(acorn@8.15.0): dependencies: @@ -2796,13 +2786,7 @@ snapshots: callsites@3.1.0: {} - chai@5.2.0: - dependencies: - assertion-error: 2.0.1 - check-error: 2.1.1 - deep-eql: 5.0.2 - loupe: 3.1.3 - pathval: 2.0.0 + chai@6.2.2: {} chalk@4.1.2: dependencies: @@ -2816,8 +2800,6 @@ snapshots: udc: 1.0.1 underscore: 1.13.6 - check-error@2.1.1: {} - chokidar@4.0.3: dependencies: readdirp: 4.1.1 @@ -2845,6 +2827,8 @@ snapshots: consola@3.4.0: {} + convert-source-map@2.0.0: {} + cross-spawn@7.0.6: dependencies: path-key: 3.1.1 @@ -2859,8 +2843,6 @@ snapshots: dependencies: ms: 2.1.3 - deep-eql@5.0.2: {} - deep-is@0.1.4: {} defaults@1.0.4: @@ -2908,7 +2890,7 @@ snapshots: graceful-fs: 4.2.11 tapable: 2.2.1 - es-module-lexer@1.7.0: {} + es-module-lexer@2.1.0: {} esbuild@0.27.2: optionalDependencies: @@ -3049,11 +3031,11 @@ snapshots: estree-walker@3.0.3: dependencies: - '@types/estree': 1.0.7 + '@types/estree': 1.0.9 esutils@2.0.3: {} - expect-type@1.2.1: {} + expect-type@1.3.0: {} extendable-error@0.1.7: {} @@ -3075,9 +3057,9 @@ snapshots: dependencies: reusify: 1.0.4 - fdir@6.5.0(picomatch@4.0.3): + fdir@6.5.0(picomatch@4.0.4): optionalDependencies: - picomatch: 4.0.3 + picomatch: 4.0.4 file-entry-cache@6.0.1: dependencies: @@ -3099,7 +3081,7 @@ snapshots: fix-dts-default-cjs-exports@1.0.1: dependencies: - magic-string: 0.30.17 + magic-string: 0.30.21 mlly: 1.8.0 rollup: 4.39.0 @@ -3222,8 +3204,6 @@ snapshots: joycon@3.1.1: {} - js-tokens@9.0.1: {} - js-yaml@3.14.2: dependencies: argparse: 1.0.10 @@ -3289,26 +3269,22 @@ snapshots: lodash.merge@4.6.2: {} - loupe@3.1.3: {} - - loupe@3.2.1: {} - lru-cache@11.2.7: {} lru-cache@6.0.0: dependencies: yallist: 4.0.0 - magic-string@0.30.17: + magic-string@0.30.21: dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 merge2@1.4.1: {} micromatch@4.0.8: dependencies: braces: 3.0.3 - picomatch: 2.3.1 + picomatch: 2.3.2 minimatch@10.2.4: dependencies: @@ -3349,7 +3325,7 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nanoid@3.3.11: {} + nanoid@3.3.12: {} natural-compare@1.4.0: {} @@ -3357,6 +3333,8 @@ snapshots: object-assign@4.1.1: {} + obug@2.1.1: {} + once@1.4.0: dependencies: wrappy: 1.0.2 @@ -3427,15 +3405,13 @@ snapshots: pathe@2.0.3: {} - pathval@2.0.0: {} - picocolors@1.1.1: {} - picomatch@2.3.1: {} + picomatch@2.3.2: {} picomatch@4.0.2: {} - picomatch@4.0.3: {} + picomatch@4.0.4: {} pify@4.0.1: {} @@ -3449,17 +3425,17 @@ snapshots: platform@1.3.6: {} - postcss-load-config@6.0.1(jiti@2.4.2)(postcss@8.5.12)(yaml@2.7.0): + postcss-load-config@6.0.1(jiti@2.4.2)(postcss@8.5.15)(yaml@2.7.0): dependencies: lilconfig: 3.1.2 optionalDependencies: jiti: 2.4.2 - postcss: 8.5.12 + postcss: 8.5.15 yaml: 2.7.0 - postcss@8.5.12: + postcss@8.5.15: dependencies: - nanoid: 3.3.11 + nanoid: 3.3.12 picocolors: 1.1.1 source-map-js: 1.2.1 @@ -3520,35 +3496,35 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.39.0 fsevents: 2.3.3 - rollup@4.60.2: + rollup@4.61.0: dependencies: - '@types/estree': 1.0.8 + '@types/estree': 1.0.9 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.60.2 - '@rollup/rollup-android-arm64': 4.60.2 - '@rollup/rollup-darwin-arm64': 4.60.2 - '@rollup/rollup-darwin-x64': 4.60.2 - '@rollup/rollup-freebsd-arm64': 4.60.2 - '@rollup/rollup-freebsd-x64': 4.60.2 - '@rollup/rollup-linux-arm-gnueabihf': 4.60.2 - '@rollup/rollup-linux-arm-musleabihf': 4.60.2 - '@rollup/rollup-linux-arm64-gnu': 4.60.2 - '@rollup/rollup-linux-arm64-musl': 4.60.2 - '@rollup/rollup-linux-loong64-gnu': 4.60.2 - '@rollup/rollup-linux-loong64-musl': 4.60.2 - '@rollup/rollup-linux-ppc64-gnu': 4.60.2 - '@rollup/rollup-linux-ppc64-musl': 4.60.2 - '@rollup/rollup-linux-riscv64-gnu': 4.60.2 - '@rollup/rollup-linux-riscv64-musl': 4.60.2 - '@rollup/rollup-linux-s390x-gnu': 4.60.2 - '@rollup/rollup-linux-x64-gnu': 4.60.2 - '@rollup/rollup-linux-x64-musl': 4.60.2 - '@rollup/rollup-openbsd-x64': 4.60.2 - '@rollup/rollup-openharmony-arm64': 4.60.2 - '@rollup/rollup-win32-arm64-msvc': 4.60.2 - '@rollup/rollup-win32-ia32-msvc': 4.60.2 - '@rollup/rollup-win32-x64-gnu': 4.60.2 - '@rollup/rollup-win32-x64-msvc': 4.60.2 + '@rollup/rollup-android-arm-eabi': 4.61.0 + '@rollup/rollup-android-arm64': 4.61.0 + '@rollup/rollup-darwin-arm64': 4.61.0 + '@rollup/rollup-darwin-x64': 4.61.0 + '@rollup/rollup-freebsd-arm64': 4.61.0 + '@rollup/rollup-freebsd-x64': 4.61.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.61.0 + '@rollup/rollup-linux-arm-musleabihf': 4.61.0 + '@rollup/rollup-linux-arm64-gnu': 4.61.0 + '@rollup/rollup-linux-arm64-musl': 4.61.0 + '@rollup/rollup-linux-loong64-gnu': 4.61.0 + '@rollup/rollup-linux-loong64-musl': 4.61.0 + '@rollup/rollup-linux-ppc64-gnu': 4.61.0 + '@rollup/rollup-linux-ppc64-musl': 4.61.0 + '@rollup/rollup-linux-riscv64-gnu': 4.61.0 + '@rollup/rollup-linux-riscv64-musl': 4.61.0 + '@rollup/rollup-linux-s390x-gnu': 4.61.0 + '@rollup/rollup-linux-x64-gnu': 4.61.0 + '@rollup/rollup-linux-x64-musl': 4.61.0 + '@rollup/rollup-openbsd-x64': 4.61.0 + '@rollup/rollup-openharmony-arm64': 4.61.0 + '@rollup/rollup-win32-arm64-msvc': 4.61.0 + '@rollup/rollup-win32-ia32-msvc': 4.61.0 + '@rollup/rollup-win32-x64-gnu': 4.61.0 + '@rollup/rollup-win32-x64-msvc': 4.61.0 fsevents: 2.3.3 run-parallel@1.2.0: @@ -3586,7 +3562,7 @@ snapshots: stackback@0.0.2: {} - std-env@3.9.0: {} + std-env@4.1.0: {} strip-ansi@6.0.1: dependencies: @@ -3598,10 +3574,6 @@ snapshots: strip-json-comments@5.0.1: {} - strip-literal@3.1.0: - dependencies: - js-tokens: 9.0.1 - sucrase@3.35.1: dependencies: '@jridgewell/gen-mapping': 0.3.5 @@ -3642,16 +3614,19 @@ snapshots: tinyexec@0.3.2: {} + tinyexec@1.2.4: {} + tinyglobby@0.2.15: dependencies: - fdir: 6.5.0(picomatch@4.0.3) - picomatch: 4.0.3 - - tinypool@1.1.1: {} + fdir: 6.5.0(picomatch@4.0.4) + picomatch: 4.0.4 - tinyrainbow@2.0.0: {} + tinyglobby@0.2.17: + dependencies: + fdir: 6.5.0(picomatch@4.0.4) + picomatch: 4.0.4 - tinyspy@4.0.4: {} + tinyrainbow@3.1.0: {} to-regex-range@5.0.1: dependencies: @@ -3665,7 +3640,7 @@ snapshots: ts-interface-checker@0.1.13: {} - tsup@8.5.1(jiti@2.4.2)(postcss@8.5.12)(typescript@5.7.3)(yaml@2.7.0): + tsup@8.5.1(jiti@2.4.2)(postcss@8.5.15)(typescript@5.7.3)(yaml@2.7.0): dependencies: bundle-require: 5.1.0(esbuild@0.27.2) cac: 6.7.14 @@ -3676,7 +3651,7 @@ snapshots: fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(jiti@2.4.2)(postcss@8.5.12)(yaml@2.7.0) + postcss-load-config: 6.0.1(jiti@2.4.2)(postcss@8.5.15)(yaml@2.7.0) resolve-from: 5.0.0 rollup: 4.39.0 source-map: 0.7.6 @@ -3685,7 +3660,7 @@ snapshots: tinyglobby: 0.2.15 tree-kill: 1.2.2 optionalDependencies: - postcss: 8.5.12 + postcss: 8.5.15 typescript: 5.7.3 transitivePeerDependencies: - jiti @@ -3717,81 +3692,46 @@ snapshots: dependencies: punycode: 2.3.1 - vite-node@3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): - dependencies: - cac: 6.7.14 - debug: 4.4.3 - es-module-lexer: 1.7.0 - pathe: 2.0.3 - vite: 7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) - transitivePeerDependencies: - - '@types/node' - - jiti - - less - - lightningcss - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - tsx - - yaml - vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): dependencies: esbuild: 0.27.7 - fdir: 6.5.0(picomatch@4.0.3) - picomatch: 4.0.3 - postcss: 8.5.12 - rollup: 4.60.2 - tinyglobby: 0.2.15 + fdir: 6.5.0(picomatch@4.0.4) + picomatch: 4.0.4 + postcss: 8.5.15 + rollup: 4.61.0 + tinyglobby: 0.2.17 optionalDependencies: '@types/node': 20.19.37 fsevents: 2.3.3 jiti: 2.4.2 yaml: 2.7.0 - vitest@3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): - dependencies: - '@types/chai': 5.2.3 - '@vitest/expect': 3.2.4 - '@vitest/mocker': 3.2.4(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)) - '@vitest/pretty-format': 3.2.4 - '@vitest/runner': 3.2.4 - '@vitest/snapshot': 3.2.4 - '@vitest/spy': 3.2.4 - '@vitest/utils': 3.2.4 - chai: 5.2.0 - debug: 4.4.3 - expect-type: 1.2.1 - magic-string: 0.30.17 + vitest@4.1.0(@types/node@20.19.37)(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)): + dependencies: + '@vitest/expect': 4.1.0 + '@vitest/mocker': 4.1.0(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)) + '@vitest/pretty-format': 4.1.0 + '@vitest/runner': 4.1.0 + '@vitest/snapshot': 4.1.0 + '@vitest/spy': 4.1.0 + '@vitest/utils': 4.1.0 + es-module-lexer: 2.1.0 + expect-type: 1.3.0 + magic-string: 0.30.21 + obug: 2.1.1 pathe: 2.0.3 - picomatch: 4.0.3 - std-env: 3.9.0 + picomatch: 4.0.4 + std-env: 4.1.0 tinybench: 2.9.0 - tinyexec: 0.3.2 - tinyglobby: 0.2.15 - tinypool: 1.1.1 - tinyrainbow: 2.0.0 + tinyexec: 1.2.4 + tinyglobby: 0.2.17 + tinyrainbow: 3.1.0 vite: 7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) - vite-node: 3.2.4(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.19.37 transitivePeerDependencies: - - jiti - - less - - lightningcss - msw - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - tsx - - yaml vscode-languageserver-textdocument@1.0.12: {} From e30e25a5c2e95ef5487be1c5bc8b214f78557153 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 12:58:43 +0200 Subject: [PATCH 63/83] Update patch-updates (#277) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/js_tests.yml | 2 +- chart_data_extractor/poetry.lock | 114 ++++++++++++++--------------- pnpm-lock.yaml | 120 ++++++++++++++++--------------- template/requirements.txt | 8 +-- 4 files changed, 125 insertions(+), 119 deletions(-) diff --git a/.github/workflows/js_tests.yml b/.github/workflows/js_tests.yml index a7a328fe..43eb551b 100644 --- a/.github/workflows/js_tests.yml +++ b/.github/workflows/js_tests.yml @@ -62,7 +62,7 @@ jobs: - name: Install Bun uses: oven-sh/setup-bun@v2 with: - bun-version: 1.3.11 + bun-version: 1.3.14 - name: Run Bun tests run: pnpm test:bun diff --git a/chart_data_extractor/poetry.lock b/chart_data_extractor/poetry.lock index 1ccee7bf..9ee99afb 100644 --- a/chart_data_extractor/poetry.lock +++ b/chart_data_extractor/poetry.lock @@ -356,67 +356,67 @@ files = [ [[package]] name = "matplotlib" -version = "3.10.8" +version = "3.10.9" description = "Python plotting package" optional = false python-versions = ">=3.10" groups = ["main"] files = [ - {file = "matplotlib-3.10.8-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:00270d217d6b20d14b584c521f810d60c5c78406dc289859776550df837dcda7"}, - {file = "matplotlib-3.10.8-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:37b3c1cc42aa184b3f738cfa18c1c1d72fd496d85467a6cf7b807936d39aa656"}, - {file = "matplotlib-3.10.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ee40c27c795bda6a5292e9cff9890189d32f7e3a0bf04e0e3c9430c4a00c37df"}, - {file = "matplotlib-3.10.8-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a48f2b74020919552ea25d222d5cc6af9ca3f4eb43a93e14d068457f545c2a17"}, - {file = "matplotlib-3.10.8-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f254d118d14a7f99d616271d6c3c27922c092dac11112670b157798b89bf4933"}, - {file = "matplotlib-3.10.8-cp310-cp310-win_amd64.whl", hash = "sha256:f9b587c9c7274c1613a30afabf65a272114cd6cdbe67b3406f818c79d7ab2e2a"}, - {file = "matplotlib-3.10.8-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:6be43b667360fef5c754dda5d25a32e6307a03c204f3c0fc5468b78fa87b4160"}, - {file = "matplotlib-3.10.8-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a2b336e2d91a3d7006864e0990c83b216fcdca64b5a6484912902cef87313d78"}, - {file = "matplotlib-3.10.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:efb30e3baaea72ce5928e32bab719ab4770099079d66726a62b11b1ef7273be4"}, - {file = "matplotlib-3.10.8-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d56a1efd5bfd61486c8bc968fa18734464556f0fb8e51690f4ac25d85cbbbbc2"}, - {file = "matplotlib-3.10.8-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:238b7ce5717600615c895050239ec955d91f321c209dd110db988500558e70d6"}, - {file = "matplotlib-3.10.8-cp311-cp311-win_amd64.whl", hash = "sha256:18821ace09c763ec93aef5eeff087ee493a24051936d7b9ebcad9662f66501f9"}, - {file = "matplotlib-3.10.8-cp311-cp311-win_arm64.whl", hash = "sha256:bab485bcf8b1c7d2060b4fcb6fc368a9e6f4cd754c9c2fea281f4be21df394a2"}, - {file = "matplotlib-3.10.8-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:64fcc24778ca0404ce0cb7b6b77ae1f4c7231cdd60e6778f999ee05cbd581b9a"}, - {file = "matplotlib-3.10.8-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b9a5ca4ac220a0cdd1ba6bcba3608547117d30468fefce49bb26f55c1a3d5c58"}, - {file = "matplotlib-3.10.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3ab4aabc72de4ff77b3ec33a6d78a68227bf1123465887f9905ba79184a1cc04"}, - {file = "matplotlib-3.10.8-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:24d50994d8c5816ddc35411e50a86ab05f575e2530c02752e02538122613371f"}, - {file = "matplotlib-3.10.8-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:99eefd13c0dc3b3c1b4d561c1169e65fe47aab7b8158754d7c084088e2329466"}, - {file = "matplotlib-3.10.8-cp312-cp312-win_amd64.whl", hash = "sha256:dd80ecb295460a5d9d260df63c43f4afbdd832d725a531f008dad1664f458adf"}, - {file = "matplotlib-3.10.8-cp312-cp312-win_arm64.whl", hash = "sha256:3c624e43ed56313651bc18a47f838b60d7b8032ed348911c54906b130b20071b"}, - {file = "matplotlib-3.10.8-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3f2e409836d7f5ac2f1c013110a4d50b9f7edc26328c108915f9075d7d7a91b6"}, - {file = "matplotlib-3.10.8-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:56271f3dac49a88d7fca5060f004d9d22b865f743a12a23b1e937a0be4818ee1"}, - {file = "matplotlib-3.10.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a0a7f52498f72f13d4a25ea70f35f4cb60642b466cbb0a9be951b5bc3f45a486"}, - {file = "matplotlib-3.10.8-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:646d95230efb9ca614a7a594d4fcacde0ac61d25e37dd51710b36477594963ce"}, - {file = "matplotlib-3.10.8-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f89c151aab2e2e23cb3fe0acad1e8b82841fd265379c4cecd0f3fcb34c15e0f6"}, - {file = "matplotlib-3.10.8-cp313-cp313-win_amd64.whl", hash = "sha256:e8ea3e2d4066083e264e75c829078f9e149fa119d27e19acd503de65e0b13149"}, - {file = "matplotlib-3.10.8-cp313-cp313-win_arm64.whl", hash = "sha256:c108a1d6fa78a50646029cb6d49808ff0fc1330fda87fa6f6250c6b5369b6645"}, - {file = "matplotlib-3.10.8-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:ad3d9833a64cf48cc4300f2b406c3d0f4f4724a91c0bd5640678a6ba7c102077"}, - {file = "matplotlib-3.10.8-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:eb3823f11823deade26ce3b9f40dcb4a213da7a670013929f31d5f5ed1055b22"}, - {file = "matplotlib-3.10.8-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d9050fee89a89ed57b4fb2c1bfac9a3d0c57a0d55aed95949eedbc42070fea39"}, - {file = "matplotlib-3.10.8-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b44d07310e404ba95f8c25aa5536f154c0a8ec473303535949e52eb71d0a1565"}, - {file = "matplotlib-3.10.8-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:0a33deb84c15ede243aead39f77e990469fff93ad1521163305095b77b72ce4a"}, - {file = "matplotlib-3.10.8-cp313-cp313t-win_amd64.whl", hash = "sha256:3a48a78d2786784cc2413e57397981fb45c79e968d99656706018d6e62e57958"}, - {file = "matplotlib-3.10.8-cp313-cp313t-win_arm64.whl", hash = "sha256:15d30132718972c2c074cd14638c7f4592bd98719e2308bccea40e0538bc0cb5"}, - {file = "matplotlib-3.10.8-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:b53285e65d4fa4c86399979e956235deb900be5baa7fc1218ea67fbfaeaadd6f"}, - {file = "matplotlib-3.10.8-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:32f8dce744be5569bebe789e46727946041199030db8aeb2954d26013a0eb26b"}, - {file = "matplotlib-3.10.8-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4cf267add95b1c88300d96ca837833d4112756045364f5c734a2276038dae27d"}, - {file = "matplotlib-3.10.8-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2cf5bd12cecf46908f286d7838b2abc6c91cda506c0445b8223a7c19a00df008"}, - {file = "matplotlib-3.10.8-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:41703cc95688f2516b480f7f339d8851a6035f18e100ee6a32bc0b8536a12a9c"}, - {file = "matplotlib-3.10.8-cp314-cp314-win_amd64.whl", hash = "sha256:83d282364ea9f3e52363da262ce32a09dfe241e4080dcedda3c0db059d3c1f11"}, - {file = "matplotlib-3.10.8-cp314-cp314-win_arm64.whl", hash = "sha256:2c1998e92cd5999e295a731bcb2911c75f597d937341f3030cc24ef2733d78a8"}, - {file = "matplotlib-3.10.8-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:b5a2b97dbdc7d4f353ebf343744f1d1f1cca8aa8bfddb4262fcf4306c3761d50"}, - {file = "matplotlib-3.10.8-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:3f5c3e4da343bba819f0234186b9004faba952cc420fbc522dc4e103c1985908"}, - {file = "matplotlib-3.10.8-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f62550b9a30afde8c1c3ae450e5eb547d579dd69b25c2fc7a1c67f934c1717a"}, - {file = "matplotlib-3.10.8-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:495672de149445ec1b772ff2c9ede9b769e3cb4f0d0aa7fa730d7f59e2d4e1c1"}, - {file = "matplotlib-3.10.8-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:595ba4d8fe983b88f0eec8c26a241e16d6376fe1979086232f481f8f3f67494c"}, - {file = "matplotlib-3.10.8-cp314-cp314t-win_amd64.whl", hash = "sha256:25d380fe8b1dc32cf8f0b1b448470a77afb195438bafdf1d858bfb876f3edf7b"}, - {file = "matplotlib-3.10.8-cp314-cp314t-win_arm64.whl", hash = "sha256:113bb52413ea508ce954a02c10ffd0d565f9c3bc7f2eddc27dfe1731e71c7b5f"}, - {file = "matplotlib-3.10.8-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:f97aeb209c3d2511443f8797e3e5a569aebb040d4f8bc79aa3ee78a8fb9e3dd8"}, - {file = "matplotlib-3.10.8-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:fb061f596dad3a0f52b60dc6a5dec4a0c300dec41e058a7efe09256188d170b7"}, - {file = "matplotlib-3.10.8-pp310-pypy310_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:12d90df9183093fcd479f4172ac26b322b1248b15729cb57f42f71f24c7e37a3"}, - {file = "matplotlib-3.10.8-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:6da7c2ce169267d0d066adcf63758f0604aa6c3eebf67458930f9d9b79ad1db1"}, - {file = "matplotlib-3.10.8-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:9153c3292705be9f9c64498a8872118540c3f4123d1a1c840172edf262c8be4a"}, - {file = "matplotlib-3.10.8-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ae029229a57cd1e8fe542485f27e7ca7b23aa9e8944ddb4985d0bc444f1eca2"}, - {file = "matplotlib-3.10.8.tar.gz", hash = "sha256:2299372c19d56bcd35cf05a2738308758d32b9eaed2371898d8f5bd33f084aa3"}, + {file = "matplotlib-3.10.9-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:77210dce9cb8153dffc967efaae990543392563d5a376d4dd8539bebcb0ed217"}, + {file = "matplotlib-3.10.9-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1e7698ac9868428e84d2c967424803b2472ff7167d9d6590d4204ed775343c3b"}, + {file = "matplotlib-3.10.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1aa972116abb4c9d201bf245620b433726cb6856f3bef6a78f776a00f5c92d37"}, + {file = "matplotlib-3.10.9-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ae2f11957b27ce53497dd4d7b235c4d4f1faf383dfb39d0c5beb833bff883294"}, + {file = "matplotlib-3.10.9-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b049278ddce116aaa1c1377ebf58adea909132dfce0281cf7e3a1ea9fc2e2c65"}, + {file = "matplotlib-3.10.9-cp310-cp310-win_amd64.whl", hash = "sha256:82834c3c292d24d3a8aae77cd2d20019de69d692a34a970e4fdb8d33e2ea3dda"}, + {file = "matplotlib-3.10.9-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:68cfdcede415f7c8f5577b03303dd94526cdb6d11036cecdc205e08733b2d2bb"}, + {file = "matplotlib-3.10.9-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dfca0129678bd56379db26c52b5d77ed7de314c047492fbdc763aa7501710cfb"}, + {file = "matplotlib-3.10.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8e436d155fa8a3399dc62683f8f5d0e2e50d25d0144a73edd73f82eec8f4abfb"}, + {file = "matplotlib-3.10.9-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:56fc0bd271b00025c6edfdc7c2dcd247372c8e1544971d62e1dc7c17367e8bf9"}, + {file = "matplotlib-3.10.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a5a6104ed666402ba5106d7f36e0e0cdca4e8d7fa4d39708ca88019e2835a2eb"}, + {file = "matplotlib-3.10.9-cp311-cp311-win_amd64.whl", hash = "sha256:d730e984eddf56974c3e72b6129c7ca462ac38dc624338f4b0b23eb23ecba00f"}, + {file = "matplotlib-3.10.9-cp311-cp311-win_arm64.whl", hash = "sha256:51bf0ddbdc598e060d46c16b5590708f81a1624cefbaaf62f6a81bf9285b8c80"}, + {file = "matplotlib-3.10.9-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:f0c3c28d9fbcc1fe7a03be236d73430cf6409c41fb2383a7ac52fe932b072cb1"}, + {file = "matplotlib-3.10.9-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:41cb28c2bd769aa3e98322c6ab09854cbcc52ab69d2759d681bba3e327b2b320"}, + {file = "matplotlib-3.10.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ae20801130378b82d647ff5047c07316295b68dc054ca6b3c13519d0ea624285"}, + {file = "matplotlib-3.10.9-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6c63ebcd8b4b169eb2f5c200552ae6b8be8999a005b6b507ed76fb8d7d674fe2"}, + {file = "matplotlib-3.10.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d75d11c949914165976c621b2324f9ef162af7ebf4b057ddf95dd1dba7e5edcf"}, + {file = "matplotlib-3.10.9-cp312-cp312-win_amd64.whl", hash = "sha256:d091f9d758b34aaaaa6331d13574bf01891d903b3dec59bfff458ef7551de5d6"}, + {file = "matplotlib-3.10.9-cp312-cp312-win_arm64.whl", hash = "sha256:10cc5ce06d10231c36f40e875f3c7e8050362a4ee8f0ee5d29a6b3277d57bb42"}, + {file = "matplotlib-3.10.9-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b580440f1ff81a0e34122051a3dfabb7e4b7f9e380629929bde0eff9af72165f"}, + {file = "matplotlib-3.10.9-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b1b745c489cd1a77a0dc1120a05dc87af9798faebc913601feb8c73d89bf2d1e"}, + {file = "matplotlib-3.10.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8f3bcac1ca5ed000a6f4337d47ba67dfddf37ed6a46c15fd7f014997f7bf865f"}, + {file = "matplotlib-3.10.9-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7a8d66a55def891c33147ba3ba9bfcabf0b526a43764c818acbb4525e5ed0838"}, + {file = "matplotlib-3.10.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:d843374407c4017a6403b59c6c81606773d136f3259d5b6da3131bc814542cc2"}, + {file = "matplotlib-3.10.9-cp313-cp313-win_amd64.whl", hash = "sha256:f4399f64b3e94cd500195490972ae1ee81170df1636fa15364d157d5bdd7b921"}, + {file = "matplotlib-3.10.9-cp313-cp313-win_arm64.whl", hash = "sha256:ba7b3b8ef09eab7df0e86e9ae086faa433efbfbdb46afcb3aa16aabf779469a8"}, + {file = "matplotlib-3.10.9-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:09218df8a93712bd6ea133e83a153c755448cf7868316c531cffcc43f69d1cc9"}, + {file = "matplotlib-3.10.9-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:82368699727bfb7b0182e1aa13082e3c08e092fa1a25d3e1fd92405bff96f6d4"}, + {file = "matplotlib-3.10.9-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3225f4e1edcb8c86c884ddf79ebe20ecd0a67d30188f279897554ccd8fded4dc"}, + {file = "matplotlib-3.10.9-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:de2445a0c6690d21b7eb6ce071cebad6d40a2e9bdf10d039074a96ba19797b99"}, + {file = "matplotlib-3.10.9-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:b2b9516251cb89ff618d757daec0e2ed1bf21248013844a853d87ef85ab3081d"}, + {file = "matplotlib-3.10.9-cp313-cp313t-win_amd64.whl", hash = "sha256:e9fae004b941b23ff2edcf1567a857ed77bafc8086ffa258190462328434faf8"}, + {file = "matplotlib-3.10.9-cp313-cp313t-win_arm64.whl", hash = "sha256:6b63d9c7c769b88ab81e10dc86e4e0607cf56817b9f9e6cf24b2a5f1693b8e38"}, + {file = "matplotlib-3.10.9-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:172db52c9e683f5d12eaf57f0f54834190e12581fe1cc2a19595a8f5acb4e77d"}, + {file = "matplotlib-3.10.9-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:97e35e8d39ccc85859095e01a53847432ba9a53ddf7986f7a54a11b73d0e143f"}, + {file = "matplotlib-3.10.9-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aba1615dabe83188e19d4f75a253c6a08423e04c1425e64039f800050a69de6b"}, + {file = "matplotlib-3.10.9-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34cf8167e023ad956c15f36302911d5406bd99a9862c1a8499ea6f7c0e015dc2"}, + {file = "matplotlib-3.10.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:59476c6d29d612b8e9bb6ce8c5b631be6ba8f9e3a2421f22a02b192c7dd28716"}, + {file = "matplotlib-3.10.9-cp314-cp314-win_amd64.whl", hash = "sha256:336b9acc64d309063126edcdaca00db9373af3c476bb94388fe9c5a53ad13e6f"}, + {file = "matplotlib-3.10.9-cp314-cp314-win_arm64.whl", hash = "sha256:2dc9477819ffd78ad12a20df1d9d6a6bd4fec6aaa9072681465fddca052f1456"}, + {file = "matplotlib-3.10.9-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:da4e09638420548f31c354032a6250e473c68e5a4e96899b4844cf39ddea23fe"}, + {file = "matplotlib-3.10.9-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:345f6f68ecc8da0ca56fad2ea08fde1a115eda530079eca185d50a7bc3e146c6"}, + {file = "matplotlib-3.10.9-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4edcfbd8565339aa62f1cd4012f7180926fdbe71850f7b0d3c379c175cd6b66c"}, + {file = "matplotlib-3.10.9-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6be157fe17fc37cb95ac1d7374cf717ce9259616edec911a78d9d26dae8522d4"}, + {file = "matplotlib-3.10.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:4e42042d54db34fda4e95a7bd3e5789c2a995d2dad3eb8850232ee534092fbbf"}, + {file = "matplotlib-3.10.9-cp314-cp314t-win_amd64.whl", hash = "sha256:c27df8b3848f32a83d1767566595e43cfaa4460380974da06f4279a7ec143c39"}, + {file = "matplotlib-3.10.9-cp314-cp314t-win_arm64.whl", hash = "sha256:a49f1eadc84ca85fd72fa4e89e70e61bf86452df6f971af04b12c60761a0772c"}, + {file = "matplotlib-3.10.9-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:1872fb212a05b729e649754a72d5da61d03e0554d76e80303b6f83d1d2c0552b"}, + {file = "matplotlib-3.10.9-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:985f2238880e2e69093f588f5fe2e46771747febf0649f3cf7f7b7480875317f"}, + {file = "matplotlib-3.10.9-pp310-pypy310_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6640f75af2c6148293caa0a2b39dd806a492dd66c8a8b04035813e33d0fd2585"}, + {file = "matplotlib-3.10.9-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:42fb814efabe95c06c1994d8ab5a8385f43a249e23badd3ba931d4308e5bca20"}, + {file = "matplotlib-3.10.9-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:f76e640a5268850bfda54b5131b1b1941cc685e42c5fa98ed9f2d64038308cba"}, + {file = "matplotlib-3.10.9-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3fc0364dfbe1d07f6d15c5ebd0c5bf89e126916e5a8667dd4a7a6e84c36653d4"}, + {file = "matplotlib-3.10.9.tar.gz", hash = "sha256:fd66508e8c6877d98e586654b608a0456db8d7e8a546eb1e2600efd957302358"}, ] [package.dependencies] @@ -431,7 +431,7 @@ pyparsing = ">=3" python-dateutil = ">=2.7" [package.extras] -dev = ["meson-python (>=0.13.1,<0.17.0)", "pybind11 (>=2.13.2,!=2.13.3)", "setuptools (>=64)", "setuptools_scm (>=7)"] +dev = ["meson-python (>=0.13.1,<0.17.0)", "pybind11 (>=2.13.2,!=2.13.3)", "setuptools (>=64)", "setuptools_scm (>=7,<10)"] [[package]] name = "numpy" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d43c651..816ffcc1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,13 +53,13 @@ importers: devDependencies: '@types/node': specifier: ^20.19.19 - version: 20.19.37 + version: 20.19.41 dotenv: specifier: ^16.4.5 version: 16.6.1 knip: specifier: ^5.25.1 - version: 5.43.6(@types/node@20.19.37)(typescript@5.7.3) + version: 5.43.6(@types/node@20.19.41)(typescript@5.7.3) npm-check-updates: specifier: ^17.1.14 version: 17.1.18 @@ -71,7 +71,7 @@ importers: version: 5.7.3 vitest: specifier: ^4.1.0 - version: 4.1.0(@types/node@20.19.37)(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)) + version: 4.1.8(@types/node@20.19.41)(vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0)) python: {} @@ -784,8 +784,8 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@20.19.37': - resolution: {integrity: sha512-8kzdPJ3FsNsVIurqBs7oodNnCEVbni9yUEkaHbgptDACOPW04jimGagZ51E6+lXUwJjgnBw+hyko/lkFWCldqw==} + '@types/node@20.19.41': + resolution: {integrity: sha512-ECymXOukMnOoVkC2bb1Vc/w/836DXncOg5m8Xj1RH7xSHZJWNYY6Zh7EH477vcnD5egKNNfy2RpNOmuChhFPgQ==} '@types/semver@7.7.0': resolution: {integrity: sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==} @@ -910,34 +910,34 @@ packages: resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} deprecated: Potential CWE-502 - Update to 1.3.1 or higher - '@vitest/expect@4.1.0': - resolution: {integrity: sha512-EIxG7k4wlWweuCLG9Y5InKFwpMEOyrMb6ZJ1ihYu02LVj/bzUwn2VMU+13PinsjRW75XnITeFrQBMH5+dLvCDA==} + '@vitest/expect@4.1.8': + resolution: {integrity: sha512-h3nDO677RDLEGlBxyQ5CW8RlMThSKSRLUePLOx09gNIWRL40edgA1GCZSZgf1W55MFAG6/Sw14KeaAnqv0NKdQ==} - '@vitest/mocker@4.1.0': - resolution: {integrity: sha512-evxREh+Hork43+Y4IOhTo+h5lGmVRyjqI739Rz4RlUPqwrkFFDF6EMvOOYjTx4E8Tl6gyCLRL8Mu7Ry12a13Tw==} + '@vitest/mocker@4.1.8': + resolution: {integrity: sha512-LEiN/xe4OSIbKe9HQIp5OC24agGD9J5CnmMgsLohVVoOPWL9a2sBoR6VBx43jQZb7Kr1l4RCuyCJzcAa0+dojw==} peerDependencies: msw: ^2.4.9 - vite: ^6.0.0 || ^7.0.0 || ^8.0.0-0 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: msw: optional: true vite: optional: true - '@vitest/pretty-format@4.1.0': - resolution: {integrity: sha512-3RZLZlh88Ib0J7NQTRATfc/3ZPOnSUn2uDBUoGNn5T36+bALixmzphN26OUD3LRXWkJu4H0s5vvUeqBiw+kS0A==} + '@vitest/pretty-format@4.1.8': + resolution: {integrity: sha512-9GasEBxpZ1VYIpqHf/0+YGg121uSNwCKOJqIrTwWP/TB7DmFCiaBpNl3aPZzoLWfWkuqhbH8vJIVobZkvdo2cA==} - '@vitest/runner@4.1.0': - resolution: {integrity: sha512-Duvx2OzQ7d6OjchL+trw+aSrb9idh7pnNfxrklo14p3zmNL4qPCDeIJAK+eBKYjkIwG96Bc6vYuxhqDXQOWpoQ==} + '@vitest/runner@4.1.8': + resolution: {integrity: sha512-EmVxeBAfMJvycdjd6Hm+RbFBbA9fKvo0Kx37hNpBYoYeavH3RNsBXWDooR1mgD52dCrxIIuP7UotpfiwOikvcg==} - '@vitest/snapshot@4.1.0': - resolution: {integrity: sha512-0Vy9euT1kgsnj1CHttwi9i9o+4rRLEaPRSOJ5gyv579GJkNpgJK+B4HSv/rAWixx2wdAFci1X4CEPjiu2bXIMg==} + '@vitest/snapshot@4.1.8': + resolution: {integrity: sha512-acfZboRmAIf05DEKcBQy33VXojFJjtUdLyo7oOmV9kebb2xdU01UknNiPuPZoJZQyO7DF0gZdTGTpeAzET9QPQ==} - '@vitest/spy@4.1.0': - resolution: {integrity: sha512-pz77k+PgNpyMDv2FV6qmk5ZVau6c3R8HC8v342T2xlFxQKTrSeYw9waIJG8KgV9fFwAtTu4ceRzMivPTH6wSxw==} + '@vitest/spy@4.1.8': + resolution: {integrity: sha512-6EevtBp6OZOPF7bmz36HrGMeP3txgVSrgebWxHOafDXGkhIzfXK14f8KF6MuFfgXXUeHxmpD3BQxkV00/3s5mA==} - '@vitest/utils@4.1.0': - resolution: {integrity: sha512-XfPXT6a8TZY3dcGY8EdwsBulFCIw+BeeX0RZn2x/BtiY/75YGh8FeWGG8QISN/WhaqSrE2OrlDgtF8q5uhOTmw==} + '@vitest/utils@4.1.8': + resolution: {integrity: sha512-uOJamYALNhfJ6iolExyQM40yIQwDqYnkKtQ5VCiSe17E33H0aQ/u+1GlRuz4LZBk6Mm3sg90G9hEbmEt37C1Zg==} acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} @@ -1928,21 +1928,23 @@ packages: yaml: optional: true - vitest@4.1.0: - resolution: {integrity: sha512-YbDrMF9jM2Lqc++2530UourxZHmkKLxrs4+mYhEwqWS97WJ7wOYEkcr+QfRgJ3PW9wz3odRijLZjHEaRLTNbqw==} + vitest@4.1.8: + resolution: {integrity: sha512-flY6ScbCIt9HThs+C5HS7jvGOB560DJtk/Z15IQROTA6zEy49Nh8T/dofWTQL+n3vswqn87sbJNiuqw1SDp5Ig==} engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@opentelemetry/api': ^1.9.0 '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0 - '@vitest/browser-playwright': 4.1.0 - '@vitest/browser-preview': 4.1.0 - '@vitest/browser-webdriverio': 4.1.0 - '@vitest/ui': 4.1.0 + '@vitest/browser-playwright': 4.1.8 + '@vitest/browser-preview': 4.1.8 + '@vitest/browser-webdriverio': 4.1.8 + '@vitest/coverage-istanbul': 4.1.8 + '@vitest/coverage-v8': 4.1.8 + '@vitest/ui': 4.1.8 happy-dom: '*' jsdom: '*' - vite: ^6.0.0 || ^7.0.0 || ^8.0.0-0 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: '@edge-runtime/vm': optional: true @@ -1956,6 +1958,10 @@ packages: optional: true '@vitest/browser-webdriverio': optional: true + '@vitest/coverage-istanbul': + optional: true + '@vitest/coverage-v8': + optional: true '@vitest/ui': optional: true happy-dom: @@ -2500,7 +2506,7 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@20.19.37': + '@types/node@20.19.41': dependencies: undici-types: 6.21.0 @@ -2675,44 +2681,44 @@ snapshots: '@ungap/structured-clone@1.3.0': {} - '@vitest/expect@4.1.0': + '@vitest/expect@4.1.8': dependencies: '@standard-schema/spec': 1.1.0 '@types/chai': 5.2.3 - '@vitest/spy': 4.1.0 - '@vitest/utils': 4.1.0 + '@vitest/spy': 4.1.8 + '@vitest/utils': 4.1.8 chai: 6.2.2 tinyrainbow: 3.1.0 - '@vitest/mocker@4.1.0(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0))': + '@vitest/mocker@4.1.8(vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0))': dependencies: - '@vitest/spy': 4.1.0 + '@vitest/spy': 4.1.8 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) + vite: 7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0) - '@vitest/pretty-format@4.1.0': + '@vitest/pretty-format@4.1.8': dependencies: tinyrainbow: 3.1.0 - '@vitest/runner@4.1.0': + '@vitest/runner@4.1.8': dependencies: - '@vitest/utils': 4.1.0 + '@vitest/utils': 4.1.8 pathe: 2.0.3 - '@vitest/snapshot@4.1.0': + '@vitest/snapshot@4.1.8': dependencies: - '@vitest/pretty-format': 4.1.0 - '@vitest/utils': 4.1.0 + '@vitest/pretty-format': 4.1.8 + '@vitest/utils': 4.1.8 magic-string: 0.30.21 pathe: 2.0.3 - '@vitest/spy@4.1.0': {} + '@vitest/spy@4.1.8': {} - '@vitest/utils@4.1.0': + '@vitest/utils@4.1.8': dependencies: - '@vitest/pretty-format': 4.1.0 + '@vitest/pretty-format': 4.1.8 convert-source-map: 2.0.0 tinyrainbow: 3.1.0 @@ -3227,11 +3233,11 @@ snapshots: dependencies: json-buffer: 3.0.1 - knip@5.43.6(@types/node@20.19.37)(typescript@5.7.3): + knip@5.43.6(@types/node@20.19.41)(typescript@5.7.3): dependencies: '@nodelib/fs.walk': 3.0.1 '@snyk/github-codeowners': 1.1.0 - '@types/node': 20.19.37 + '@types/node': 20.19.41 easy-table: 1.2.0 enhanced-resolve: 5.18.1 fast-glob: 3.3.3 @@ -3692,7 +3698,7 @@ snapshots: dependencies: punycode: 2.3.1 - vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0): + vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0): dependencies: esbuild: 0.27.7 fdir: 6.5.0(picomatch@4.0.4) @@ -3701,20 +3707,20 @@ snapshots: rollup: 4.61.0 tinyglobby: 0.2.17 optionalDependencies: - '@types/node': 20.19.37 + '@types/node': 20.19.41 fsevents: 2.3.3 jiti: 2.4.2 yaml: 2.7.0 - vitest@4.1.0(@types/node@20.19.37)(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)): + vitest@4.1.8(@types/node@20.19.41)(vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0)): dependencies: - '@vitest/expect': 4.1.0 - '@vitest/mocker': 4.1.0(vite@7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0)) - '@vitest/pretty-format': 4.1.0 - '@vitest/runner': 4.1.0 - '@vitest/snapshot': 4.1.0 - '@vitest/spy': 4.1.0 - '@vitest/utils': 4.1.0 + '@vitest/expect': 4.1.8 + '@vitest/mocker': 4.1.8(vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0)) + '@vitest/pretty-format': 4.1.8 + '@vitest/runner': 4.1.8 + '@vitest/snapshot': 4.1.8 + '@vitest/spy': 4.1.8 + '@vitest/utils': 4.1.8 es-module-lexer: 2.1.0 expect-type: 1.3.0 magic-string: 0.30.21 @@ -3726,10 +3732,10 @@ snapshots: tinyexec: 1.2.4 tinyglobby: 0.2.17 tinyrainbow: 3.1.0 - vite: 7.3.2(@types/node@20.19.37)(jiti@2.4.2)(yaml@2.7.0) + vite: 7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.19.37 + '@types/node': 20.19.41 transitivePeerDependencies: - msw diff --git a/template/requirements.txt b/template/requirements.txt index dfaeb75f..7e7e47ea 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -3,9 +3,9 @@ jupyter-server==2.16.0 ipykernel==6.31.0 ipython==9.14.0 -orjson==3.11.7 +orjson==3.11.9 pandas==2.2.3 -matplotlib==3.10.8 +matplotlib==3.10.9 pillow==12.2.0 # Latest version for @@ -35,9 +35,9 @@ scikit-learn==1.6.1 scipy==1.17.1 seaborn==0.13.2 soundfile==0.13.1 -spacy==3.8.11 +spacy==3.8.14 textblob==0.19.0 -tornado==6.5.5 +tornado==6.5.6 urllib3==2.7.0 xarray==2025.4.0 xlrd==2.0.2 From 4b278860a616a759542bae696cf6a056ee0018e3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 12:30:33 +0200 Subject: [PATCH 64/83] Update dependency e2b to v2.25.1 (#281) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements-dev.txt b/template/requirements-dev.txt index da8ae26f..c9bb5e36 100644 --- a/template/requirements-dev.txt +++ b/template/requirements-dev.txt @@ -1,2 +1,2 @@ -e2b==2.16.0 +e2b==2.25.1 python-dotenv==1.2.2 \ No newline at end of file From 4e8646494adb8103b7f3454ce1519aa0f0a47182 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 13:43:10 +0200 Subject: [PATCH 65/83] Update dependency kaleido to v1.3.0 (#282) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 7e7e47ea..4267f640 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -25,7 +25,7 @@ numba==0.63.1 opencv-python==4.11.0.86 openpyxl==3.1.5 plotly==6.0.1 -kaleido==1.0.0 +kaleido==1.3.0 pytest==9.0.3 python-docx==1.1.2 pytz==2025.2 From d7eb7a741119e028342fd9c6424c18a62902a037 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 13:59:36 +0200 Subject: [PATCH 66/83] Update dependency knip to v5.88.1 (#283) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 486 ++++++++++++++++++++++++++++++------------------- 1 file changed, 298 insertions(+), 188 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 816ffcc1..caf3cdff 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,19 +59,19 @@ importers: version: 16.6.1 knip: specifier: ^5.25.1 - version: 5.43.6(@types/node@20.19.41)(typescript@5.7.3) + version: 5.88.1(@types/node@20.19.41)(typescript@5.7.3) npm-check-updates: specifier: ^17.1.14 version: 17.1.18 tsup: specifier: ^8.5.1 - version: 8.5.1(jiti@2.4.2)(postcss@8.5.15)(typescript@5.7.3)(yaml@2.7.0) + version: 8.5.1(jiti@2.7.0)(postcss@8.5.15)(typescript@5.7.3)(yaml@2.9.0) typescript: specifier: ^5.5.3 version: 5.7.3 vitest: specifier: ^4.1.0 - version: 4.1.8(@types/node@20.19.41)(vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0)) + version: 4.1.8(@types/node@20.19.41)(vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0)) python: {} @@ -118,6 +118,15 @@ packages: peerDependencies: '@bufbuild/protobuf': ^2.2.0 + '@emnapi/core@1.10.0': + resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==} + + '@emnapi/runtime@1.10.0': + resolution: {integrity: sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==} + + '@emnapi/wasi-threads@1.2.1': + resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==} + '@esbuild/aix-ppc64@0.27.2': resolution: {integrity: sha512-GZMB+a0mOMZs4MpDbj8RJp4cw+w1WV5NYD6xzgvzUJ5Ek2jerwfO2eADyI6ExDSUED+1X8aMbegahsJi+8mgpw==} engines: {node: '>=18'} @@ -493,29 +502,118 @@ packages: '@manypkg/get-packages@1.1.3': resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} + '@napi-rs/wasm-runtime@1.1.4': + resolution: {integrity: sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==} + peerDependencies: + '@emnapi/core': ^1.7.1 + '@emnapi/runtime': ^1.7.1 + '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} - '@nodelib/fs.scandir@4.0.1': - resolution: {integrity: sha512-vAkI715yhnmiPupY+dq+xenu5Tdf2TBQ66jLvBIcCddtz+5Q8LbMKaf9CIJJreez8fQ8fgaY+RaywQx8RJIWpw==} - engines: {node: '>=18.18.0'} - '@nodelib/fs.stat@2.0.5': resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} engines: {node: '>= 8'} - '@nodelib/fs.stat@4.0.0': - resolution: {integrity: sha512-ctr6bByzksKRCV0bavi8WoQevU6plSp2IkllIsEqaiKe2mwNNnaluhnRhcsgGZHrrHk57B3lf95MkLMO3STYcg==} - engines: {node: '>=18.18.0'} - '@nodelib/fs.walk@1.2.8': resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@nodelib/fs.walk@3.0.1': - resolution: {integrity: sha512-nIh/M6Kh3ZtOmlY00DaUYB4xeeV6F3/ts1l29iwl3/cfyY/OuCfUx+v08zgx8TKPTifXRcjjqVQ4KB2zOYSbyw==} - engines: {node: '>=18.18.0'} + '@oxc-resolver/binding-android-arm-eabi@11.20.0': + resolution: {integrity: sha512-IjfWOXRgJFNdORDl+Uf1aibNgZY2guOD3zmOhx1BGVb/MIiqlFTdmjpQNplSN58lhWehnX4UNqC3QwpUo8pjJg==} + cpu: [arm] + os: [android] + + '@oxc-resolver/binding-android-arm64@11.20.0': + resolution: {integrity: sha512-QqslZAuFQG8Q9xm7JuIn8JUbvywhSBMVhuQHtYW+auirZJloS41oxUUaBXk7uUhZJgp44c5zQLeVvmFaDQB+2Q==} + cpu: [arm64] + os: [android] + + '@oxc-resolver/binding-darwin-arm64@11.20.0': + resolution: {integrity: sha512-MUcavykj2ewlR+kc5arpg4tC2RvzJkUxWtNv74pf7lcNk00GpIpN43vXMj+j6r4eMmfZhlb8hueKoIb8e9kAGQ==} + cpu: [arm64] + os: [darwin] + + '@oxc-resolver/binding-darwin-x64@11.20.0': + resolution: {integrity: sha512-BGB16nRUK5Etiv//ihPyzj8Lj1px0mhh4YIfe0FDf045ywknfSm0GEbiRESpr6Q4K82AvnyaRIhhluHByvS4bg==} + cpu: [x64] + os: [darwin] + + '@oxc-resolver/binding-freebsd-x64@11.20.0': + resolution: {integrity: sha512-JZgtePaqj3qmD5XFHJaSLWzHRxQu0LaPkdoM1KJXYADvAaa83ijXHclV3ej3CueeW0wxfIAbGCZVP45J0CA7uQ==} + cpu: [x64] + os: [freebsd] + + '@oxc-resolver/binding-linux-arm-gnueabihf@11.20.0': + resolution: {integrity: sha512-hOQ/p3ry3v3SchUBXicrrnszaI/UmYzM4wtS4RGfwgVUX7a+HbyQSzJ5aOzu+o6XZkFkS3ZXN4PZAzhOb77OSg==} + cpu: [arm] + os: [linux] + + '@oxc-resolver/binding-linux-arm-musleabihf@11.20.0': + resolution: {integrity: sha512-2ArPksaw0AqeuGBfoS715VF+JvJQAhD2niWgjE5hVO+L+nAfikVQopvngCMX9x4BD8itWoQ3dnikrQyl5Ho5Jg==} + cpu: [arm] + os: [linux] + + '@oxc-resolver/binding-linux-arm64-gnu@11.20.0': + resolution: {integrity: sha512-0bJnmYFp62JdZ4nVMDUZ/C58BCZOCcqgKtnUlp7L9Ojf/czIN+3j72YlLPeWLkzlr6SlYvIQA4SGV/HyO0d+qg==} + cpu: [arm64] + os: [linux] + + '@oxc-resolver/binding-linux-arm64-musl@11.20.0': + resolution: {integrity: sha512-wKHHzPKZo7Ufhv/Bt6yxT7FOgnIgW4gwXcJUipkShGp68W3wGVqvr1Sr0fY65lN0Oy6y41+g2kIDvkgZaMMUkw==} + cpu: [arm64] + os: [linux] + + '@oxc-resolver/binding-linux-ppc64-gnu@11.20.0': + resolution: {integrity: sha512-RN8goF7Ie0B79L4i4G6OeBocTgSC56vJbQ65VJje+oXnldVpLnOU7j/AQ/dP94TcCS+Yh6WG8u3Qt4ETteXFNQ==} + cpu: [ppc64] + os: [linux] + + '@oxc-resolver/binding-linux-riscv64-gnu@11.20.0': + resolution: {integrity: sha512-5l1yU6/xQEqLZRzxqmMxJfWPslpwCmBsdDGaBvABPehxquCXDC7dd7oraNdKSJUMDXSM7VvVj8H2D2FTjU7oWw==} + cpu: [riscv64] + os: [linux] + + '@oxc-resolver/binding-linux-riscv64-musl@11.20.0': + resolution: {integrity: sha512-xHEvkbgz6UC+A3JOyDQy76LkUaxsNSfIr3/GV8slwZsnuooJiIB34gzJfsyvR4JdCYNUUPsRJc/w/oWkODu+hg==} + cpu: [riscv64] + os: [linux] + + '@oxc-resolver/binding-linux-s390x-gnu@11.20.0': + resolution: {integrity: sha512-aWPDUUmSeyHvlW+SoEUd+JIJsQhVhu6a5tBpDRMu058naPAchTgAVGCFy35zjbnFlt0i8hLWziff6HX0D3LU4g==} + cpu: [s390x] + os: [linux] + + '@oxc-resolver/binding-linux-x64-gnu@11.20.0': + resolution: {integrity: sha512-x2YeSimvhJjKLVD8KSu8f/rqU1potcdEMkApIPJqjZWN7c2Fpt4g2X32WDg1p+XDAmyT7nuQGe0vnhvXeLbH+g==} + cpu: [x64] + os: [linux] + + '@oxc-resolver/binding-linux-x64-musl@11.20.0': + resolution: {integrity: sha512-kcRLEIxpZefeYfLChjpgFf3ilBzRDZ+yobMrpRsQlSrxuFGtm3U6PMU7AaEpMqo3NfDGVyJJseAjnRLzMFHjwQ==} + cpu: [x64] + os: [linux] + + '@oxc-resolver/binding-openharmony-arm64@11.20.0': + resolution: {integrity: sha512-HHcfnApSZGtKhTiHqe8OZruOZe5XuFQH5/E0Yhj3u8fnFvzkM4/k6WjacUf4SvA0SPEAbfbgYmVPuo0VX/fIBQ==} + cpu: [arm64] + os: [openharmony] + + '@oxc-resolver/binding-wasm32-wasi@11.20.0': + resolution: {integrity: sha512-Tn0y1XOFYHNfK1wp1Z5QK8Rcld/bsOwRISQXfqAZ5IBpv8Gz1IvV39fUWNprqNdRizgcvFhOzWwFun2zkJsyBg==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] + + '@oxc-resolver/binding-win32-arm64-msvc@11.20.0': + resolution: {integrity: sha512-qPi25YNPe4YenS8MgsQU2+bIFHxxpLx1LVna2444cEHqNPhNjvWf9zqj4aWE43H9LpAsTmkkAlA3eL5ElBU3mA==} + cpu: [arm64] + os: [win32] + + '@oxc-resolver/binding-win32-x64-msvc@11.20.0': + resolution: {integrity: sha512-Wb14jWEW8huH6It9F6sXd9vrYmIS7pMrgkU6sxpLxkP+9z+wRgs71hUEhRpcn8FOXAFa27FVWfY2tRpbfTzfLw==} + cpu: [x64] + os: [win32] '@rollup/rollup-android-arm-eabi@4.39.0': resolution: {integrity: sha512-lGVys55Qb00Wvh8DMAocp5kIcaNzEFTmGhfFd88LfaogYTRKrdxgtlO5H6S49v2Nd8R2C6wLOal0qv6/kCkOwA==} @@ -742,12 +840,6 @@ packages: cpu: [x64] os: [win32] - '@snyk/github-codeowners@1.1.0': - resolution: {integrity: sha512-lGFf08pbkEac0NYgVf4hdANpAgApRjNByLXB+WBip3qj1iendOIyAwP2GKkKbQMNVy2r1xxDf0ssfWscoiC+Vw==} - engines: {node: '>=8.10'} - deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. - hasBin: true - '@standard-schema/spec@1.1.0': resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} @@ -763,6 +855,9 @@ packages: peerDependencies: eslint: '>=8.40.0' + '@tybys/wasm-util@0.10.2': + resolution: {integrity: sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==} + '@types/chai@5.2.3': resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} @@ -949,10 +1044,6 @@ packages: engines: {node: '>=0.4.0'} hasBin: true - aggregate-error@3.1.0: - resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} - engines: {node: '>=8'} - ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} @@ -1043,14 +1134,6 @@ packages: resolution: {integrity: sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==} engines: {node: '>=18'} - clean-stack@2.2.0: - resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} - engines: {node: '>=6'} - - clone@1.0.4: - resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} - engines: {node: '>=0.8'} - color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} @@ -1103,9 +1186,6 @@ packages: deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - defaults@1.0.4: - resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} - dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -1125,13 +1205,6 @@ packages: resolution: {integrity: sha512-Vj9BvHRNXbXvlchz6N0Qf8oXBS6Nb3nkh8EvdYBky1f0FEs2+85hMtgJwgKxcbfJlVfzz3K1GaKb6HxcO4Xlug==} engines: {node: '>=20.18.1'} - easy-table@1.2.0: - resolution: {integrity: sha512-OFzVOv03YpvtcWGe5AayU5G2hgybsg3iqA6drU8UaoZyB9jLGMTrz9+asnLp/E+6qPh88yEI1gvyZFZ41dmgww==} - - enhanced-resolve@5.18.1: - resolution: {integrity: sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==} - engines: {node: '>=10.13.0'} - es-module-lexer@2.1.0: resolution: {integrity: sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==} @@ -1228,6 +1301,9 @@ packages: fastq@1.19.0: resolution: {integrity: sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA==} + fd-package-json@2.0.0: + resolution: {integrity: sha512-jKmm9YtsNXN789RS/0mSzOC1NUq9mkVd65vbSSVsKdjGvYXBuE4oWe2QOEoFeRmJg+lPuZxpmrfFclNhoRMneQ==} + fdir@6.5.0: resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} engines: {node: '>=12.0.0'} @@ -1267,6 +1343,11 @@ packages: resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==} engines: {node: '>=14'} + formatly@0.3.0: + resolution: {integrity: sha512-9XNj/o4wrRFyhSMJOvsuyMwy8aUfBaZ1VrqHVfohyXf0Sw0e+yfKG+xZaY3arGCOMdwFsqObtzVOc1gU9KiT9w==} + engines: {node: '>=18.3.0'} + hasBin: true + fs-extra@7.0.1: resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} engines: {node: '>=6 <7 || >=8'} @@ -1331,10 +1412,6 @@ packages: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} - indent-string@4.0.0: - resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} - inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. @@ -1373,8 +1450,8 @@ packages: resolution: {integrity: sha512-ykkVRwrYvFm1nb2AJfKKYPr0emF6IiXDYUaFx4Zn9ZuIH7MrzEZ3sD5RlqGXNRpHtvUHJyOnCEFxOlNDtGo7wg==} engines: {node: 20 || >=22} - jiti@2.4.2: - resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} + jiti@2.7.0: + resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==} hasBin: true joycon@3.1.1: @@ -1404,13 +1481,13 @@ packages: keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} - knip@5.43.6: - resolution: {integrity: sha512-bUCFlg44imdV5vayYxu0pIAB373S8Ufjda0qaI9oRZDH6ltJFwUoAO2j7nafxDmo5G0ZeP4IiLAHqlc3wYIONQ==} + knip@5.88.1: + resolution: {integrity: sha512-tpy5o7zu1MjawVkLPuahymVJekYY3kYjvzcoInhIchgePxTlo+api90tBv2KfhAIe5uXh+mez1tAfmbv8/TiZg==} engines: {node: '>=18.18.0'} hasBin: true peerDependencies: '@types/node': '>=18' - typescript: '>=5.0.4' + typescript: '>=5.0.4 <7' levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} @@ -1525,6 +1602,9 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} + oxc-resolver@11.20.0: + resolution: {integrity: sha512-CblytBiV/a/ZXY34dsVU2NxhIOxMXst8CvDCtyBelVITgd7PLrKzbEbA6oKLdPjvDKDzCiW48qzmzZ+mYaqn+g==} + p-filter@2.1.0: resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} engines: {node: '>=8'} @@ -1549,10 +1629,6 @@ packages: resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} engines: {node: '>=6'} - p-map@4.0.0: - resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} - engines: {node: '>=10'} - p-try@2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} @@ -1564,10 +1640,6 @@ packages: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} - parse-ms@4.0.0: - resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==} - engines: {node: '>=18'} - path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -1598,10 +1670,6 @@ packages: resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==} engines: {node: '>=8.6'} - picomatch@4.0.2: - resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} - engines: {node: '>=12'} - picomatch@4.0.4: resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} engines: {node: '>=12'} @@ -1651,10 +1719,6 @@ packages: engines: {node: '>=14'} hasBin: true - pretty-ms@9.0.0: - resolution: {integrity: sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==} - engines: {node: '>=18'} - punycode@2.3.1: resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} engines: {node: '>=6'} @@ -1760,8 +1824,8 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - strip-json-comments@5.0.1: - resolution: {integrity: sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw==} + strip-json-comments@5.0.3: + resolution: {integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==} engines: {node: '>=14.16'} sucrase@3.35.1: @@ -1769,17 +1833,10 @@ packages: engines: {node: '>=16 || 14 >=14.17'} hasBin: true - summary@2.1.0: - resolution: {integrity: sha512-nMIjMrd5Z2nuB2RZCKJfFMjgS3fygbeyGk9PxPPaJR1RIcyN9yn4A63Isovzm3ZtQuEkLBVgMdPup8UeLH7aQw==} - supports-color@7.2.0: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} - tapable@2.2.1: - resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} - engines: {node: '>=6'} - tar@7.5.12: resolution: {integrity: sha512-9TsuLcdhOn4XztcQqhNyq1KOwOOED/3k58JAvtULiYqbO8B/0IBAAIE1hj0Svmm58k27TmcigyDI0deMlgG3uw==} engines: {node: '>=18'} @@ -1833,6 +1890,9 @@ packages: ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + tsup@8.5.1: resolution: {integrity: sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==} engines: {node: '>=18'} @@ -1871,6 +1931,10 @@ packages: ufo@1.6.1: resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==} + unbash@2.2.0: + resolution: {integrity: sha512-X2wH19RAPZE3+ldGicOkoj/SIA83OIxcJ6Cuaw23hf8Xc6fQpvZXY0SftE2JgS0QhYLUG4uwodSI3R53keyh7w==} + engines: {node: '>=14'} + underscore@1.13.6: resolution: {integrity: sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==} @@ -1975,8 +2039,9 @@ packages: vscode-languageserver-types@3.17.5: resolution: {integrity: sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==} - wcwidth@1.0.1: - resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + walk-up-path@4.0.0: + resolution: {integrity: sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A==} + engines: {node: 20 || >=22} which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} @@ -2002,23 +2067,17 @@ packages: resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==} engines: {node: '>=18'} - yaml@2.7.0: - resolution: {integrity: sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==} - engines: {node: '>= 14'} + yaml@2.9.0: + resolution: {integrity: sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==} + engines: {node: '>= 14.6'} hasBin: true yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - zod-validation-error@3.3.0: - resolution: {integrity: sha512-Syib9oumw1NTqEv4LT0e6U83Td9aVRk9iTXPUQr1otyV1PuXQKOvOwhMNqZIq5hluzHP2pMgnOmHEo7kPdI2mw==} - engines: {node: '>=18.0.0'} - peerDependencies: - zod: ^3.18.0 - - zod@3.22.4: - resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} + zod@4.4.3: + resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==} snapshots: @@ -2070,6 +2129,22 @@ snapshots: dependencies: '@bufbuild/protobuf': 2.11.0 + '@emnapi/core@1.10.0': + dependencies: + '@emnapi/wasi-threads': 1.2.1 + tslib: 2.8.1 + optional: true + + '@emnapi/runtime@1.10.0': + dependencies: + tslib: 2.8.1 + optional: true + + '@emnapi/wasi-threads@1.2.1': + dependencies: + tslib: 2.8.1 + optional: true + '@esbuild/aix-ppc64@0.27.2': optional: true @@ -2300,29 +2375,85 @@ snapshots: globby: 11.1.0 read-yaml-file: 1.1.0 - '@nodelib/fs.scandir@2.1.5': + '@napi-rs/wasm-runtime@1.1.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 + '@emnapi/core': 1.10.0 + '@emnapi/runtime': 1.10.0 + '@tybys/wasm-util': 0.10.2 + optional: true - '@nodelib/fs.scandir@4.0.1': + '@nodelib/fs.scandir@2.1.5': dependencies: - '@nodelib/fs.stat': 4.0.0 + '@nodelib/fs.stat': 2.0.5 run-parallel: 1.2.0 '@nodelib/fs.stat@2.0.5': {} - '@nodelib/fs.stat@4.0.0': {} - '@nodelib/fs.walk@1.2.8': dependencies: '@nodelib/fs.scandir': 2.1.5 fastq: 1.19.0 - '@nodelib/fs.walk@3.0.1': + '@oxc-resolver/binding-android-arm-eabi@11.20.0': + optional: true + + '@oxc-resolver/binding-android-arm64@11.20.0': + optional: true + + '@oxc-resolver/binding-darwin-arm64@11.20.0': + optional: true + + '@oxc-resolver/binding-darwin-x64@11.20.0': + optional: true + + '@oxc-resolver/binding-freebsd-x64@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-arm-gnueabihf@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-arm-musleabihf@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-arm64-gnu@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-arm64-musl@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-ppc64-gnu@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-riscv64-gnu@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-riscv64-musl@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-s390x-gnu@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-x64-gnu@11.20.0': + optional: true + + '@oxc-resolver/binding-linux-x64-musl@11.20.0': + optional: true + + '@oxc-resolver/binding-openharmony-arm64@11.20.0': + optional: true + + '@oxc-resolver/binding-wasm32-wasi@11.20.0': dependencies: - '@nodelib/fs.scandir': 4.0.1 - fastq: 1.19.0 + '@emnapi/core': 1.10.0 + '@emnapi/runtime': 1.10.0 + '@napi-rs/wasm-runtime': 1.1.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0) + optional: true + + '@oxc-resolver/binding-win32-arm64-msvc@11.20.0': + optional: true + + '@oxc-resolver/binding-win32-x64-msvc@11.20.0': + optional: true '@rollup/rollup-android-arm-eabi@4.39.0': optional: true @@ -2459,12 +2590,6 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.61.0': optional: true - '@snyk/github-codeowners@1.1.0': - dependencies: - commander: 4.1.1 - ignore: 5.3.1 - p-map: 4.0.0 - '@standard-schema/spec@1.1.0': {} '@stylistic/eslint-plugin-js@1.8.1(eslint@8.57.1)': @@ -2486,6 +2611,11 @@ snapshots: - supports-color - typescript + '@tybys/wasm-util@0.10.2': + dependencies: + tslib: 2.8.1 + optional: true + '@types/chai@5.2.3': dependencies: '@types/deep-eql': 4.0.2 @@ -2690,13 +2820,13 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.0 - '@vitest/mocker@4.1.8(vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0))': + '@vitest/mocker@4.1.8(vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0))': dependencies: '@vitest/spy': 4.1.8 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0) + vite: 7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0) '@vitest/pretty-format@4.1.8': dependencies: @@ -2728,11 +2858,6 @@ snapshots: acorn@8.15.0: {} - aggregate-error@3.1.0: - dependencies: - clean-stack: 2.2.0 - indent-string: 4.0.0 - ajv@6.12.6: dependencies: fast-deep-equal: 3.1.3 @@ -2812,11 +2937,6 @@ snapshots: chownr@3.0.0: {} - clean-stack@2.2.0: {} - - clone@1.0.4: - optional: true - color-convert@2.0.1: dependencies: color-name: 1.1.4 @@ -2851,11 +2971,6 @@ snapshots: deep-is@0.1.4: {} - defaults@1.0.4: - dependencies: - clone: 1.0.4 - optional: true - dir-glob@3.0.1: dependencies: path-type: 4.0.0 @@ -2885,17 +3000,6 @@ snapshots: tar: 7.5.12 undici: 7.25.0 - easy-table@1.2.0: - dependencies: - ansi-regex: 5.0.1 - optionalDependencies: - wcwidth: 1.0.1 - - enhanced-resolve@5.18.1: - dependencies: - graceful-fs: 4.2.11 - tapable: 2.2.1 - es-module-lexer@2.1.0: {} esbuild@0.27.2: @@ -3063,6 +3167,10 @@ snapshots: dependencies: reusify: 1.0.4 + fd-package-json@2.0.0: + dependencies: + walk-up-path: 4.0.0 + fdir@6.5.0(picomatch@4.0.4): optionalDependencies: picomatch: 4.0.4 @@ -3104,6 +3212,10 @@ snapshots: cross-spawn: 7.0.6 signal-exit: 4.1.0 + formatly@0.3.0: + dependencies: + fd-package-json: 2.0.0 + fs-extra@7.0.1: dependencies: graceful-fs: 4.2.11 @@ -3175,8 +3287,6 @@ snapshots: imurmurhash@0.1.4: {} - indent-string@4.0.0: {} - inflight@1.0.6: dependencies: once: 1.4.0 @@ -3206,7 +3316,7 @@ snapshots: dependencies: '@isaacs/cliui': 9.0.0 - jiti@2.4.2: {} + jiti@2.7.0: {} joycon@3.1.1: {} @@ -3233,26 +3343,23 @@ snapshots: dependencies: json-buffer: 3.0.1 - knip@5.43.6(@types/node@20.19.41)(typescript@5.7.3): + knip@5.88.1(@types/node@20.19.41)(typescript@5.7.3): dependencies: - '@nodelib/fs.walk': 3.0.1 - '@snyk/github-codeowners': 1.1.0 + '@nodelib/fs.walk': 1.2.8 '@types/node': 20.19.41 - easy-table: 1.2.0 - enhanced-resolve: 5.18.1 fast-glob: 3.3.3 - jiti: 2.4.2 - js-yaml: 4.1.1 + formatly: 0.3.0 + jiti: 2.7.0 minimist: 1.2.8 + oxc-resolver: 11.20.0 picocolors: 1.1.1 - picomatch: 4.0.2 - pretty-ms: 9.0.0 + picomatch: 4.0.4 smol-toml: 1.6.1 - strip-json-comments: 5.0.1 - summary: 2.1.0 + strip-json-comments: 5.0.3 typescript: 5.7.3 - zod: 3.22.4 - zod-validation-error: 3.3.0(zod@3.22.4) + unbash: 2.2.0 + yaml: 2.9.0 + zod: 4.4.3 levn@0.4.1: dependencies: @@ -3360,6 +3467,28 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 + oxc-resolver@11.20.0: + optionalDependencies: + '@oxc-resolver/binding-android-arm-eabi': 11.20.0 + '@oxc-resolver/binding-android-arm64': 11.20.0 + '@oxc-resolver/binding-darwin-arm64': 11.20.0 + '@oxc-resolver/binding-darwin-x64': 11.20.0 + '@oxc-resolver/binding-freebsd-x64': 11.20.0 + '@oxc-resolver/binding-linux-arm-gnueabihf': 11.20.0 + '@oxc-resolver/binding-linux-arm-musleabihf': 11.20.0 + '@oxc-resolver/binding-linux-arm64-gnu': 11.20.0 + '@oxc-resolver/binding-linux-arm64-musl': 11.20.0 + '@oxc-resolver/binding-linux-ppc64-gnu': 11.20.0 + '@oxc-resolver/binding-linux-riscv64-gnu': 11.20.0 + '@oxc-resolver/binding-linux-riscv64-musl': 11.20.0 + '@oxc-resolver/binding-linux-s390x-gnu': 11.20.0 + '@oxc-resolver/binding-linux-x64-gnu': 11.20.0 + '@oxc-resolver/binding-linux-x64-musl': 11.20.0 + '@oxc-resolver/binding-openharmony-arm64': 11.20.0 + '@oxc-resolver/binding-wasm32-wasi': 11.20.0 + '@oxc-resolver/binding-win32-arm64-msvc': 11.20.0 + '@oxc-resolver/binding-win32-x64-msvc': 11.20.0 + p-filter@2.1.0: dependencies: p-map: 2.1.0 @@ -3382,10 +3511,6 @@ snapshots: p-map@2.1.0: {} - p-map@4.0.0: - dependencies: - aggregate-error: 3.1.0 - p-try@2.2.0: {} package-json-from-dist@1.0.1: {} @@ -3394,8 +3519,6 @@ snapshots: dependencies: callsites: 3.1.0 - parse-ms@4.0.0: {} - path-exists@4.0.0: {} path-is-absolute@1.0.1: {} @@ -3415,8 +3538,6 @@ snapshots: picomatch@2.3.2: {} - picomatch@4.0.2: {} - picomatch@4.0.4: {} pify@4.0.1: {} @@ -3431,13 +3552,13 @@ snapshots: platform@1.3.6: {} - postcss-load-config@6.0.1(jiti@2.4.2)(postcss@8.5.15)(yaml@2.7.0): + postcss-load-config@6.0.1(jiti@2.7.0)(postcss@8.5.15)(yaml@2.9.0): dependencies: lilconfig: 3.1.2 optionalDependencies: - jiti: 2.4.2 + jiti: 2.7.0 postcss: 8.5.15 - yaml: 2.7.0 + yaml: 2.9.0 postcss@8.5.15: dependencies: @@ -3449,10 +3570,6 @@ snapshots: prettier@3.6.2: {} - pretty-ms@9.0.0: - dependencies: - parse-ms: 4.0.0 - punycode@2.3.1: {} queue-microtask@1.2.3: {} @@ -3578,7 +3695,7 @@ snapshots: strip-json-comments@3.1.1: {} - strip-json-comments@5.0.1: {} + strip-json-comments@5.0.3: {} sucrase@3.35.1: dependencies: @@ -3590,14 +3707,10 @@ snapshots: tinyglobby: 0.2.15 ts-interface-checker: 0.1.13 - summary@2.1.0: {} - supports-color@7.2.0: dependencies: has-flag: 4.0.0 - tapable@2.2.1: {} - tar@7.5.12: dependencies: '@isaacs/fs-minipass': 4.0.1 @@ -3646,7 +3759,10 @@ snapshots: ts-interface-checker@0.1.13: {} - tsup@8.5.1(jiti@2.4.2)(postcss@8.5.15)(typescript@5.7.3)(yaml@2.7.0): + tslib@2.8.1: + optional: true + + tsup@8.5.1(jiti@2.7.0)(postcss@8.5.15)(typescript@5.7.3)(yaml@2.9.0): dependencies: bundle-require: 5.1.0(esbuild@0.27.2) cac: 6.7.14 @@ -3657,7 +3773,7 @@ snapshots: fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(jiti@2.4.2)(postcss@8.5.15)(yaml@2.7.0) + postcss-load-config: 6.0.1(jiti@2.7.0)(postcss@8.5.15)(yaml@2.9.0) resolve-from: 5.0.0 rollup: 4.39.0 source-map: 0.7.6 @@ -3686,6 +3802,8 @@ snapshots: ufo@1.6.1: {} + unbash@2.2.0: {} + underscore@1.13.6: {} undici-types@6.21.0: {} @@ -3698,7 +3816,7 @@ snapshots: dependencies: punycode: 2.3.1 - vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0): + vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0): dependencies: esbuild: 0.27.7 fdir: 6.5.0(picomatch@4.0.4) @@ -3709,13 +3827,13 @@ snapshots: optionalDependencies: '@types/node': 20.19.41 fsevents: 2.3.3 - jiti: 2.4.2 - yaml: 2.7.0 + jiti: 2.7.0 + yaml: 2.9.0 - vitest@4.1.8(@types/node@20.19.41)(vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0)): + vitest@4.1.8(@types/node@20.19.41)(vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0)): dependencies: '@vitest/expect': 4.1.8 - '@vitest/mocker': 4.1.8(vite@7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0)) + '@vitest/mocker': 4.1.8(vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0)) '@vitest/pretty-format': 4.1.8 '@vitest/runner': 4.1.8 '@vitest/snapshot': 4.1.8 @@ -3732,7 +3850,7 @@ snapshots: tinyexec: 1.2.4 tinyglobby: 0.2.17 tinyrainbow: 3.1.0 - vite: 7.3.2(@types/node@20.19.41)(jiti@2.4.2)(yaml@2.7.0) + vite: 7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.19.41 @@ -3743,10 +3861,7 @@ snapshots: vscode-languageserver-types@3.17.5: {} - wcwidth@1.0.1: - dependencies: - defaults: 1.0.4 - optional: true + walk-up-path@4.0.0: {} which@2.0.2: dependencies: @@ -3765,13 +3880,8 @@ snapshots: yallist@5.0.0: {} - yaml@2.7.0: - optional: true + yaml@2.9.0: {} yocto-queue@0.1.0: {} - zod-validation-error@3.3.0(zod@3.22.4): - dependencies: - zod: 3.22.4 - - zod@3.22.4: {} + zod@4.4.3: {} From 95c4b8e009d92c78db075193a6d398f1fcb7c902 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 14:09:52 +0200 Subject: [PATCH 67/83] Update dependency aiohttp to v3.14.0 (#279) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 4267f640..6434f468 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -12,7 +12,7 @@ pillow==12.2.0 e2b_charts # Other packages -aiohttp==3.13.4 +aiohttp==3.14.0 beautifulsoup4==4.14.3 bokeh==3.9.0 gensim==4.4.0 From 3f67415acdf2f0529263a4ef29f5c24691e359d0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 14:31:42 +0200 Subject: [PATCH 68/83] Update dependency e2b (#280) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 88 +++++++++++++++++++++++----------------------- python/poetry.lock | 6 ++-- 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index caf3cdff..acc389da 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,7 +49,7 @@ importers: dependencies: e2b: specifier: ^2.24.0 - version: 2.24.0 + version: 2.27.1 devDependencies: '@types/node': specifier: ^20.19.19 @@ -83,8 +83,8 @@ packages: resolution: {integrity: sha512-05WQkdpL9COIMz4LjTxGpPNCdlpyimKppYNoJ5Di5EUObifl8t4tuLuUBBZEpoLYOmfvIWrsp9fCl0HoPRVTdA==} engines: {node: '>=6.9.0'} - '@bufbuild/protobuf@2.11.0': - resolution: {integrity: sha512-sBXGT13cpmPR5BMgHE6UEEfEaShh5Ror6rfN3yEK5si7QVrtZg8LEPQb0VVhiLRUslD2yLnXtnRzG035J/mZXQ==} + '@bufbuild/protobuf@2.12.0': + resolution: {integrity: sha512-B/XlCaFIP8LOwzo+bz5uFzATYokcwCKQcghqnlfwSmM5eX/qTkvDBnDPs+gXtX/RyjxJ4DRikECcPJbyALA8FA==} '@changesets/errors@0.2.0': resolution: {integrity: sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==} @@ -1086,11 +1086,11 @@ packages: brace-expansion@1.1.14: resolution: {integrity: sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==} - brace-expansion@2.1.0: - resolution: {integrity: sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==} + brace-expansion@2.1.1: + resolution: {integrity: sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==} - brace-expansion@5.0.5: - resolution: {integrity: sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==} + brace-expansion@5.0.6: + resolution: {integrity: sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==} engines: {node: 18 || 20 || >=22} braces@3.0.3: @@ -1201,8 +1201,8 @@ packages: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} - e2b@2.24.0: - resolution: {integrity: sha512-Vj9BvHRNXbXvlchz6N0Qf8oXBS6Nb3nkh8EvdYBky1f0FEs2+85hMtgJwgKxcbfJlVfzz3K1GaKb6HxcO4Xlug==} + e2b@2.27.1: + resolution: {integrity: sha512-xZ1vXSl4dpWxbvan5vihE2embXzHdlpK1N0CmFUIcj5kdGLpiQXGoQYsz1Dhy8wr9VO724DyRC7Y3iblMElLPQ==} engines: {node: '>=20.18.1'} es-module-lexer@2.1.0: @@ -1515,8 +1515,8 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - lru-cache@11.2.7: - resolution: {integrity: sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA==} + lru-cache@11.5.1: + resolution: {integrity: sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==} engines: {node: 20 || >=22} lru-cache@6.0.0: @@ -1534,8 +1534,8 @@ packages: resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} - minimatch@10.2.4: - resolution: {integrity: sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==} + minimatch@10.2.5: + resolution: {integrity: sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==} engines: {node: 18 || 20 || >=22} minimatch@3.1.2: @@ -1837,8 +1837,8 @@ packages: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} - tar@7.5.12: - resolution: {integrity: sha512-9TsuLcdhOn4XztcQqhNyq1KOwOOED/3k58JAvtULiYqbO8B/0IBAAIE1hj0Svmm58k27TmcigyDI0deMlgG3uw==} + tar@7.5.16: + resolution: {integrity: sha512-56adEpPMouktRlBLXiaYFFzZ/3+JXa8P9n7WbR+ibIjtviN55mEaOkiysCnPnWm+7kkui1Dn8J9l+g6zV8731w==} engines: {node: '>=18'} text-table@0.2.0: @@ -1941,8 +1941,8 @@ packages: undici-types@6.21.0: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} - undici@7.25.0: - resolution: {integrity: sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==} + undici@7.27.0: + resolution: {integrity: sha512-+t2Z/GwkZQDtu00813aP66ygViGtPHKhhoFZpQKpKrE+9jIgES+Zw+mFNaDWOVRKiuJjuqKHzD3B1sfGg8+ZOQ==} engines: {node: '>=20.18.1'} universalify@0.1.2: @@ -2036,8 +2036,8 @@ packages: vscode-languageserver-textdocument@1.0.12: resolution: {integrity: sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==} - vscode-languageserver-types@3.17.5: - resolution: {integrity: sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==} + vscode-languageserver-types@3.18.0: + resolution: {integrity: sha512-8TsGPNMIMiiBdkORgRSvLjuiEIiAFtO+KssmYWxQ+uSVvlf7RjK8YKCOjPzZ+YA04jXEV7+7LvkSmHkhpNS99g==} walk-up-path@4.0.0: resolution: {integrity: sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A==} @@ -2083,7 +2083,7 @@ snapshots: '@babel/runtime@7.28.6': {} - '@bufbuild/protobuf@2.11.0': {} + '@bufbuild/protobuf@2.12.0': {} '@changesets/errors@0.2.0': dependencies: @@ -2120,14 +2120,14 @@ snapshots: '@changesets/types@6.1.0': {} - '@connectrpc/connect-web@2.0.0-rc.3(@bufbuild/protobuf@2.11.0)(@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.11.0))': + '@connectrpc/connect-web@2.0.0-rc.3(@bufbuild/protobuf@2.12.0)(@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.12.0))': dependencies: - '@bufbuild/protobuf': 2.11.0 - '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.11.0) + '@bufbuild/protobuf': 2.12.0 + '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.12.0) - '@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.11.0)': + '@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.12.0)': dependencies: - '@bufbuild/protobuf': 2.11.0 + '@bufbuild/protobuf': 2.12.0 '@emnapi/core@1.10.0': dependencies: @@ -2896,11 +2896,11 @@ snapshots: balanced-match: 1.0.2 concat-map: 0.0.1 - brace-expansion@2.1.0: + brace-expansion@2.1.1: dependencies: balanced-match: 1.0.2 - brace-expansion@5.0.5: + brace-expansion@5.0.6: dependencies: balanced-match: 4.0.4 @@ -2978,7 +2978,7 @@ snapshots: dockerfile-ast@0.7.1: dependencies: vscode-languageserver-textdocument: 1.0.12 - vscode-languageserver-types: 3.17.5 + vscode-languageserver-types: 3.18.0 doctrine@3.0.0: dependencies: @@ -2986,19 +2986,19 @@ snapshots: dotenv@16.6.1: {} - e2b@2.24.0: + e2b@2.27.1: dependencies: - '@bufbuild/protobuf': 2.11.0 - '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.11.0) - '@connectrpc/connect-web': 2.0.0-rc.3(@bufbuild/protobuf@2.11.0)(@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.11.0)) + '@bufbuild/protobuf': 2.12.0 + '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.12.0) + '@connectrpc/connect-web': 2.0.0-rc.3(@bufbuild/protobuf@2.12.0)(@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.12.0)) chalk: 5.6.2 compare-versions: 6.1.1 dockerfile-ast: 0.7.1 glob: 11.1.0 openapi-fetch: 0.14.1 platform: 1.3.6 - tar: 7.5.12 - undici: 7.25.0 + tar: 7.5.16 + undici: 7.27.0 es-module-lexer@2.1.0: {} @@ -3245,7 +3245,7 @@ snapshots: dependencies: foreground-child: 3.3.1 jackspeak: 4.2.3 - minimatch: 10.2.4 + minimatch: 10.2.5 minipass: 7.1.3 package-json-from-dist: 1.0.1 path-scurry: 2.0.2 @@ -3382,7 +3382,7 @@ snapshots: lodash.merge@4.6.2: {} - lru-cache@11.2.7: {} + lru-cache@11.5.1: {} lru-cache@6.0.0: dependencies: @@ -3399,9 +3399,9 @@ snapshots: braces: 3.0.3 picomatch: 2.3.2 - minimatch@10.2.4: + minimatch@10.2.5: dependencies: - brace-expansion: 5.0.5 + brace-expansion: 5.0.6 minimatch@3.1.2: dependencies: @@ -3409,11 +3409,11 @@ snapshots: minimatch@9.0.3: dependencies: - brace-expansion: 2.1.0 + brace-expansion: 2.1.1 minimatch@9.0.9: dependencies: - brace-expansion: 2.1.0 + brace-expansion: 2.1.1 minimist@1.2.8: {} @@ -3527,7 +3527,7 @@ snapshots: path-scurry@2.0.2: dependencies: - lru-cache: 11.2.7 + lru-cache: 11.5.1 minipass: 7.1.3 path-type@4.0.0: {} @@ -3711,7 +3711,7 @@ snapshots: dependencies: has-flag: 4.0.0 - tar@7.5.12: + tar@7.5.16: dependencies: '@isaacs/fs-minipass': 4.0.1 chownr: 3.0.0 @@ -3808,7 +3808,7 @@ snapshots: undici-types@6.21.0: {} - undici@7.25.0: {} + undici@7.27.0: {} universalify@0.1.2: {} @@ -3859,7 +3859,7 @@ snapshots: vscode-languageserver-textdocument@1.0.12: {} - vscode-languageserver-types@3.17.5: {} + vscode-languageserver-types@3.18.0: {} walk-up-path@4.0.0: {} diff --git a/python/poetry.lock b/python/poetry.lock index 52e9fbea..ac39c072 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -178,13 +178,13 @@ files = [ [[package]] name = "e2b" -version = "2.23.1" +version = "2.25.1" description = "E2B SDK that give agents cloud environments" optional = false python-versions = "<4.0,>=3.10" files = [ - {file = "e2b-2.23.1-py3-none-any.whl", hash = "sha256:55a7d2d51b091a21a972eb4a284170bf8c0fd1a1564c44eaea8f2cd0b1195e9d"}, - {file = "e2b-2.23.1.tar.gz", hash = "sha256:ce8cfd388c2e4f8a9467cc363000746b68ecf7d48d9e6af5f81ad7e6d4756bce"}, + {file = "e2b-2.25.1-py3-none-any.whl", hash = "sha256:5ea5d1766082c1db504f86ebe17abe8b6a07f33d8addfb1a7778fae4a9549891"}, + {file = "e2b-2.25.1.tar.gz", hash = "sha256:b87f8da3bbcce613e1bef9a90c46ef042a053f3f311b5ab45fcff5bdf1b1b425"}, ] [package.dependencies] From 6f7af58a40a2bfaf397625c907fc53c8e4ed6376 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Wed, 3 Jun 2026 17:29:17 +0200 Subject: [PATCH 69/83] Bump jupyter-server to 2.18.0 and pin root_dir (#286) * Bump jupyter-server in /template in the pip group across 1 directory Bumps the pip group with 1 update in the /template directory: [jupyter-server](https://github.com/jupyter-server/jupyter_server). Updates `jupyter-server` from 2.16.0 to 2.18.0 - [Release notes](https://github.com/jupyter-server/jupyter_server/releases) - [Changelog](https://github.com/jupyter-server/jupyter_server/blob/main/CHANGELOG.md) - [Commits](https://github.com/jupyter-server/jupyter_server/compare/v2.16.0...v2.18.0) --- updated-dependencies: - dependency-name: jupyter-server dependency-version: 2.18.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Pin jupyter-server root_dir for 2.18.0 path-traversal hardening jupyter-server 2.18.0 (CVE-2026-35397) rejects session creation when the contents root resolves to "/", which is the systemd process cwd. Pin root_dir to /home/user so POST /api/sessions succeeds. Co-Authored-By: Claude Opus 4.8 * Add changeset for jupyter-server root_dir pin Co-Authored-By: Claude Opus 4.8 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 --- .changeset/cold-pillows-grow.md | 5 +++++ template/jupyter_server_config.py | 13 +++++++++++++ template/requirements.txt | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .changeset/cold-pillows-grow.md diff --git a/.changeset/cold-pillows-grow.md b/.changeset/cold-pillows-grow.md new file mode 100644 index 00000000..a60c8b88 --- /dev/null +++ b/.changeset/cold-pillows-grow.md @@ -0,0 +1,5 @@ +--- +"@e2b/code-interpreter-template": patch +--- + +Pin `jupyter-server` `root_dir` to `/home/user` so session creation keeps working with jupyter-server 2.18.0's path-traversal hardening diff --git a/template/jupyter_server_config.py b/template/jupyter_server_config.py index 5400d8fe..663682cc 100644 --- a/template/jupyter_server_config.py +++ b/template/jupyter_server_config.py @@ -3,6 +3,19 @@ c = get_config() # noqa +# Pin the contents root directory. +# +# Sessions are created with a relative path (a bare uuid, see +# server/contexts.py). Without an explicit root_dir, jupyter-server +# inherits the process working directory as its root — which is "/" +# under systemd (jupyter.service has no WorkingDirectory). Since +# jupyter-server 2.18.0 (CVE-2026-35397 path-traversal hardening), a +# root_dir of "/" makes every POST /api/sessions fail with +# " is outside root contents directory", so the server never +# starts. Pinning it to /home/user matches the execution cwd. +c.ServerApp.root_dir = "/home/user" + + # Set the Access-Control-Allow-Origin header # # Use '*' to allow any origin to access your server. diff --git a/template/requirements.txt b/template/requirements.txt index 6434f468..71e7146b 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -1,5 +1,5 @@ # Jupyter server requirements -jupyter-server==2.16.0 +jupyter-server==2.18.0 ipykernel==6.31.0 ipython==9.14.0 From cf9e09560df1fe78fe3655a7ed52615eadc05761 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 3 Jun 2026 15:43:40 +0000 Subject: [PATCH 70/83] [skip ci] Release new versions --- .changeset/cold-pillows-grow.md | 5 ----- template/package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/cold-pillows-grow.md diff --git a/.changeset/cold-pillows-grow.md b/.changeset/cold-pillows-grow.md deleted file mode 100644 index a60c8b88..00000000 --- a/.changeset/cold-pillows-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@e2b/code-interpreter-template": patch ---- - -Pin `jupyter-server` `root_dir` to `/home/user` so session creation keeps working with jupyter-server 2.18.0's path-traversal hardening diff --git a/template/package.json b/template/package.json index 627797d6..ae911686 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.4.2", + "version": "0.4.3", "scripts": { "lint": "ruff check .", "format": "ruff format ." From 8115b1dbdf2a76d946a7f5cf8a1ab7aca0bec12f Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Thu, 4 Jun 2026 15:53:33 +0200 Subject: [PATCH 71/83] Add template debugging tooling and surface Jupyter logs (#288) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add template debugging tooling and surface Jupyter logs Send Jupyter's stdout to the systemd journal instead of /dev/null so startup errors (e.g. failed session creation) are visible via `journalctl -u jupyter`. Add a `make debug-template` workflow (build_debug.py + debug_logs.py) that builds the template via the real systemd start path with a timeout ready-gate, then spawns a sandbox and dumps the jupyter and code-interpreter service journals — for diagnosing a server that fails its readiness check. make_template() gains an optional `ready` override to support this. Co-Authored-By: Claude Opus 4.8 * Fix wait_for_timeout units in build_debug (ms, not s) wait_for_timeout takes milliseconds (min 1000ms), so 60 collapsed to a 1s ready-gate. Use 60_000 for the intended 60s. Co-Authored-By: Claude Opus 4.8 * Harden debug_logs against command/sandbox timeouts Address Cursor Bugbot review on PR #288: - Bump sandbox TTL 180s -> 600s so the full diagnostic sequence (sleep + per-command 60s budgets) can't outlive the sandbox. - Wrap each command in try/except so one slow or failing command no longer aborts the loop and skips the remaining journals/probes. Co-Authored-By: Claude Opus 4.8 * Drop redundant sleep in debug_logs The start command runs at build time and the resulting state is snapshotted, so a resumed sandbox already has the services running (and their journals populated). No need to wait after create. Co-Authored-By: Claude Opus 4.8 * Type the make_template ready parameter Annotate `ready` as `ReadyCmd | None` (the type returned by wait_for_url/wait_for_timeout and accepted by set_start_cmd). Co-Authored-By: Claude Opus 4.8 * Add --max-time to debug_logs health probes A port that accepts TCP but never sends an HTTP response (the half-broken state this tool diagnoses) would otherwise hang curl until the 60s command timeout. --max-time 3 makes each probe fail fast. Co-Authored-By: Claude Opus 4.8 * Route Jupyter stdout to journal only in debug builds Keep production at StandardOutput=null. make_template(debug=True) now applies a systemd drop-in (jupyter-debug.conf) that flips Jupyter's stdout to the journal, and build_debug.py opts in. Production template behavior is unchanged. Co-Authored-By: Claude Opus 4.8 * Drop redundant systemctl daemon-reload from template build systemd lazily loads the freshly-copied units (and their drop-ins) on the first `systemctl start` at end of build, so the explicit daemon-reload was a no-op. Verified the prod build still reaches a healthy /health gate without it. Co-Authored-By: Claude Opus 4.8 * Drop changeset; debug tooling needs no template release The published template artifact is unchanged (jupyter.service matches main, daemon-reload removal yields an identical image, the journal drop-in only ships in debug builds). Remaining changes are the build script, dev-only scripts, and docs — no version bump warranted. Co-Authored-By: Claude Opus 4.8 --------- Co-authored-by: Claude Opus 4.8 --- Makefile | 3 +++ template/README.md | 32 ++++++++++++++++++++++++++ template/build_debug.py | 23 +++++++++++++++++++ template/debug_logs.py | 35 +++++++++++++++++++++++++++++ template/systemd/jupyter-debug.conf | 5 +++++ template/template.py | 31 ++++++++++++++----------- 6 files changed, 116 insertions(+), 13 deletions(-) create mode 100644 template/build_debug.py create mode 100644 template/debug_logs.py create mode 100644 template/systemd/jupyter-debug.conf diff --git a/Makefile b/Makefile index 99efa3b8..c1b25fea 100644 --- a/Makefile +++ b/Makefile @@ -3,3 +3,6 @@ start-template-server: kill-template-server: docker kill $(shell docker ps --filter expose=49999 --format {{.ID}}) + +debug-template: + cd template && python build_debug.py && python debug_logs.py diff --git a/template/README.md b/template/README.md index 19039fc4..31f89a90 100644 --- a/template/README.md +++ b/template/README.md @@ -55,3 +55,35 @@ sbx = Sandbox.create(template="code-interpreter-custom") execution = sbx.run_code("print('Hello, World!')") print(execution.logs.stdout) ``` + +## Debugging a server that won't start + +The template runs Jupyter and the code-interpreter server as **systemd** +services (`systemd/jupyter.service`, `systemd/code-interpreter.service`). This is +the path CI and production use — note it is *different* from `make +start-template-server`, which runs the Docker `start-up.sh` path. The two can +diverge, so a server that boots fine under Docker may still fail under systemd. + +When a build fails its readiness check (`Waiting for template to be ready ... +timed out`), the real cause is in the service journals. To see them: + +``` +make debug-template +``` + +This builds a debug template (gated on a fixed timeout instead of `/health`, so +it finalizes even while the server is crash-looping), spawns a sandbox, and +prints `systemctl status` + the full `journalctl` for both services. It needs +`template/.env` with your `E2B_API_KEY` and the deps from `requirements-dev.txt`. + +The debug build also applies a systemd drop-in that routes Jupyter's stdout to +the journal (`make_template(debug=True)`). Production builds keep +`StandardOutput=null`, so Jupyter's request/error logs are only captured in the +debug template. + +Inside a running sandbox you can also inspect things directly: + +``` +journalctl -u jupyter -u code-interpreter +systemctl status code-interpreter +``` diff --git a/template/build_debug.py b/template/build_debug.py new file mode 100644 index 00000000..f4dc63b4 --- /dev/null +++ b/template/build_debug.py @@ -0,0 +1,23 @@ +import os + +from dotenv import load_dotenv +from e2b import Template, default_build_logger, wait_for_timeout +from template import make_template + +load_dotenv() + +alias = os.getenv("E2B_DEBUG_TEMPLATE", "code-interpreter-debug") + +Template.build( + make_template( + kernels=["python", "javascript"], + ready=wait_for_timeout(60_000), + debug=True, + ), + alias=alias, + cpu_count=2, + memory_mb=2048, + on_build_logs=default_build_logger(min_level="debug"), +) + +print(f"Built debug template: {alias}") diff --git a/template/debug_logs.py b/template/debug_logs.py new file mode 100644 index 00000000..cdd7b49a --- /dev/null +++ b/template/debug_logs.py @@ -0,0 +1,35 @@ +import os + +from dotenv import load_dotenv +from e2b import Sandbox + +load_dotenv() + +alias = os.getenv("E2B_DEBUG_TEMPLATE", "code-interpreter-debug") + +sbx = Sandbox.create(template=alias, timeout=600) +print(f"sandbox: {sbx.sandbox_id}") + +CMDS = [ + "systemctl --no-pager status jupyter || true", + "systemctl --no-pager status code-interpreter || true", + "journalctl --no-pager -u jupyter || true", + "journalctl --no-pager -u code-interpreter || true", + "curl -s --max-time 3 -o /dev/null -w 'jupyter :8888 -> %{http_code}\\n' http://localhost:8888/api/status || true", + "curl -s --max-time 3 -o /dev/null -w 'server :49999 -> %{http_code}\\n' http://localhost:49999/health || true", +] + +try: + for cmd in CMDS: + print(f"\n===== $ {cmd} =====") + try: + result = sbx.commands.run(f"sudo bash -lc {cmd!r}", timeout=60) + if result.stdout: + print(result.stdout) + if result.stderr: + print("[stderr]", result.stderr) + except Exception as e: + # Keep going so one slow/failed command doesn't skip the rest. + print(f"[command failed] {e}") +finally: + sbx.kill() diff --git a/template/systemd/jupyter-debug.conf b/template/systemd/jupyter-debug.conf new file mode 100644 index 00000000..89377a6f --- /dev/null +++ b/template/systemd/jupyter-debug.conf @@ -0,0 +1,5 @@ +# Debug-only drop-in: route Jupyter's stdout to the journal (the base unit +# sends it to /dev/null) so ServerApp request/error logs are visible via +# `journalctl -u jupyter`. Applied only by `make_template(debug=True)`. +[Service] +StandardOutput=journal diff --git a/template/template.py b/template/template.py index 62fec9e2..fd8dd937 100644 --- a/template/template.py +++ b/template/template.py @@ -1,9 +1,11 @@ -from e2b import Template, wait_for_url +from e2b import ReadyCmd, Template, wait_for_url def make_template( kernels: list[str] = ["python", "r", "javascript", "bash", "java"], is_docker: bool = False, + ready: ReadyCmd | None = None, + debug: bool = False, ): enabled_kernels = set(["python", "javascript"] + kernels) # Start with base template @@ -104,16 +106,18 @@ def make_template( ) if not is_docker: - template = ( - template.copy( - "systemd/jupyter.service", "/etc/systemd/system/jupyter.service" - ) - .copy( - "systemd/code-interpreter.service", - "/etc/systemd/system/code-interpreter.service", - ) - .run_cmd("systemctl daemon-reload") + template = template.copy( + "systemd/jupyter.service", "/etc/systemd/system/jupyter.service" + ).copy( + "systemd/code-interpreter.service", + "/etc/systemd/system/code-interpreter.service", ) + if debug: + # Drop-in that routes Jupyter's stdout to the journal for debugging. + template = template.copy( + "systemd/jupyter-debug.conf", + "/etc/systemd/system/jupyter.service.d/debug.conf", + ) else: template = template.copy("start-up.sh", ".jupyter/start-up.sh").run_cmd( "chmod +x .jupyter/start-up.sh" @@ -136,6 +140,7 @@ def make_template( else: start_cmd = "sudo systemctl start jupyter" - return template.set_start_cmd( - start_cmd, wait_for_url("http://localhost:49999/health") - ) + if ready is None: + ready = wait_for_url("http://localhost:49999/health") + + return template.set_start_cmd(start_cmd, ready) From d587b8c5b42509e101fba56d1be21c9451955538 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Fri, 5 Jun 2026 15:18:25 +0200 Subject: [PATCH 72/83] docs: document building the template with build_prod.py (#289) * docs: document building the template with build_prod.py Rename the customizing section, add an env-vars step, and document building the production template via template/build_prod.py. Co-Authored-By: Claude Opus 4.8 * Update README.md * Update README.md * Update README.md * docs: reference template guide from main README Co-Authored-By: Claude Opus 4.8 --------- Co-authored-by: Claude Opus 4.8 --- README.md | 3 +++ template/README.md | 43 +++++++++++++++++++++++++++++++++++++++---- 2 files changed, 42 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4e6c788a..1b5216f9 100644 --- a/README.md +++ b/README.md @@ -72,3 +72,6 @@ Visit [E2B documentation](https://e2b.dev/docs). ### 5. E2B cookbook Visit our [Cookbook](https://github.com/e2b-dev/e2b-cookbook/tree/main) to get inspired by examples with different LLMs and AI frameworks. + +## Customizing the sandbox template +Need extra packages or a different runtime? You can build your own Code Interpreter sandbox template. See the [template guide](/template/README.md) for a step-by-step walkthrough of creating, building, and using a custom template (as well as building the production `code-interpreter-v1` template). diff --git a/template/README.md b/template/README.md index 31f89a90..4f64fabe 100644 --- a/template/README.md +++ b/template/README.md @@ -1,8 +1,37 @@ -# Using custom sandbox with Code Interpreter SDK +# Code Interpreter + +## Building the production template + +To build the official `code-interpreter-v1` template from this repo, use +`build_prod.py`. This is the script CI and releases run. + +1. Install the build dependencies: + +``` +pip install -r requirements-dev.txt +``` + +2. Provide your credentials in `.env`: + +``` +E2B_API_KEY=e2b_*** +``` + +3. Build the template: + +``` +python build_prod.py +``` + +Set `SKIP_CACHE=true` to force a clean rebuild that ignores the layer cache: + +``` +SKIP_CACHE=true python build_prod.py +``` If you want to customize the Code Interpreter sandbox (e.g.: add a preinstalled package) you can do that by creating a [custom sandbox template](https://e2b.dev/docs/template/quickstart). -## Step-by-step guide +## Creating a custom template 1. Install E2B SDK @@ -40,13 +69,19 @@ Template.build( ) ``` -3. Build the template: +4. Set your environment variables in a `.env` file (loaded by `load_dotenv()`): + +``` +E2B_API_KEY=e2b_*** +``` + +5. Build the template: ``` python build.py ``` -4. Use the custom template: +6. Use the custom template: ```python from e2b import Sandbox From 94bebe856d2d26bc03164a41ffa418d4399cd3cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Nov=C3=A1k?= Date: Sat, 6 Jun 2026 08:59:38 +0200 Subject: [PATCH 73/83] chore: bump e2b (#290) * chore: bump e2b with custom header options * FIx changeset Bump E2B package to include API-only custom header options for JavaScript and Python SDKs. --- .changeset/quiet-bears-clap.md | 6 ++++++ js/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- python/poetry.lock | 8 ++++---- python/pyproject.toml | 2 +- 5 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 .changeset/quiet-bears-clap.md diff --git a/.changeset/quiet-bears-clap.md b/.changeset/quiet-bears-clap.md new file mode 100644 index 00000000..e8efc189 --- /dev/null +++ b/.changeset/quiet-bears-clap.md @@ -0,0 +1,6 @@ +--- +'@e2b/code-interpreter': minor +'@e2b/code-interpreter-python': minor +--- + +Bump E2B package: add API-only custom header options for the JavaScript and Python SDKs diff --git a/js/package.json b/js/package.json index 9421424a..27025956 100644 --- a/js/package.json +++ b/js/package.json @@ -71,6 +71,6 @@ "defaults" ], "dependencies": { - "e2b": "^2.24.0" + "e2b": "^2.28.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acc389da..164d0200 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: js: dependencies: e2b: - specifier: ^2.24.0 - version: 2.27.1 + specifier: ^2.28.0 + version: 2.28.0 devDependencies: '@types/node': specifier: ^20.19.19 @@ -1201,8 +1201,8 @@ packages: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} - e2b@2.27.1: - resolution: {integrity: sha512-xZ1vXSl4dpWxbvan5vihE2embXzHdlpK1N0CmFUIcj5kdGLpiQXGoQYsz1Dhy8wr9VO724DyRC7Y3iblMElLPQ==} + e2b@2.28.0: + resolution: {integrity: sha512-ptvySeKFFwz+bJbGIT6WGRkLr+Xwo1/oicf82cFuMepPXdRd3CrJoZ8FGnu+XWHRSJlOKBfCWENrDZmg4oKTtQ==} engines: {node: '>=20.18.1'} es-module-lexer@2.1.0: @@ -2986,7 +2986,7 @@ snapshots: dotenv@16.6.1: {} - e2b@2.27.1: + e2b@2.28.0: dependencies: '@bufbuild/protobuf': 2.12.0 '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.12.0) diff --git a/python/poetry.lock b/python/poetry.lock index ac39c072..8cfb8d1e 100644 --- a/python/poetry.lock +++ b/python/poetry.lock @@ -178,13 +178,13 @@ files = [ [[package]] name = "e2b" -version = "2.25.1" +version = "2.26.0" description = "E2B SDK that give agents cloud environments" optional = false python-versions = "<4.0,>=3.10" files = [ - {file = "e2b-2.25.1-py3-none-any.whl", hash = "sha256:5ea5d1766082c1db504f86ebe17abe8b6a07f33d8addfb1a7778fae4a9549891"}, - {file = "e2b-2.25.1.tar.gz", hash = "sha256:b87f8da3bbcce613e1bef9a90c46ef042a053f3f311b5ab45fcff5bdf1b1b425"}, + {file = "e2b-2.26.0-py3-none-any.whl", hash = "sha256:55cdb88b30d3026084fff862275815d88ffd37665814f73f09beea9c057de5bc"}, + {file = "e2b-2.26.0.tar.gz", hash = "sha256:e140aec56c29a34706cdaf1bbe4dc1858ac38c7bed87145795019cf321866a2f"}, ] [package.dependencies] @@ -1148,4 +1148,4 @@ bracex = ">=2.1.1" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "eaf5b7c74ed5b658d308d5ca93601080221ae823e6881c04b06b287b964f2d5f" +content-hash = "4b9fdae45121bdfe70eafce86abac886c8379200b6689d0d99a24aef87b152d7" diff --git a/python/pyproject.toml b/python/pyproject.toml index 46cdb32e..b618c964 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -14,7 +14,7 @@ python = "^3.10" httpx = ">=0.20.0, <1.0.0" attrs = ">=21.3.0" -e2b = "^2.23.1" +e2b = "^2.26.0" [tool.poetry.group.dev.dependencies] pytest = "^9.0.3" From efadb49cc87e06766bdb1cc6f33d3c54cd3e2607 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 6 Jun 2026 07:01:20 +0000 Subject: [PATCH 74/83] [skip ci] Release new versions --- .changeset/quiet-bears-clap.md | 6 ------ js/package.json | 2 +- python/package.json | 2 +- python/pyproject.toml | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 .changeset/quiet-bears-clap.md diff --git a/.changeset/quiet-bears-clap.md b/.changeset/quiet-bears-clap.md deleted file mode 100644 index e8efc189..00000000 --- a/.changeset/quiet-bears-clap.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2b/code-interpreter': minor -'@e2b/code-interpreter-python': minor ---- - -Bump E2B package: add API-only custom header options for the JavaScript and Python SDKs diff --git a/js/package.json b/js/package.json index 27025956..797763cf 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "@e2b/code-interpreter", - "version": "2.5.0", + "version": "2.6.0", "packageManager": "pnpm@9.15.9", "description": "E2B Code Interpreter - Stateful code execution", "homepage": "https://e2b.dev", diff --git a/python/package.json b/python/package.json index 5530a546..b533e8f3 100644 --- a/python/package.json +++ b/python/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-python", "private": true, - "version": "2.7.0", + "version": "2.8.0", "packageManager": "pnpm@9.15.9", "scripts": { "test": "poetry run pytest -n 4 --verbose -x", diff --git a/python/pyproject.toml b/python/pyproject.toml index b618c964..33381043 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "e2b-code-interpreter" -version = "2.7.0" +version = "2.8.0" description = "E2B Code Interpreter - Stateful code execution" authors = ["e2b "] license = "MIT" From fe3e5db60ba8f1b13623289a1b17a6f7e1a18f67 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Wed, 17 Jun 2026 11:57:14 +0200 Subject: [PATCH 75/83] Throw descriptive error when sandbox is killed mid-request (#291) * Throw descriptive error when sandbox is killed mid-request When the sandbox is killed or times out while a request to the Jupyter server is in flight (runCode/run_code or context management), the SDKs surfaced a raw socket error (e.g. ECONNRESET). Now they detect the closed connection, confirm the sandbox is gone via its health check, and throw a descriptive SandboxError/SandboxException instead. If the sandbox is still running (or its state can't be determined), the original error propagates unchanged. Co-Authored-By: Claude Fable 5 * Fix Prettier formatting of e2b import Co-Authored-By: Claude Fable 5 * Use TimeoutError for confirmed sandbox-killed errors Matches the existing 502 mapping in extractError/extract_exception and the base SDK convention: a dead sandbox surfaces as TimeoutError / TimeoutException. When the health probe is inconclusive or the sandbox is still running, the original transport error propagates unchanged. Co-Authored-By: Claude Fable 5 * Merge sandbox-killed check and request timeout formatting Consolidate the two-line catch handler into a single formatRequestError call that returns the error to throw, matching the main SDK pattern (e2b-dev/E2B#1419). Co-Authored-By: Claude Opus 4.8 (1M context) * Rename error handlers to match main SDK conventions Align with e2b-dev/E2B#1419, which names the health-check-aware error wrappers handle*Error / handle_*_exception: - JS: formatRequestError -> handleRequestError - Python: _raise_if_sandbox_killed -> _handle_connection_error Co-Authored-By: Claude Opus 4.8 (1M context) * Keep killed-sandbox tests in-flight until the kill The kill-during-execution tests used time.sleep(60), which in JS matched the default execution timeout (DEFAULT_TIMEOUT_MS = 60s). A slow kill could let the body-timer abort (or the sleep completing) end the request instead of the connection reset, masking the sandbox-killed path the test asserts. Bump the sleep to 300s and set an explicit execution timeout well beyond the kill + disconnect-detection window so the sandbox kill is the only thing that ends the request, matching the interrupt test's convention. Add a 60s vitest timeout to the JS test for the disconnect-detection window. Co-Authored-By: Claude Opus 4.8 (1M context) --------- Co-authored-by: Claude Fable 5 --- .changeset/grumpy-sloths-relax.md | 6 ++++ js/src/sandbox.ts | 36 +++++++++++++++---- js/src/utils.ts | 29 +++++++++++++++ js/tests/killedSandbox.test.ts | 30 ++++++++++++++++ .../code_interpreter_async.py | 33 +++++++++++++++++ .../code_interpreter_sync.py | 33 +++++++++++++++++ python/e2b_code_interpreter/exceptions.py | 7 ++++ python/tests/async/test_async_killed.py | 27 ++++++++++++++ python/tests/sync/test_killed.py | 25 +++++++++++++ 9 files changed, 220 insertions(+), 6 deletions(-) create mode 100644 .changeset/grumpy-sloths-relax.md create mode 100644 js/tests/killedSandbox.test.ts create mode 100644 python/tests/async/test_async_killed.py create mode 100644 python/tests/sync/test_killed.py diff --git a/.changeset/grumpy-sloths-relax.md b/.changeset/grumpy-sloths-relax.md new file mode 100644 index 00000000..ea5eae37 --- /dev/null +++ b/.changeset/grumpy-sloths-relax.md @@ -0,0 +1,6 @@ +--- +'@e2b/code-interpreter': patch +'@e2b/code-interpreter-python': patch +--- + +Throw a descriptive `TimeoutError`/`TimeoutException` instead of a raw socket error (e.g. `ECONNRESET`) when the sandbox is killed or times out while a request (`runCode`/`run_code`, context management) is in progress diff --git a/js/src/sandbox.ts b/js/src/sandbox.ts index 0b320cc6..14aef88e 100644 --- a/js/src/sandbox.ts +++ b/js/src/sandbox.ts @@ -1,4 +1,4 @@ -import { Sandbox as BaseSandbox, InvalidArgumentError } from 'e2b' +import { Sandbox as BaseSandbox, InvalidArgumentError, TimeoutError } from 'e2b' import { Result, @@ -11,6 +11,7 @@ import { import { formatExecutionTimeoutError, formatRequestTimeoutError, + isConnectionClosedError, readLines, } from './utils' import { JUPYTER_PORT, DEFAULT_TIMEOUT_MS } from './consts' @@ -278,7 +279,7 @@ export class Sandbox extends BaseSandbox { return execution } catch (error) { - throw formatRequestTimeoutError(error) + throw await this.handleRequestError(error) } } @@ -317,7 +318,7 @@ export class Sandbox extends BaseSandbox { return await res.json() } catch (error) { - throw formatRequestTimeoutError(error) + throw await this.handleRequestError(error) } } @@ -353,7 +354,7 @@ export class Sandbox extends BaseSandbox { throw error } } catch (error) { - throw formatRequestTimeoutError(error) + throw await this.handleRequestError(error) } } @@ -388,7 +389,7 @@ export class Sandbox extends BaseSandbox { return await res.json() } catch (error) { - throw formatRequestTimeoutError(error) + throw await this.handleRequestError(error) } } @@ -424,7 +425,30 @@ export class Sandbox extends BaseSandbox { throw error } } catch (error) { - throw formatRequestTimeoutError(error) + throw await this.handleRequestError(error) } } + + /** + * Returns the error to throw for a failed request. If the connection was + * closed because the sandbox was killed mid-request, returns a descriptive + * `TimeoutError`. Otherwise falls back to formatting request timeouts and + * re-throwing the original error. + */ + private async handleRequestError(error: unknown): Promise { + if ( + isConnectionClosedError(error) && + // If the state check itself fails we can't tell whether the sandbox + // was killed — assume it's running so we re-throw the original error + // instead of wrongly claiming the sandbox is gone. + (await this.isRunning().catch(() => true)) === false + ) { + return new TimeoutError( + 'The sandbox was killed while the request was in progress. This can happen when the sandbox times out or is killed manually. ' + + "You can modify the sandbox timeout by passing 'timeoutMs' when starting the sandbox or calling '.setTimeout' on the sandbox with the desired timeout." + ) + } + + return formatRequestTimeoutError(error) + } } diff --git a/js/src/utils.ts b/js/src/utils.ts index 0bf73c3c..060458e4 100644 --- a/js/src/utils.ts +++ b/js/src/utils.ts @@ -20,6 +20,35 @@ export function formatExecutionTimeoutError(error: unknown) { return error } +const CONNECTION_CLOSED_CODES = ['ECONNRESET', 'EPIPE', 'UND_ERR_SOCKET'] + +/** + * Checks if the error means the connection was closed/reset while the request + * was in flight. The shape of this error is runtime-specific — Bun and Deno + * set a `code` directly, while Node's fetch (undici) wraps the socket error + * in the `cause` of a generic `TypeError`. + */ +export function isConnectionClosedError(error: unknown): boolean { + if (!(error instanceof Error)) { + return false + } + + const code = (error as { code?: unknown }).code + if (typeof code === 'string' && CONNECTION_CLOSED_CODES.includes(code)) { + return true + } + + if (error.name === 'ConnectionReset' || error.name === 'ConnectionClosed') { + return true + } + + if (error.cause) { + return isConnectionClosedError(error.cause) + } + + return false +} + export async function* readLines(stream: ReadableStream) { const reader = stream.getReader() let buffer = '' diff --git a/js/tests/killedSandbox.test.ts b/js/tests/killedSandbox.test.ts new file mode 100644 index 00000000..93753dc3 --- /dev/null +++ b/js/tests/killedSandbox.test.ts @@ -0,0 +1,30 @@ +import { TimeoutError } from 'e2b' +import { expect } from 'vitest' + +import { isDebug, sandboxTest, wait } from './setup' + +sandboxTest.skipIf(isDebug)( + 'runCode throws a descriptive error when the sandbox is killed during execution', + async ({ sandbox }) => { + // Keep the execution firmly in-flight until the kill: the sleep is far + // longer than the kill delay and the execution timeout is pushed well + // beyond the kill + disconnect-detection window, so the only thing that + // ends the request is the sandbox being killed (not a body-timer abort + // or the sleep completing on its own). + const execution = sandbox.runCode('import time; time.sleep(300)', { + timeoutMs: 300_000, + }) + const assertion = Promise.all([ + expect(execution).rejects.toThrowError( + /sandbox was killed while the request was in progress/ + ), + expect(execution).rejects.toBeInstanceOf(TimeoutError), + ]) + + await wait(2_000) + await sandbox.kill() + + await assertion + }, + 60_000 +) diff --git a/python/e2b_code_interpreter/code_interpreter_async.py b/python/e2b_code_interpreter/code_interpreter_async.py index 4f3696c4..fcc2737a 100644 --- a/python/e2b_code_interpreter/code_interpreter_async.py +++ b/python/e2b_code_interpreter/code_interpreter_async.py @@ -29,6 +29,7 @@ from e2b_code_interpreter.exceptions import ( format_execution_timeout_error, format_request_timeout_error, + format_sandbox_killed_error, ) logger = logging.getLogger(__name__) @@ -83,6 +84,23 @@ def _client(self) -> AsyncClient: transport=get_transport(self.connection_config, http2=False), ) + async def _handle_connection_error(self, err: Exception) -> None: + """ + Raises a descriptive exception if the connection error was caused by + the sandbox being killed mid-request. If the sandbox is still running + (or its state can't be determined), returns so the caller can re-raise + the original error. + """ + try: + running = await self.is_running() + except Exception: + # The state check itself failed, so we can't tell whether the + # sandbox was killed — let the caller re-raise the original error + # instead of wrongly claiming the sandbox is gone. + return + if not running: + raise format_sandbox_killed_error() from err + @overload async def run_code( self, @@ -217,6 +235,9 @@ async def run_code( raise format_execution_timeout_error() except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + await self._handle_connection_error(err) + raise async def create_code_context( self, @@ -263,6 +284,9 @@ async def create_code_context( return Context.from_json(data) except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + await self._handle_connection_error(err) + raise async def remove_code_context( self, @@ -295,6 +319,9 @@ async def remove_code_context( raise err except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + await self._handle_connection_error(err) + raise async def list_code_contexts(self) -> List[Context]: """ @@ -323,6 +350,9 @@ async def list_code_contexts(self) -> List[Context]: return [Context.from_json(context_data) for context_data in data] except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + await self._handle_connection_error(err) + raise async def restart_code_context( self, @@ -354,3 +384,6 @@ async def restart_code_context( raise err except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + await self._handle_connection_error(err) + raise diff --git a/python/e2b_code_interpreter/code_interpreter_sync.py b/python/e2b_code_interpreter/code_interpreter_sync.py index bea57db4..35850e56 100644 --- a/python/e2b_code_interpreter/code_interpreter_sync.py +++ b/python/e2b_code_interpreter/code_interpreter_sync.py @@ -25,6 +25,7 @@ from e2b_code_interpreter.exceptions import ( format_execution_timeout_error, format_request_timeout_error, + format_sandbox_killed_error, ) logger = logging.getLogger(__name__) @@ -77,6 +78,23 @@ def _client(self) -> Client: # cancelled reliably. return Client(transport=get_transport(self.connection_config, http2=False)) + def _handle_connection_error(self, err: Exception) -> None: + """ + Raises a descriptive exception if the connection error was caused by + the sandbox being killed mid-request. If the sandbox is still running + (or its state can't be determined), returns so the caller can re-raise + the original error. + """ + try: + running = self.is_running() + except Exception: + # The state check itself failed, so we can't tell whether the + # sandbox was killed — let the caller re-raise the original error + # instead of wrongly claiming the sandbox is gone. + return + if not running: + raise format_sandbox_killed_error() from err + @overload def run_code( self, @@ -210,6 +228,9 @@ def run_code( raise format_execution_timeout_error() except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + self._handle_connection_error(err) + raise def create_code_context( self, @@ -256,6 +277,9 @@ def create_code_context( return Context.from_json(data) except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + self._handle_connection_error(err) + raise def remove_code_context( self, @@ -288,6 +312,9 @@ def remove_code_context( raise err except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + self._handle_connection_error(err) + raise def list_code_contexts(self) -> List[Context]: """ @@ -316,6 +343,9 @@ def list_code_contexts(self) -> List[Context]: return [Context.from_json(context_data) for context_data in data] except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + self._handle_connection_error(err) + raise def restart_code_context( self, @@ -348,3 +378,6 @@ def restart_code_context( raise err except httpx.TimeoutException: raise format_request_timeout_error() + except (httpx.ReadError, httpx.RemoteProtocolError) as err: + self._handle_connection_error(err) + raise diff --git a/python/e2b_code_interpreter/exceptions.py b/python/e2b_code_interpreter/exceptions.py index 61896921..e2f7ad44 100644 --- a/python/e2b_code_interpreter/exceptions.py +++ b/python/e2b_code_interpreter/exceptions.py @@ -11,3 +11,10 @@ def format_execution_timeout_error() -> Exception: return TimeoutException( "Execution timed out — the 'timeout' option can be used to increase this timeout", ) + + +def format_sandbox_killed_error() -> Exception: + return TimeoutException( + "The sandbox was killed while the request was in progress. This can happen when the sandbox times out or is killed manually. " + "You can modify the sandbox timeout by passing 'timeout' when starting the sandbox or calling '.set_timeout' on the sandbox with the desired timeout", + ) diff --git a/python/tests/async/test_async_killed.py b/python/tests/async/test_async_killed.py new file mode 100644 index 00000000..09cb92fa --- /dev/null +++ b/python/tests/async/test_async_killed.py @@ -0,0 +1,27 @@ +import asyncio + +import pytest + +from e2b import TimeoutException +from e2b_code_interpreter import AsyncSandbox + + +@pytest.mark.skip_debug +async def test_run_code_raises_when_sandbox_is_killed_during_execution( + async_sandbox: AsyncSandbox, +): + # Keep the execution firmly in-flight until the kill: the sleep is far + # longer than the kill delay and the execution timeout is well beyond the + # kill + disconnect-detection window, so the only thing that ends the + # request is the sandbox being killed. + execution = asyncio.create_task( + async_sandbox.run_code("import time; time.sleep(300)", timeout=300) + ) + + await asyncio.sleep(2) + await async_sandbox.kill() + + with pytest.raises( + TimeoutException, match="sandbox was killed while the request was in progress" + ): + await execution diff --git a/python/tests/sync/test_killed.py b/python/tests/sync/test_killed.py new file mode 100644 index 00000000..54bebee5 --- /dev/null +++ b/python/tests/sync/test_killed.py @@ -0,0 +1,25 @@ +import threading + +import pytest + +from e2b import TimeoutException +from e2b_code_interpreter import Sandbox + + +@pytest.mark.skip_debug +def test_run_code_raises_when_sandbox_is_killed_during_execution(sandbox: Sandbox): + timer = threading.Timer(2.0, sandbox.kill) + timer.start() + + try: + with pytest.raises( + TimeoutException, + match="sandbox was killed while the request was in progress", + ): + # Keep the execution firmly in-flight until the kill: the sleep is + # far longer than the kill delay and the execution timeout is well + # beyond the kill + disconnect-detection window, so the only thing + # that ends the request is the sandbox being killed. + sandbox.run_code("import time; time.sleep(300)", timeout=300) + finally: + timer.cancel() From 3faf5686e1d48a93025b356173aae4f75269f8cd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Jun 2026 09:58:58 +0000 Subject: [PATCH 76/83] [skip ci] Release new versions --- .changeset/grumpy-sloths-relax.md | 6 ------ js/package.json | 2 +- python/package.json | 2 +- python/pyproject.toml | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 .changeset/grumpy-sloths-relax.md diff --git a/.changeset/grumpy-sloths-relax.md b/.changeset/grumpy-sloths-relax.md deleted file mode 100644 index ea5eae37..00000000 --- a/.changeset/grumpy-sloths-relax.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2b/code-interpreter': patch -'@e2b/code-interpreter-python': patch ---- - -Throw a descriptive `TimeoutError`/`TimeoutException` instead of a raw socket error (e.g. `ECONNRESET`) when the sandbox is killed or times out while a request (`runCode`/`run_code`, context management) is in progress diff --git a/js/package.json b/js/package.json index 797763cf..239c2ca2 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "@e2b/code-interpreter", - "version": "2.6.0", + "version": "2.6.1", "packageManager": "pnpm@9.15.9", "description": "E2B Code Interpreter - Stateful code execution", "homepage": "https://e2b.dev", diff --git a/python/package.json b/python/package.json index b533e8f3..98bb0718 100644 --- a/python/package.json +++ b/python/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-python", "private": true, - "version": "2.8.0", + "version": "2.8.1", "packageManager": "pnpm@9.15.9", "scripts": { "test": "poetry run pytest -n 4 --verbose -x", diff --git a/python/pyproject.toml b/python/pyproject.toml index 33381043..415858c2 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "e2b-code-interpreter" -version = "2.8.0" +version = "2.8.1" description = "E2B Code Interpreter - Stateful code execution" authors = ["e2b "] license = "MIT" From 2ce06b8e4eb90c25200272a0a8bfc813f8915500 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 12:17:27 +0200 Subject: [PATCH 77/83] Update dependency aiohttp to v3.14.1 [SECURITY] (#292) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 71e7146b..01846f12 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -12,7 +12,7 @@ pillow==12.2.0 e2b_charts # Other packages -aiohttp==3.14.0 +aiohttp==3.14.1 beautifulsoup4==4.14.3 bokeh==3.9.0 gensim==4.4.0 From 8dbc3e47b202dcf03b5f365370df5f9f5ac436be Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 12:17:34 +0200 Subject: [PATCH 78/83] Update dependency tornado to v6.5.7 [SECURITY] (#293) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 01846f12..86608400 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -37,7 +37,7 @@ seaborn==0.13.2 soundfile==0.13.1 spacy==3.8.14 textblob==0.19.0 -tornado==6.5.6 +tornado==6.5.7 urllib3==2.7.0 xarray==2025.4.0 xlrd==2.0.2 From 0ab4def3de16e0f46221cd62b9c34dd33ab4a8f8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 15:30:30 +0000 Subject: [PATCH 79/83] Update dependency jupyter-server to v2.20.0 [SECURITY] (#295) * Update dependency jupyter-server to v2.20.0 [SECURITY] * Add changeset for jupyter-server 2.20.0 security bump Co-Authored-By: Claude Opus 4.8 (1M context) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) --- .changeset/jupyter-server-2-20-security.md | 5 +++++ template/requirements.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/jupyter-server-2-20-security.md diff --git a/.changeset/jupyter-server-2-20-security.md b/.changeset/jupyter-server-2-20-security.md new file mode 100644 index 00000000..83f5b365 --- /dev/null +++ b/.changeset/jupyter-server-2-20-security.md @@ -0,0 +1,5 @@ +--- +"@e2b/code-interpreter-template": patch +--- + +Bump `jupyter-server` to 2.20.0 to address a security vulnerability diff --git a/template/requirements.txt b/template/requirements.txt index 86608400..8d7854dc 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -1,5 +1,5 @@ # Jupyter server requirements -jupyter-server==2.18.0 +jupyter-server==2.20.0 ipykernel==6.31.0 ipython==9.14.0 From b9db9f928a51be60f8bd36afa0dfdc6e7d73767f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 22 Jun 2026 15:46:27 +0000 Subject: [PATCH 80/83] [skip ci] Release new versions --- .changeset/jupyter-server-2-20-security.md | 5 ----- template/package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/jupyter-server-2-20-security.md diff --git a/.changeset/jupyter-server-2-20-security.md b/.changeset/jupyter-server-2-20-security.md deleted file mode 100644 index 83f5b365..00000000 --- a/.changeset/jupyter-server-2-20-security.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@e2b/code-interpreter-template": patch ---- - -Bump `jupyter-server` to 2.20.0 to address a security vulnerability diff --git a/template/package.json b/template/package.json index ae911686..22c46f24 100644 --- a/template/package.json +++ b/template/package.json @@ -1,7 +1,7 @@ { "name": "@e2b/code-interpreter-template", "private": true, - "version": "0.4.3", + "version": "0.4.4", "scripts": { "lint": "ruff check .", "format": "ruff format ." From 805da002e06918c49b32e75a7ab6ab5fc07b0b33 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 13:27:28 +0200 Subject: [PATCH 81/83] Update dependency numba to v0.66.0 (#284) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index 8d7854dc..d4c5e2c7 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -21,7 +21,7 @@ joblib==1.5.3 librosa==0.11.0 nltk==3.9.4 numpy==2.3.5 -numba==0.63.1 +numba==0.66.0 opencv-python==4.11.0.86 openpyxl==3.1.5 plotly==6.0.1 From 7f0a2c948571c05a3b879e8cec295c31bd7b9edb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 14:13:49 +0200 Subject: [PATCH 82/83] Update patch-updates (#297) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- pnpm-lock.yaml | 377 +++++++++++++++++++------------------- template/requirements.txt | 2 +- 2 files changed, 190 insertions(+), 189 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 164d0200..8395dff7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,25 +53,25 @@ importers: devDependencies: '@types/node': specifier: ^20.19.19 - version: 20.19.41 + version: 20.19.43 dotenv: specifier: ^16.4.5 version: 16.6.1 knip: specifier: ^5.25.1 - version: 5.88.1(@types/node@20.19.41)(typescript@5.7.3) + version: 5.88.1(@types/node@20.19.43)(typescript@5.7.3) npm-check-updates: specifier: ^17.1.14 version: 17.1.18 tsup: specifier: ^8.5.1 - version: 8.5.1(jiti@2.7.0)(postcss@8.5.15)(typescript@5.7.3)(yaml@2.9.0) + version: 8.5.1(jiti@2.7.0)(postcss@8.5.16)(typescript@5.7.3)(yaml@2.9.0) typescript: specifier: ^5.5.3 version: 5.7.3 vitest: specifier: ^4.1.0 - version: 4.1.8(@types/node@20.19.41)(vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0)) + version: 4.1.9(@types/node@20.19.43)(vite@7.3.2(@types/node@20.19.43)(jiti@2.7.0)(yaml@2.9.0)) python: {} @@ -620,8 +620,8 @@ packages: cpu: [arm] os: [android] - '@rollup/rollup-android-arm-eabi@4.61.0': - resolution: {integrity: sha512-dnxczajOqt0gesZlN5pGQ1s1imQVrsmCw5G2Ci4oM+0WvNz3pyRnlWrT7McoZIb8VlFwCawdmbWRmxRn7HI+VQ==} + '@rollup/rollup-android-arm-eabi@4.62.2': + resolution: {integrity: sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg==} cpu: [arm] os: [android] @@ -630,8 +630,8 @@ packages: cpu: [arm64] os: [android] - '@rollup/rollup-android-arm64@4.61.0': - resolution: {integrity: sha512-Bp3JpGP00Vu3f238ivRrjf7z3xSzVPXqCmaJYA9t2c+c8vKYvOzmXF7LkkeUalTEGd6cZcSWe+PFIP3Vy48fRg==} + '@rollup/rollup-android-arm64@4.62.2': + resolution: {integrity: sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw==} cpu: [arm64] os: [android] @@ -640,8 +640,8 @@ packages: cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-arm64@4.61.0': - resolution: {integrity: sha512-zaYIpr670mUmmZ1tVzUFplbQbG7h3Gugx3L5FoqhsC2m/YnLlR1a7zVLmXNPy+iY1tFPEbNG+HHBXZGyId0G5w==} + '@rollup/rollup-darwin-arm64@4.62.2': + resolution: {integrity: sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A==} cpu: [arm64] os: [darwin] @@ -650,8 +650,8 @@ packages: cpu: [x64] os: [darwin] - '@rollup/rollup-darwin-x64@4.61.0': - resolution: {integrity: sha512-+P49fvkv2dSoeevUW+lgZ/I2JHSsJCK1Lyjj7Cu6E4UHG4tS9XIefzIjo5qhgELjAclnen1rLzK2PMKJdo+Dyg==} + '@rollup/rollup-darwin-x64@4.62.2': + resolution: {integrity: sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA==} cpu: [x64] os: [darwin] @@ -660,8 +660,8 @@ packages: cpu: [arm64] os: [freebsd] - '@rollup/rollup-freebsd-arm64@4.61.0': - resolution: {integrity: sha512-l3FAAOyKJXH2ea6KNFN+MMgC/rnE94YGLXs2ehYqDcCoHt1DpvgWX75BhUJxN38XojP7Ul+4H8PRn7EdyqSDrw==} + '@rollup/rollup-freebsd-arm64@4.62.2': + resolution: {integrity: sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw==} cpu: [arm64] os: [freebsd] @@ -670,8 +670,8 @@ packages: cpu: [x64] os: [freebsd] - '@rollup/rollup-freebsd-x64@4.61.0': - resolution: {integrity: sha512-VokPN3TSctKj65cyCNPaUh4vMFA8awxOot/0sp+4J7ZlNRKQEhXhawqPwajoi8H5ZFt61i0ugZJuTKXBjGJ17Q==} + '@rollup/rollup-freebsd-x64@4.62.2': + resolution: {integrity: sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg==} cpu: [x64] os: [freebsd] @@ -680,8 +680,8 @@ packages: cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-gnueabihf@4.61.0': - resolution: {integrity: sha512-DxH0P3wxm+Yzs/p3zrk9dw1rURu8p0Nv5+MRK/L7OtnLNg5rLZraSBFZ8iUXOd9f2BlhJyEpIZUH/emjq4UJ4g==} + '@rollup/rollup-linux-arm-gnueabihf@4.62.2': + resolution: {integrity: sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg==} cpu: [arm] os: [linux] @@ -690,8 +690,8 @@ packages: cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.61.0': - resolution: {integrity: sha512-T6ZvMNe84kAz6TBWHC7hGAoEtzP1LWYw/AqayGWEF6uISt3Abk/st06LqRD9THd7Xz3NxzurUpzAuEAUbZf+nw==} + '@rollup/rollup-linux-arm-musleabihf@4.62.2': + resolution: {integrity: sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA==} cpu: [arm] os: [linux] @@ -700,8 +700,8 @@ packages: cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.61.0': - resolution: {integrity: sha512-q/4hzvQkDs8b4jIBab1pnLiiM0ayTZsN2amBFPDzuyZxjEd4wDwx0UJFYM3cOZzSf5Kw8fnWSprJzIBMkcR44Q==} + '@rollup/rollup-linux-arm64-gnu@4.62.2': + resolution: {integrity: sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA==} cpu: [arm64] os: [linux] @@ -710,18 +710,18 @@ packages: cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.61.0': - resolution: {integrity: sha512-vvYWX3akdEAY6km+9wAqFDnk6pQsbJKVnj7xawcvs/+fdlYBGp+U+Qq/lLfpIxYIZvZLHMAKD9HLdacSx/r3dw==} + '@rollup/rollup-linux-arm64-musl@4.62.2': + resolution: {integrity: sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-loong64-gnu@4.61.0': - resolution: {integrity: sha512-DePa5cqOxDP/Zp0VOXpeWaGew5iIv5DXp9NYbzkX5PFQyWVX9184WCTh3hvr/7lhXo8ZVlbFLkz8+o/q1dU6gA==} + '@rollup/rollup-linux-loong64-gnu@4.62.2': + resolution: {integrity: sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg==} cpu: [loong64] os: [linux] - '@rollup/rollup-linux-loong64-musl@4.61.0': - resolution: {integrity: sha512-LV8aWMB8UChglMCEzs7RkN0GsH29RJaLLqwm9fCIjlqwxQTiWAqNcc7wjBkH31hV0PU/yVxGYvrYsgfea2qw6g==} + '@rollup/rollup-linux-loong64-musl@4.62.2': + resolution: {integrity: sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ==} cpu: [loong64] os: [linux] @@ -735,13 +735,13 @@ packages: cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-ppc64-gnu@4.61.0': - resolution: {integrity: sha512-QoNSnwQtaeNu5grdBbsL0tt1uyl5EnS8DA8Mr3nluMXbhdQNyhN+G4tBax7VCdxLKj8YJ0/4OO9Ho84jMnJtKA==} + '@rollup/rollup-linux-ppc64-gnu@4.62.2': + resolution: {integrity: sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-ppc64-musl@4.61.0': - resolution: {integrity: sha512-/zZp5MKapIIApE8trN8qLGNSiRN9TUoaUZ1cmVu4XnVdd5LQLOXTtyi+vtfUbNnT3iyjzpPqYeKXmvJ+gJGYWw==} + '@rollup/rollup-linux-ppc64-musl@4.62.2': + resolution: {integrity: sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w==} cpu: [ppc64] os: [linux] @@ -750,8 +750,8 @@ packages: cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.61.0': - resolution: {integrity: sha512-RbrzcD3aJ1k3UbtMRRBNwojdVVyXjuVAFTfn/xPa6EEl6GE9Sm/akPgFTb9aAC9pMKGJ6CtWxaGrqWcabH+ySg==} + '@rollup/rollup-linux-riscv64-gnu@4.62.2': + resolution: {integrity: sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg==} cpu: [riscv64] os: [linux] @@ -760,8 +760,8 @@ packages: cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-riscv64-musl@4.61.0': - resolution: {integrity: sha512-ZF+onDsBso8PJf1XaG9lB+O9RnBpKGnY6OrzC4CSHrtC1jb6jWLTKK4bRqdoCXHd22gyr2hiYmEAm8Wns/BOCw==} + '@rollup/rollup-linux-riscv64-musl@4.62.2': + resolution: {integrity: sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q==} cpu: [riscv64] os: [linux] @@ -770,8 +770,8 @@ packages: cpu: [s390x] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.61.0': - resolution: {integrity: sha512-Atk0aSIk5Zx2Wuh9dgRQgLP0Koc8hOeYpbWryMXyk8G8/HmPkwPPkMqIIDhrXHHYqfUzSJA/I7IWSBv8xSmRBA==} + '@rollup/rollup-linux-s390x-gnu@4.62.2': + resolution: {integrity: sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg==} cpu: [s390x] os: [linux] @@ -780,8 +780,8 @@ packages: cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.61.0': - resolution: {integrity: sha512-0uMOcf3eZ5K+K4cYHkdxShFMPlPXCOdfDFEFn9dNYAEEd2cVvmOfH7zFgRVoDgmtQ1m9k5q7qfrHzyMAubKYUA==} + '@rollup/rollup-linux-x64-gnu@4.62.2': + resolution: {integrity: sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A==} cpu: [x64] os: [linux] @@ -790,18 +790,18 @@ packages: cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.61.0': - resolution: {integrity: sha512-mvFtE4A/t/7hRJ7X8Ozmu8FsIkAUat2nzl12pgU337BRmq87AQUJztwHz2Zv5/tjo9/C95E66CK03SI/ToEDJw==} + '@rollup/rollup-linux-x64-musl@4.62.2': + resolution: {integrity: sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg==} cpu: [x64] os: [linux] - '@rollup/rollup-openbsd-x64@4.61.0': - resolution: {integrity: sha512-z9b9+aTxvt8n2rNltMPvyaUfB8NJ+CVyOrGK/MdIKHx7B+lXmZpm/XbRsU7Rpf3fRqJ2uS6mBJiJveCtq8LHDg==} + '@rollup/rollup-openbsd-x64@4.62.2': + resolution: {integrity: sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg==} cpu: [x64] os: [openbsd] - '@rollup/rollup-openharmony-arm64@4.61.0': - resolution: {integrity: sha512-jXaXFqKMehsOc+g8R6oo33RRC6w07G9jDBxAE5eAKX7mOcCbZloYIPNhfG9Wl+P9O9IWHFO4OJgPi1Ml2qkt7w==} + '@rollup/rollup-openharmony-arm64@4.62.2': + resolution: {integrity: sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA==} cpu: [arm64] os: [openharmony] @@ -810,8 +810,8 @@ packages: cpu: [arm64] os: [win32] - '@rollup/rollup-win32-arm64-msvc@4.61.0': - resolution: {integrity: sha512-OXNWVFocS2IA4+QplhTZZ2a+8hPZR7T8KuozsNmJKK8y7cp83StHvGksfHzPG3wczWTczyWHVQuqeiTUbjiyBg==} + '@rollup/rollup-win32-arm64-msvc@4.62.2': + resolution: {integrity: sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg==} cpu: [arm64] os: [win32] @@ -820,13 +820,13 @@ packages: cpu: [ia32] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.61.0': - resolution: {integrity: sha512-AlAbNtBO637LxSldqV43z0FfXoGfl2TW1DgAg/bs7aQswFbDewz2SJm3BUhiGfbOVtW571xbc9p+REdxhyN/Eg==} + '@rollup/rollup-win32-ia32-msvc@4.62.2': + resolution: {integrity: sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-gnu@4.61.0': - resolution: {integrity: sha512-QRSrQXyJ1M4tjNXdR0/G/IgV6lzfQQJYBjlWIEYkY2Xs86DRl/iEpQ4blMDjJxSl7n19eDKKXMg0AmuBVYy8pQ==} + '@rollup/rollup-win32-x64-gnu@4.62.2': + resolution: {integrity: sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg==} cpu: [x64] os: [win32] @@ -835,8 +835,8 @@ packages: cpu: [x64] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.61.0': - resolution: {integrity: sha512-tkuFxhvKO/HlGd0VsINF6vHSYH8AF8W0TcNxKDK6JZmrehngFj78pToc8iemtnvwilDjs2G/qSzYFhe9U8q+fw==} + '@rollup/rollup-win32-x64-msvc@4.62.2': + resolution: {integrity: sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA==} cpu: [x64] os: [win32] @@ -879,8 +879,8 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@20.19.41': - resolution: {integrity: sha512-ECymXOukMnOoVkC2bb1Vc/w/836DXncOg5m8Xj1RH7xSHZJWNYY6Zh7EH477vcnD5egKNNfy2RpNOmuChhFPgQ==} + '@types/node@20.19.43': + resolution: {integrity: sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA==} '@types/semver@7.7.0': resolution: {integrity: sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==} @@ -1005,11 +1005,11 @@ packages: resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} deprecated: Potential CWE-502 - Update to 1.3.1 or higher - '@vitest/expect@4.1.8': - resolution: {integrity: sha512-h3nDO677RDLEGlBxyQ5CW8RlMThSKSRLUePLOx09gNIWRL40edgA1GCZSZgf1W55MFAG6/Sw14KeaAnqv0NKdQ==} + '@vitest/expect@4.1.9': + resolution: {integrity: sha512-vl/rYsUKcBr3SnQn166+XR5ZQcgMx3DQhFWdfli/cWpLnLUmbxZvyrJZotLFUryib+LtArYMSTJ5RbQ57ZqrlA==} - '@vitest/mocker@4.1.8': - resolution: {integrity: sha512-LEiN/xe4OSIbKe9HQIp5OC24agGD9J5CnmMgsLohVVoOPWL9a2sBoR6VBx43jQZb7Kr1l4RCuyCJzcAa0+dojw==} + '@vitest/mocker@4.1.9': + resolution: {integrity: sha512-EVkXzBjrPGM+cK8/ANWgBrkUCfJfb38/EfTSO8h7pWvKkyPkpWxvR7BkD2MyItMF62C97zAEoqdpUixwR/e+Rw==} peerDependencies: msw: ^2.4.9 vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -1019,20 +1019,20 @@ packages: vite: optional: true - '@vitest/pretty-format@4.1.8': - resolution: {integrity: sha512-9GasEBxpZ1VYIpqHf/0+YGg121uSNwCKOJqIrTwWP/TB7DmFCiaBpNl3aPZzoLWfWkuqhbH8vJIVobZkvdo2cA==} + '@vitest/pretty-format@4.1.9': + resolution: {integrity: sha512-s0iufns3iIFitdgm+YR7g1whCAaGtXz459VS9/PqyKDEEFgYIhsHOQmXgIgDuYCt7DeQmiZT0Qe2OA2p4ZPu5A==} - '@vitest/runner@4.1.8': - resolution: {integrity: sha512-EmVxeBAfMJvycdjd6Hm+RbFBbA9fKvo0Kx37hNpBYoYeavH3RNsBXWDooR1mgD52dCrxIIuP7UotpfiwOikvcg==} + '@vitest/runner@4.1.9': + resolution: {integrity: sha512-KXLMDtc7oe70+3mJfGrPUWPesswH+3sTxAMAMl8DG7I8IUQT4XW718dY5ID3vPUcmlu27CcKfY4P3h3I29SLJg==} - '@vitest/snapshot@4.1.8': - resolution: {integrity: sha512-acfZboRmAIf05DEKcBQy33VXojFJjtUdLyo7oOmV9kebb2xdU01UknNiPuPZoJZQyO7DF0gZdTGTpeAzET9QPQ==} + '@vitest/snapshot@4.1.9': + resolution: {integrity: sha512-Jc7RKGNBo8Z28WYIm0Niej4xdSPByRf6mU58VpHQkd6Zh05rlnA+twjbK5HyeIGHxrzsc3mJgS43uM0CZKzaIA==} - '@vitest/spy@4.1.8': - resolution: {integrity: sha512-6EevtBp6OZOPF7bmz36HrGMeP3txgVSrgebWxHOafDXGkhIzfXK14f8KF6MuFfgXXUeHxmpD3BQxkV00/3s5mA==} + '@vitest/spy@4.1.9': + resolution: {integrity: sha512-fHpsS6mIi+PiEW+vcRVOMkX1oSaPKne3VOclSFICPcGOmfKgXPU5iAah+wcNcj2xPrCCmfq99IDGf+EojhhvhA==} - '@vitest/utils@4.1.8': - resolution: {integrity: sha512-uOJamYALNhfJ6iolExyQM40yIQwDqYnkKtQ5VCiSe17E33H0aQ/u+1GlRuz4LZBk6Mm3sg90G9hEbmEt37C1Zg==} + '@vitest/utils@4.1.9': + resolution: {integrity: sha512-A51o8ymO5PpqlWNnBP9ZHPXDIpuMtTLlGSjN7la4US+LJzoUMyhwjA5QXlm39JexgwHKW4Xjs8Z2d3dLCXOeuA==} acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} @@ -1205,8 +1205,8 @@ packages: resolution: {integrity: sha512-ptvySeKFFwz+bJbGIT6WGRkLr+Xwo1/oicf82cFuMepPXdRd3CrJoZ8FGnu+XWHRSJlOKBfCWENrDZmg4oKTtQ==} engines: {node: '>=20.18.1'} - es-module-lexer@2.1.0: - resolution: {integrity: sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==} + es-module-lexer@2.3.0: + resolution: {integrity: sha512-KLdwQm2NvGLDkQDCGvmiQrhkd0JbMzXthwQAUgWjQuQdBLFa3eiBP5arXZyA+f8x+x7OXgud6bq2rxjGtHV2tw==} esbuild@0.27.2: resolution: {integrity: sha512-HyNQImnsOC7X9PMNaCIeAm4ISCQXs5a5YasTXVliKv4uuBo1dKrG0A+uQS8M5eXjVMnLg3WgXaKvprHlFJQffw==} @@ -1278,8 +1278,8 @@ packages: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} - expect-type@1.3.0: - resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==} + expect-type@1.4.0: + resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} engines: {node: '>=12.0.0'} extendable-error@0.1.7: @@ -1569,8 +1569,8 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - nanoid@3.3.12: - resolution: {integrity: sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==} + nanoid@3.3.15: + resolution: {integrity: sha512-y7Wygv/7mEOvxTuEQDB8StXdMRBWf1kR/tlhAzBRUFkB2jfcLOAxO/SHmOO2zgz1pVgK29/kyupn059/bCHdjA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -1586,8 +1586,9 @@ packages: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} - obug@2.1.1: - resolution: {integrity: sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==} + obug@2.1.3: + resolution: {integrity: sha512-9miFgM2OFba7hB+pRgvtV84pYTBaoTHohvmIgiRt6dRIzbwEOIaNaP+dIlGs2fNFoB0SeISs0Jz5WFVRid6Xyg==} + engines: {node: '>=12.20.0'} once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} @@ -1706,8 +1707,8 @@ packages: yaml: optional: true - postcss@8.5.15: - resolution: {integrity: sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==} + postcss@8.5.16: + resolution: {integrity: sha512-vuwillviilfKZsg0VGj5R/YwwcHx4SLsIOI/7K6mQkWx+l5cUHTjj5g0AasTBcyXsbfTgrwsUNmVUb5xVwyPwg==} engines: {node: ^10 || ^12 || >=14} prelude-ls@1.2.1: @@ -1756,8 +1757,8 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true - rollup@4.61.0: - resolution: {integrity: sha512-T9mWdbWfQtp0B5lv/HX+wrhYsmXRlcWnXXmJbXqKJhlRaoS6KMhq0gpyzW4UJfclcxrEdLnTgjT2NjruLONu0g==} + rollup@4.62.2: + resolution: {integrity: sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -1992,20 +1993,20 @@ packages: yaml: optional: true - vitest@4.1.8: - resolution: {integrity: sha512-flY6ScbCIt9HThs+C5HS7jvGOB560DJtk/Z15IQROTA6zEy49Nh8T/dofWTQL+n3vswqn87sbJNiuqw1SDp5Ig==} + vitest@4.1.9: + resolution: {integrity: sha512-nE3/LEyc0z87uHYLZebqCUOaJr2hdtuPp7BQ4BosVFnfltxgAvMG08NyrSGlPpOUWvR27c5flSmYFTNr78L9GQ==} engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@opentelemetry/api': ^1.9.0 '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0 - '@vitest/browser-playwright': 4.1.8 - '@vitest/browser-preview': 4.1.8 - '@vitest/browser-webdriverio': 4.1.8 - '@vitest/coverage-istanbul': 4.1.8 - '@vitest/coverage-v8': 4.1.8 - '@vitest/ui': 4.1.8 + '@vitest/browser-playwright': 4.1.9 + '@vitest/browser-preview': 4.1.9 + '@vitest/browser-webdriverio': 4.1.9 + '@vitest/coverage-istanbul': 4.1.9 + '@vitest/coverage-v8': 4.1.9 + '@vitest/ui': 4.1.9 happy-dom: '*' jsdom: '*' vite: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2458,67 +2459,67 @@ snapshots: '@rollup/rollup-android-arm-eabi@4.39.0': optional: true - '@rollup/rollup-android-arm-eabi@4.61.0': + '@rollup/rollup-android-arm-eabi@4.62.2': optional: true '@rollup/rollup-android-arm64@4.39.0': optional: true - '@rollup/rollup-android-arm64@4.61.0': + '@rollup/rollup-android-arm64@4.62.2': optional: true '@rollup/rollup-darwin-arm64@4.39.0': optional: true - '@rollup/rollup-darwin-arm64@4.61.0': + '@rollup/rollup-darwin-arm64@4.62.2': optional: true '@rollup/rollup-darwin-x64@4.39.0': optional: true - '@rollup/rollup-darwin-x64@4.61.0': + '@rollup/rollup-darwin-x64@4.62.2': optional: true '@rollup/rollup-freebsd-arm64@4.39.0': optional: true - '@rollup/rollup-freebsd-arm64@4.61.0': + '@rollup/rollup-freebsd-arm64@4.62.2': optional: true '@rollup/rollup-freebsd-x64@4.39.0': optional: true - '@rollup/rollup-freebsd-x64@4.61.0': + '@rollup/rollup-freebsd-x64@4.62.2': optional: true '@rollup/rollup-linux-arm-gnueabihf@4.39.0': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.61.0': + '@rollup/rollup-linux-arm-gnueabihf@4.62.2': optional: true '@rollup/rollup-linux-arm-musleabihf@4.39.0': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.61.0': + '@rollup/rollup-linux-arm-musleabihf@4.62.2': optional: true '@rollup/rollup-linux-arm64-gnu@4.39.0': optional: true - '@rollup/rollup-linux-arm64-gnu@4.61.0': + '@rollup/rollup-linux-arm64-gnu@4.62.2': optional: true '@rollup/rollup-linux-arm64-musl@4.39.0': optional: true - '@rollup/rollup-linux-arm64-musl@4.61.0': + '@rollup/rollup-linux-arm64-musl@4.62.2': optional: true - '@rollup/rollup-linux-loong64-gnu@4.61.0': + '@rollup/rollup-linux-loong64-gnu@4.62.2': optional: true - '@rollup/rollup-linux-loong64-musl@4.61.0': + '@rollup/rollup-linux-loong64-musl@4.62.2': optional: true '@rollup/rollup-linux-loongarch64-gnu@4.39.0': @@ -2527,67 +2528,67 @@ snapshots: '@rollup/rollup-linux-powerpc64le-gnu@4.39.0': optional: true - '@rollup/rollup-linux-ppc64-gnu@4.61.0': + '@rollup/rollup-linux-ppc64-gnu@4.62.2': optional: true - '@rollup/rollup-linux-ppc64-musl@4.61.0': + '@rollup/rollup-linux-ppc64-musl@4.62.2': optional: true '@rollup/rollup-linux-riscv64-gnu@4.39.0': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.61.0': + '@rollup/rollup-linux-riscv64-gnu@4.62.2': optional: true '@rollup/rollup-linux-riscv64-musl@4.39.0': optional: true - '@rollup/rollup-linux-riscv64-musl@4.61.0': + '@rollup/rollup-linux-riscv64-musl@4.62.2': optional: true '@rollup/rollup-linux-s390x-gnu@4.39.0': optional: true - '@rollup/rollup-linux-s390x-gnu@4.61.0': + '@rollup/rollup-linux-s390x-gnu@4.62.2': optional: true '@rollup/rollup-linux-x64-gnu@4.39.0': optional: true - '@rollup/rollup-linux-x64-gnu@4.61.0': + '@rollup/rollup-linux-x64-gnu@4.62.2': optional: true '@rollup/rollup-linux-x64-musl@4.39.0': optional: true - '@rollup/rollup-linux-x64-musl@4.61.0': + '@rollup/rollup-linux-x64-musl@4.62.2': optional: true - '@rollup/rollup-openbsd-x64@4.61.0': + '@rollup/rollup-openbsd-x64@4.62.2': optional: true - '@rollup/rollup-openharmony-arm64@4.61.0': + '@rollup/rollup-openharmony-arm64@4.62.2': optional: true '@rollup/rollup-win32-arm64-msvc@4.39.0': optional: true - '@rollup/rollup-win32-arm64-msvc@4.61.0': + '@rollup/rollup-win32-arm64-msvc@4.62.2': optional: true '@rollup/rollup-win32-ia32-msvc@4.39.0': optional: true - '@rollup/rollup-win32-ia32-msvc@4.61.0': + '@rollup/rollup-win32-ia32-msvc@4.62.2': optional: true - '@rollup/rollup-win32-x64-gnu@4.61.0': + '@rollup/rollup-win32-x64-gnu@4.62.2': optional: true '@rollup/rollup-win32-x64-msvc@4.39.0': optional: true - '@rollup/rollup-win32-x64-msvc@4.61.0': + '@rollup/rollup-win32-x64-msvc@4.62.2': optional: true '@standard-schema/spec@1.1.0': {} @@ -2636,7 +2637,7 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@20.19.41': + '@types/node@20.19.43': dependencies: undici-types: 6.21.0 @@ -2811,44 +2812,44 @@ snapshots: '@ungap/structured-clone@1.3.0': {} - '@vitest/expect@4.1.8': + '@vitest/expect@4.1.9': dependencies: '@standard-schema/spec': 1.1.0 '@types/chai': 5.2.3 - '@vitest/spy': 4.1.8 - '@vitest/utils': 4.1.8 + '@vitest/spy': 4.1.9 + '@vitest/utils': 4.1.9 chai: 6.2.2 tinyrainbow: 3.1.0 - '@vitest/mocker@4.1.8(vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0))': + '@vitest/mocker@4.1.9(vite@7.3.2(@types/node@20.19.43)(jiti@2.7.0)(yaml@2.9.0))': dependencies: - '@vitest/spy': 4.1.8 + '@vitest/spy': 4.1.9 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0) + vite: 7.3.2(@types/node@20.19.43)(jiti@2.7.0)(yaml@2.9.0) - '@vitest/pretty-format@4.1.8': + '@vitest/pretty-format@4.1.9': dependencies: tinyrainbow: 3.1.0 - '@vitest/runner@4.1.8': + '@vitest/runner@4.1.9': dependencies: - '@vitest/utils': 4.1.8 + '@vitest/utils': 4.1.9 pathe: 2.0.3 - '@vitest/snapshot@4.1.8': + '@vitest/snapshot@4.1.9': dependencies: - '@vitest/pretty-format': 4.1.8 - '@vitest/utils': 4.1.8 + '@vitest/pretty-format': 4.1.9 + '@vitest/utils': 4.1.9 magic-string: 0.30.21 pathe: 2.0.3 - '@vitest/spy@4.1.8': {} + '@vitest/spy@4.1.9': {} - '@vitest/utils@4.1.8': + '@vitest/utils@4.1.9': dependencies: - '@vitest/pretty-format': 4.1.8 + '@vitest/pretty-format': 4.1.9 convert-source-map: 2.0.0 tinyrainbow: 3.1.0 @@ -3000,7 +3001,7 @@ snapshots: tar: 7.5.16 undici: 7.27.0 - es-module-lexer@2.1.0: {} + es-module-lexer@2.3.0: {} esbuild@0.27.2: optionalDependencies: @@ -3145,7 +3146,7 @@ snapshots: esutils@2.0.3: {} - expect-type@1.3.0: {} + expect-type@1.4.0: {} extendable-error@0.1.7: {} @@ -3343,10 +3344,10 @@ snapshots: dependencies: json-buffer: 3.0.1 - knip@5.88.1(@types/node@20.19.41)(typescript@5.7.3): + knip@5.88.1(@types/node@20.19.43)(typescript@5.7.3): dependencies: '@nodelib/fs.walk': 1.2.8 - '@types/node': 20.19.41 + '@types/node': 20.19.43 fast-glob: 3.3.3 formatly: 0.3.0 jiti: 2.7.0 @@ -3438,7 +3439,7 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nanoid@3.3.12: {} + nanoid@3.3.15: {} natural-compare@1.4.0: {} @@ -3446,7 +3447,7 @@ snapshots: object-assign@4.1.1: {} - obug@2.1.1: {} + obug@2.1.3: {} once@1.4.0: dependencies: @@ -3552,17 +3553,17 @@ snapshots: platform@1.3.6: {} - postcss-load-config@6.0.1(jiti@2.7.0)(postcss@8.5.15)(yaml@2.9.0): + postcss-load-config@6.0.1(jiti@2.7.0)(postcss@8.5.16)(yaml@2.9.0): dependencies: lilconfig: 3.1.2 optionalDependencies: jiti: 2.7.0 - postcss: 8.5.15 + postcss: 8.5.16 yaml: 2.9.0 - postcss@8.5.15: + postcss@8.5.16: dependencies: - nanoid: 3.3.12 + nanoid: 3.3.15 picocolors: 1.1.1 source-map-js: 1.2.1 @@ -3619,35 +3620,35 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.39.0 fsevents: 2.3.3 - rollup@4.61.0: + rollup@4.62.2: dependencies: '@types/estree': 1.0.9 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.61.0 - '@rollup/rollup-android-arm64': 4.61.0 - '@rollup/rollup-darwin-arm64': 4.61.0 - '@rollup/rollup-darwin-x64': 4.61.0 - '@rollup/rollup-freebsd-arm64': 4.61.0 - '@rollup/rollup-freebsd-x64': 4.61.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.61.0 - '@rollup/rollup-linux-arm-musleabihf': 4.61.0 - '@rollup/rollup-linux-arm64-gnu': 4.61.0 - '@rollup/rollup-linux-arm64-musl': 4.61.0 - '@rollup/rollup-linux-loong64-gnu': 4.61.0 - '@rollup/rollup-linux-loong64-musl': 4.61.0 - '@rollup/rollup-linux-ppc64-gnu': 4.61.0 - '@rollup/rollup-linux-ppc64-musl': 4.61.0 - '@rollup/rollup-linux-riscv64-gnu': 4.61.0 - '@rollup/rollup-linux-riscv64-musl': 4.61.0 - '@rollup/rollup-linux-s390x-gnu': 4.61.0 - '@rollup/rollup-linux-x64-gnu': 4.61.0 - '@rollup/rollup-linux-x64-musl': 4.61.0 - '@rollup/rollup-openbsd-x64': 4.61.0 - '@rollup/rollup-openharmony-arm64': 4.61.0 - '@rollup/rollup-win32-arm64-msvc': 4.61.0 - '@rollup/rollup-win32-ia32-msvc': 4.61.0 - '@rollup/rollup-win32-x64-gnu': 4.61.0 - '@rollup/rollup-win32-x64-msvc': 4.61.0 + '@rollup/rollup-android-arm-eabi': 4.62.2 + '@rollup/rollup-android-arm64': 4.62.2 + '@rollup/rollup-darwin-arm64': 4.62.2 + '@rollup/rollup-darwin-x64': 4.62.2 + '@rollup/rollup-freebsd-arm64': 4.62.2 + '@rollup/rollup-freebsd-x64': 4.62.2 + '@rollup/rollup-linux-arm-gnueabihf': 4.62.2 + '@rollup/rollup-linux-arm-musleabihf': 4.62.2 + '@rollup/rollup-linux-arm64-gnu': 4.62.2 + '@rollup/rollup-linux-arm64-musl': 4.62.2 + '@rollup/rollup-linux-loong64-gnu': 4.62.2 + '@rollup/rollup-linux-loong64-musl': 4.62.2 + '@rollup/rollup-linux-ppc64-gnu': 4.62.2 + '@rollup/rollup-linux-ppc64-musl': 4.62.2 + '@rollup/rollup-linux-riscv64-gnu': 4.62.2 + '@rollup/rollup-linux-riscv64-musl': 4.62.2 + '@rollup/rollup-linux-s390x-gnu': 4.62.2 + '@rollup/rollup-linux-x64-gnu': 4.62.2 + '@rollup/rollup-linux-x64-musl': 4.62.2 + '@rollup/rollup-openbsd-x64': 4.62.2 + '@rollup/rollup-openharmony-arm64': 4.62.2 + '@rollup/rollup-win32-arm64-msvc': 4.62.2 + '@rollup/rollup-win32-ia32-msvc': 4.62.2 + '@rollup/rollup-win32-x64-gnu': 4.62.2 + '@rollup/rollup-win32-x64-msvc': 4.62.2 fsevents: 2.3.3 run-parallel@1.2.0: @@ -3762,7 +3763,7 @@ snapshots: tslib@2.8.1: optional: true - tsup@8.5.1(jiti@2.7.0)(postcss@8.5.15)(typescript@5.7.3)(yaml@2.9.0): + tsup@8.5.1(jiti@2.7.0)(postcss@8.5.16)(typescript@5.7.3)(yaml@2.9.0): dependencies: bundle-require: 5.1.0(esbuild@0.27.2) cac: 6.7.14 @@ -3773,7 +3774,7 @@ snapshots: fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(jiti@2.7.0)(postcss@8.5.15)(yaml@2.9.0) + postcss-load-config: 6.0.1(jiti@2.7.0)(postcss@8.5.16)(yaml@2.9.0) resolve-from: 5.0.0 rollup: 4.39.0 source-map: 0.7.6 @@ -3782,7 +3783,7 @@ snapshots: tinyglobby: 0.2.15 tree-kill: 1.2.2 optionalDependencies: - postcss: 8.5.15 + postcss: 8.5.16 typescript: 5.7.3 transitivePeerDependencies: - jiti @@ -3816,33 +3817,33 @@ snapshots: dependencies: punycode: 2.3.1 - vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0): + vite@7.3.2(@types/node@20.19.43)(jiti@2.7.0)(yaml@2.9.0): dependencies: esbuild: 0.27.7 fdir: 6.5.0(picomatch@4.0.4) picomatch: 4.0.4 - postcss: 8.5.15 - rollup: 4.61.0 + postcss: 8.5.16 + rollup: 4.62.2 tinyglobby: 0.2.17 optionalDependencies: - '@types/node': 20.19.41 + '@types/node': 20.19.43 fsevents: 2.3.3 jiti: 2.7.0 yaml: 2.9.0 - vitest@4.1.8(@types/node@20.19.41)(vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0)): - dependencies: - '@vitest/expect': 4.1.8 - '@vitest/mocker': 4.1.8(vite@7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0)) - '@vitest/pretty-format': 4.1.8 - '@vitest/runner': 4.1.8 - '@vitest/snapshot': 4.1.8 - '@vitest/spy': 4.1.8 - '@vitest/utils': 4.1.8 - es-module-lexer: 2.1.0 - expect-type: 1.3.0 + vitest@4.1.9(@types/node@20.19.43)(vite@7.3.2(@types/node@20.19.43)(jiti@2.7.0)(yaml@2.9.0)): + dependencies: + '@vitest/expect': 4.1.9 + '@vitest/mocker': 4.1.9(vite@7.3.2(@types/node@20.19.43)(jiti@2.7.0)(yaml@2.9.0)) + '@vitest/pretty-format': 4.1.9 + '@vitest/runner': 4.1.9 + '@vitest/snapshot': 4.1.9 + '@vitest/spy': 4.1.9 + '@vitest/utils': 4.1.9 + es-module-lexer: 2.3.0 + expect-type: 1.4.0 magic-string: 0.30.21 - obug: 2.1.1 + obug: 2.1.3 pathe: 2.0.3 picomatch: 4.0.4 std-env: 4.1.0 @@ -3850,10 +3851,10 @@ snapshots: tinyexec: 1.2.4 tinyglobby: 0.2.17 tinyrainbow: 3.1.0 - vite: 7.3.2(@types/node@20.19.41)(jiti@2.7.0)(yaml@2.9.0) + vite: 7.3.2(@types/node@20.19.43)(jiti@2.7.0)(yaml@2.9.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.19.41 + '@types/node': 20.19.43 transitivePeerDependencies: - msw diff --git a/template/requirements.txt b/template/requirements.txt index d4c5e2c7..dc4d0c84 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -14,7 +14,7 @@ e2b_charts # Other packages aiohttp==3.14.1 beautifulsoup4==4.14.3 -bokeh==3.9.0 +bokeh==3.9.1 gensim==4.4.0 imageio==2.37.3 joblib==1.5.3 From 7116d7a4fa49b381dd7ba642ade27318229e4787 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 13:05:37 +0200 Subject: [PATCH 83/83] Update dependency beautifulsoup4 to v4.15.0 (#298) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- template/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/requirements.txt b/template/requirements.txt index dc4d0c84..db19d5c5 100644 --- a/template/requirements.txt +++ b/template/requirements.txt @@ -13,7 +13,7 @@ e2b_charts # Other packages aiohttp==3.14.1 -beautifulsoup4==4.14.3 +beautifulsoup4==4.15.0 bokeh==3.9.1 gensim==4.4.0 imageio==2.37.3