Skip to main content

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asta-autodiscovery-modal 1.0.0
File Size Uploaded
asta_autodiscovery_modal-1.0.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for asta-autodiscovery-modal 1.0.0
File Interpreter ABI Platform
asta_autodiscovery_modal-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / asta_autodiscovery_modal-1.0.0.tar.gz

Download URL asta_autodiscovery_modal-1.0.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eba7e558a914e7bcf37f780e6af3f68e541da79177cf6ce31d1495c2b4c00e22
BLAKE2b-256 checksum
How to use checksums
0c189db9d28395b4a904ac23a583918e0aad13657b82c64b46d51dfa59cf75db
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 3, 2026.

Transparency log

Release files / asta_autodiscovery_modal-1.0.0-py3-none-any.whl

Download URL asta_autodiscovery_modal-1.0.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5fd1cd7b23993274a991bf6b2f571695ac0c8de42bad742ad221dc75cb251a5
BLAKE2b-256 checksum
How to use checksums
486894ecb7fa873c4edc6b0518b294e1e61b21294146b0e906a1a46a284dd3e6
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 3, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.1

2 release files

This release

1.0.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page