deepsense.ai wrapper around docker python API
Project description
ds_pycontain is a small python package to help with docker containers and images and provide Python REPL running in a docker container.
Example use case you might consider is to isolate python code execution generated by untrusted LLM by running it in a docker container.
This package makes it a bit easier to:
Build docker images from Dockerfiles or in-memory string.
Pull docker images from dockerhub (or similar).
Run docker container to execute a one-off command.
Run docker container to execute a long-running process and communicate with it.
Run python commands in a container and get the result.
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 ds_pycontain-0.0.3.tar.gz.
File metadata
- Download URL: ds_pycontain-0.0.3.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60621b49a81b698dc13ef5c93ee83d8b787d148f21231d588023b9a3bf38571c
|
|
| MD5 |
8b7b3904fe37e1d1991cbfc4439e76a7
|
|
| BLAKE2b-256 |
14bf96155f0ed2153df5f8a7d83969356fd22c19ea7a795bff7176fd6aea89ec
|
File details
Details for the file ds_pycontain-0.0.3-py2.py3-none-any.whl.
File metadata
- Download URL: ds_pycontain-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2017a54cbfd4cb5aafec4dbbd5d8c42392d1024cfb827e9be2740b3f68e7ddca
|
|
| MD5 |
641a0c89e4e444601190b68206a4bfa4
|
|
| BLAKE2b-256 |
ba7e4d29dda2891696562c05fddf30254bdda98420e20f5873ae4b055400e000
|