Skip to main content

RunAI interactive context

PyPI - Version PyPI - Python Version

This CLI improves the interactive mode of the runai CLI by:

  • Deleting the job on exit to reduce the costs of idle interactive sessions.
  • Allowing for longer delays when asking for a port forward (RunAI CLI only waits 60 seconds)
  • Parsing and translating url of a jupyter notebook (with the forwarded port and token information).

Table of Contents

Installation

pip install runai-interactive-context

Usage

Start an interactive jupyter server:

runai-interactive --mode jupyter <job_name> <image_name> -- jupyter server

Run a streamlit application

runai-interactive --mode port --container-port 8501 <job_name> <image_name> -- streamlit app.py

License

runai-interactive-context is distributed under the terms of the MIT license.

Metadata

Release files for runai-interactive-context 0.0.2

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

Source distribution (sdist)

Source distribution for runai-interactive-context 0.0.2
File Size Uploaded
runai_interactive_context-0.0.2.tar.gz 5.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for runai-interactive-context 0.0.2
File Interpreter ABI Platform
runai_interactive_context-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 MB

Release files / runai_interactive_context-0.0.2.tar.gz

Download URL runai_interactive_context-0.0.2.tar.gz
Size 5.1 MB
Tags Source
SHA-256 checksum
How to use checksums
56bcb6ac8a470329b68cd3d5a5a16c7f5e51bd011c20643c90dfd71476f0af5d
BLAKE2b-256 checksum
How to use checksums
d11d04875a6876503f8ad4919d5bf12c3113051a9075dbe85dcb04932cb46734
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3

Release files / runai_interactive_context-0.0.2-py3-none-any.whl

Download URL runai_interactive_context-0.0.2-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7fb985214b5444ffb882bb46d16dd13e94604fa2666d996861daac80d5c8273
BLAKE2b-256 checksum
How to use checksums
5c8c2841164732c7281de87b741bb3ea848a596df1728f0e66aa60af1e298038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.23.3

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

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