Skip to main content

GPTScript - The LLM scripting language

Project description

GPTScript is a minimal scripting language that looks like polite chatbot dialogue. It supports basic features like variables, printing, functions, and HTTP requests.

Installation

pip install GPTScriptLang

Usage

Run a .gpt file like this:

gptscript path/to/file.gpt

Example

Hello, how can I assist you today?

Let me store the number 42 as answer.

Now, let's kindly display: answer

Thank you for your patience.

Features

  • Numbers and text assignment
  • Print statements
  • HTTP GET and POST
  • Function definitions and calls

License

MIT

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

gptscriptlang-0.1.8.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

gptscriptlang-0.1.8-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file gptscriptlang-0.1.8.tar.gz.

File metadata

  • Download URL: gptscriptlang-0.1.8.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for gptscriptlang-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2858af4dafb4f76c31b1125b7c7880a1e47afbe56e3186cd23957a6f0a1cd75c
MD5 28921bd7f76bcdb6c8dde482939a3113
BLAKE2b-256 2a34570e0356482b0901d57e0c51fddd7e10930e7c4918f83317287910e2332b

See more details on using hashes here.

File details

Details for the file gptscriptlang-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: gptscriptlang-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for gptscriptlang-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 01a6e30b8fbd854af54f46ca94e0653fa72246b5b446068f22016607eac4ea98
MD5 3b8cbc065eeaaae126fd0e14740afa8c
BLAKE2b-256 0a06ce17a32d965e0ebc49c08e17210812c773b1893f3c44b92a7f43b99abdd9

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