Skip to main content

Local runner for QuantGPT with WebSocket support

Project description

QuantGPT Local Runner

Local WebSocket-capable runner for QuantGPT experiments.

Usage

pip install quantgpt-local-runner
quantgpt-run-local --port 8000 --host 0.0.0.0 --log-level debug

WebSocket

  • Endpoint: /ws
  • Send JSON with a code field containing Python to execute.

Example message:

{"code": "print('hello world')"}

Response:

{"status":"completed","content":"hello world\n","timestamp":"..."}

Notes

  • If available, numpy, pandas, and vectorbtpro are imported into the execution namespace as np, pd, and vbt.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantgpt_local_runner-0.2.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantgpt_local_runner-0.2.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file quantgpt_local_runner-0.2.2.tar.gz.

File metadata

  • Download URL: quantgpt_local_runner-0.2.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.3

File hashes

Hashes for quantgpt_local_runner-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e8fcd7fe51f83d6a0db0079857aaffc6104e502858cf1796097f535a54718259
MD5 b29bd77ca4450d4c9a3b956cd05ba2b1
BLAKE2b-256 5c9112671f7b9a44e070d58ce847248e2517fb6047f75bf22f3f5a9f78ae6cda

See more details on using hashes here.

File details

Details for the file quantgpt_local_runner-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for quantgpt_local_runner-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9fa78066856c00f72482a268a5bdea997ee74dbadf65c7d8532bc6f89675f88c
MD5 b5df65b7c1c5f4f7f5a44151e9d46a10
BLAKE2b-256 4dc89a31f11c6babd24fd258ad718bd58f4f5cd58727bd0d0c6f682d7558b7ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page