Skip to main content

gpyt

GPT in your terminal.

Note WIP


Try out the new (experimental and buggy) FREE model using GPT4Free:

$ gpyt --free

^ NO API KEY required

OR Try out PaLM 2 (requires Google MakerSuite API KEY)

$ gpyt --palm

If you have access, you can try out GPT4

$ gpyt --gpt4

Uses Textual.

Demo

gpyt demo

Markdown Support

markdown support

markdown support (showing table)

Installation & Usage

  1. $ pip install gpyt

  2. add OPENAI_API_KEY="<your_openai_api_key>" in a .env at $HOME or export OPENAI_API_KEY=<your_key>

  3. $ gpyt

Or try this optional method for running gpyt if you don't have an api key:

  1. $ gpyt --free

Or try this optional method for running PaLM 2, Google's premier LLM:

  1. $ gpyt --palm
    • Be sure to set an api key at ~/.env with the field PALM_API_KEY

Or try out GPT4 w/ gpyt!

  1. $ gpyt --gpt4

Keybindings

  • ctrl-b -> Toggle Dark/Light Mode
  • ctrl-n -> Open Past Conversations Sidebar
  • ctrl-c -> Quit
  • ctrl-o -> Model Selection Menu
  • ctrl-t -> Open External Editor (for input)
  • ctrl-x -> hide input box (helpful for small screens)

TODO

  • add gpt jailbreaks (DAN-esque)
  • add special flags like -t (terse) or -v (verbose) or -d (detailed) or -i

Metadata

Release files for gpyt 0.2.23

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

Source distribution (sdist)

Source distribution for gpyt 0.2.23
File Size Uploaded Provenance Actions
gpyt-0.2.23.tar.gz 14.8 kB Without provenance Details for gpyt-0.2.23.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gpyt 0.2.23
File Interpreter ABI Platform Actions
gpyt-0.2.23-py3-none-any.whl Python 3 none any Details for gpyt-0.2.23-py3-none-any.whl

Total release size: 34.9 kB

Release files / gpyt-0.2.23.tar.gz

Download URL gpyt-0.2.23.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e995339cf75a415883f4c306fa86efff78248ef08da6e540141b25d522f1eef6
BLAKE2b-256 checksum
How to use checksums
550461e042858c09071d8a9dd5aa6032d426ddb9c9bd3b103d219f1e55d43bd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.0 Linux/5.10.16.3-microsoft-standard-WSL2

Release files / gpyt-0.2.23-py3-none-any.whl

Download URL gpyt-0.2.23-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab1cdade5c2e97f621b3317e5ed1f296a06cbb420f9df5af3766a6f5e4f2a2fc
BLAKE2b-256 checksum
How to use checksums
402a30c9f19dfe5def7310330d67bd790afb48f2dfd76a1297630afc2e653f8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.0 Linux/5.10.16.3-microsoft-standard-WSL2

Security for gpyt 0.2.23

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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