Skip to main content

deepsense.ai ds_pycontain

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.

Metadata

Release files for ds-pycontain 0.0.3

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

Source distribution (sdist)

Source distribution for ds-pycontain 0.0.3
File Size Uploaded
ds_pycontain-0.0.3.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ds-pycontain 0.0.3
File Interpreter ABI Platform
ds_pycontain-0.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 27.2 kB

Release files / ds_pycontain-0.0.3.tar.gz

Download URL ds_pycontain-0.0.3.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
60621b49a81b698dc13ef5c93ee83d8b787d148f21231d588023b9a3bf38571c
BLAKE2b-256 checksum
How to use checksums
14bf96155f0ed2153df5f8a7d83969356fd22c19ea7a795bff7176fd6aea89ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / ds_pycontain-0.0.3-py2.py3-none-any.whl

Download URL ds_pycontain-0.0.3-py2.py3-none-any.whl
Size 12.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2017a54cbfd4cb5aafec4dbbd5d8c42392d1024cfb827e9be2740b3f68e7ddca
BLAKE2b-256 checksum
How to use checksums
ba7e4d29dda2891696562c05fddf30254bdda98420e20f5873ae4b055400e000
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

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