Add your description here
Project description
AutoDiscovery Modal
Package for using AutoDiscovery on Modal
Setup
The following environment variables must be set to use Modal
export MODAL_TOKEN_ID=
export MODAL_TOKEN_SECRET=
export MODAL_IMAGE_BUILDER_VERSION= # Only required for ephemeral sandbox runs
Sandbox Executor
Use the Sandbox backend when you need per-run dataset mounts and strong isolation for untrusted code.
from autodiscovery_modal import ModalSandboxIPythonBackend
from code_execution import IPythonExecutor
backend = ModalSandboxIPythonBackend.for_run_dataset(
app_name="asta-autodiscovery",
user_id="user-123",
run_id="forecasting-2026-01-06T120102Z",
bucket="myapp-datasets",
key_prefix="users/user-123/runs/forecasting-2026-01-06T120102Z/dataset/",
read_only=True,
)
executor = IPythonExecutor(backend)
result = executor.run_cell("print('hello from sandbox')")
print(result["stdout"])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asta_autodiscovery_modal-0.1.1.tar.gz.
File metadata
- Download URL: asta_autodiscovery_modal-0.1.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
122a189c2cfdd24134f0b4d99e97a18059436c24a56aded1a4c1facddf0f5366
|
|
| MD5 |
8dd4867d4d5b3ffe57c72f91c9e96e78
|
|
| BLAKE2b-256 |
888b291b9e5fcd21bb2aba051c0d34905180ed7bda58efb0fb204612667bce18
|
Provenance
The following attestation bundles were made for asta_autodiscovery_modal-0.1.1.tar.gz:
Publisher:
publish-to-pypi.yml on allenai/asta-autodiscovery
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asta_autodiscovery_modal-0.1.1.tar.gz -
Subject digest:
122a189c2cfdd24134f0b4d99e97a18059436c24a56aded1a4c1facddf0f5366 - Sigstore transparency entry: 1608419026
- Sigstore integration time:
-
Permalink:
allenai/asta-autodiscovery@f7caefca3e61e909d2e259ac5d705cb19358a02f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/allenai
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@f7caefca3e61e909d2e259ac5d705cb19358a02f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file asta_autodiscovery_modal-0.1.1-py3-none-any.whl.
File metadata
- Download URL: asta_autodiscovery_modal-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f576f685c5987f68a595ef936043241ee5b32be8d8e4435f64f87cfb9731ac0f
|
|
| MD5 |
51531f8f3a5b3f3dd289ab555e452012
|
|
| BLAKE2b-256 |
d44ccb97833dc1df40906ffc1f5749efe23c10e2143eb963c2ef10ebbe30d223
|
Provenance
The following attestation bundles were made for asta_autodiscovery_modal-0.1.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on allenai/asta-autodiscovery
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
asta_autodiscovery_modal-0.1.1-py3-none-any.whl -
Subject digest:
f576f685c5987f68a595ef936043241ee5b32be8d8e4435f64f87cfb9731ac0f - Sigstore transparency entry: 1608419068
- Sigstore integration time:
-
Permalink:
allenai/asta-autodiscovery@f7caefca3e61e909d2e259ac5d705cb19358a02f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/allenai
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@f7caefca3e61e909d2e259ac5d705cb19358a02f -
Trigger Event:
workflow_dispatch
-
Statement type: