Skip to main content

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

Release files for GPTScriptLang 0.1.8

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

Source distribution (sdist)

Source distribution for GPTScriptLang 0.1.8
File Size Uploaded
gptscriptlang-0.1.8.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GPTScriptLang 0.1.8
File Interpreter ABI Platform
gptscriptlang-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 kB

Release files / gptscriptlang-0.1.8.tar.gz

Download URL gptscriptlang-0.1.8.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2858af4dafb4f76c31b1125b7c7880a1e47afbe56e3186cd23957a6f0a1cd75c
BLAKE2b-256 checksum
How to use checksums
2a34570e0356482b0901d57e0c51fddd7e10930e7c4918f83317287910e2332b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release files / gptscriptlang-0.1.8-py3-none-any.whl

Download URL gptscriptlang-0.1.8-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01a6e30b8fbd854af54f46ca94e0653fa72246b5b446068f22016607eac4ea98
BLAKE2b-256 checksum
How to use checksums
0a06ce17a32d965e0ebc49c08e17210812c773b1893f3c44b92a7f43b99abdd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.8 This release

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