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"])
Metadata
Release files for asta-autodiscovery-modal 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asta_autodiscovery_modal-1.0.1.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asta_autodiscovery_modal-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / asta_autodiscovery_modal-1.0.1.tar.gz
| Download URL | asta_autodiscovery_modal-1.0.1.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad4068d2a6d3674d0682acd0fda1f0e5c590840dca3271a53d4b4d767dac4b52
|
|
BLAKE2b-256 checksum How to use checksums |
4e9f0e24f17503aaeb9afae1308e74d5c42085bbadae06b156e54a8535473648
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.
Transparency logRelease files / asta_autodiscovery_modal-1.0.1-py3-none-any.whl
| Download URL | asta_autodiscovery_modal-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9889041dba1f5a4c233624904d6f3ec91647a4a33a11c5484b0114ad82e7ead
|
|
BLAKE2b-256 checksum How to use checksums |
7ef7543184ea5d6b43decddfe3acb0c4552b7804f48039f62a6811a207521721
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.
Transparency log