Abstraction layer over Modal SDK for mngr: supports direct, testing, and remote modes
Project description
modal-proxy
Abstraction layer over the Modal SDK for mngr.
This library defines a ModalInterface ABC that captures every interaction mngr_modal has with Modal. Three implementations are planned:
- DirectModalInterface -- calls the Modal Python SDK directly (the current behavior, extracted from mngr_modal)
- TestingModalInterface -- fakes Modal behavior locally (volumes become directories, sandboxes become process groups) for integration testing without remote calls
- RemoteModalInterface -- proxies calls to a web server, enabling a managed service that translates user credentials into real Modal API calls
Usage
The ModalInterface is intended to be injected into ModalProviderInstance (in mngr_modal) rather than having mngr_modal call the Modal SDK directly.
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 modal_proxy-0.1.4.tar.gz.
File metadata
- Download URL: modal_proxy-0.1.4.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8514dfb48452c12f4e94e2886d2b27abb9b3d5baf6e9d6deb0c9de1dc4fa4cd
|
|
| MD5 |
1d91dba44076a20b46564b2b836ba695
|
|
| BLAKE2b-256 |
883cb23da76da220326e7063b5db3217535d41b2ab9b1c91c8ef06fad8cf75c4
|
Provenance
The following attestation bundles were made for modal_proxy-0.1.4.tar.gz:
Publisher:
publish.yml on imbue-ai/mngr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modal_proxy-0.1.4.tar.gz -
Subject digest:
f8514dfb48452c12f4e94e2886d2b27abb9b3d5baf6e9d6deb0c9de1dc4fa4cd - Sigstore transparency entry: 1258463133
- Sigstore integration time:
-
Permalink:
imbue-ai/mngr@89ef4a52f1d1d1a1e81f428334d80d9484083bac -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/imbue-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@89ef4a52f1d1d1a1e81f428334d80d9484083bac -
Trigger Event:
push
-
Statement type:
File details
Details for the file modal_proxy-0.1.4-py3-none-any.whl.
File metadata
- Download URL: modal_proxy-0.1.4-py3-none-any.whl
- Upload date:
- Size: 20.7 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 |
3e398e28980876dcc0b97b2c4eb6974e9055895dbab04b1c8284e329fe62bec2
|
|
| MD5 |
15a1bc0588fdefab901b39417ceb655b
|
|
| BLAKE2b-256 |
d4694670f65a94a4729ce2c9883d9e855281846be7083cfee8ed394a7d41fb89
|
Provenance
The following attestation bundles were made for modal_proxy-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on imbue-ai/mngr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
modal_proxy-0.1.4-py3-none-any.whl -
Subject digest:
3e398e28980876dcc0b97b2c4eb6974e9055895dbab04b1c8284e329fe62bec2 - Sigstore transparency entry: 1258464190
- Sigstore integration time:
-
Permalink:
imbue-ai/mngr@89ef4a52f1d1d1a1e81f428334d80d9484083bac -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/imbue-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@89ef4a52f1d1d1a1e81f428334d80d9484083bac -
Trigger Event:
push
-
Statement type: