Skip to main content

rp4

simple python replacement for the bloated LLM frontends

rp4 /fourp/ is a simple and minimalist LLM frontend initially written in a few days, not without the help of LLMs.

Installation

Install from PyPI.

pipx install rp4

Install from GitHub.

pipx install 'git+https://github.com/asakura42/rp4.git'

Clone and install.

git clone ...
pipx install -e .

Usage

rp4 --gui

The program uses https://github.com/xtekky/gpt4free library or your own OpenAI-compatible completions API.

This program was written for the own use and is still in development, so it may not always work the way the user expects. For example, if the model does not change, simply close and reopen the program.

Configuration

Config files are stored in ~/.config/rp4.

TODO

  • various quotes handling
  • aicg proxy parsing (do I really need it?)

Any improvements, issues, thoughts and pull requests will be appreciated.

===

Gabriela from settings.json example taken from https://www.chub.ai/characters/summernon/practice-spanish-with-gabriela

Metadata

Release files for rp4 0.0.3

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

Source distribution (sdist)

Source distribution for rp4 0.0.3
File Size Uploaded Provenance Actions
rp4-0.0.3.tar.gz 23.1 kB Without provenance Details for rp4-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 47.1 kB

Release files / rp4-0.0.3.tar.gz

Download URL rp4-0.0.3.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c25ea0a7c9e7592f2e6b837837d56b13a9ea62033d7cd3757c6830c416593808
BLAKE2b-256 checksum
How to use checksums
2f2e2893d0e50433bbe638c08ba9865d49562186099da44659b458070bfeacaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / rp4-0.0.3-py3-none-any.whl

Download URL rp4-0.0.3-py3-none-any.whl
Size 24.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2480c641d488b682f8c8312293556a6f049551f536d0bd5131fb2b9eb3b864a
BLAKE2b-256 checksum
How to use checksums
ef00d9795e36d46d9237911bd1adbca8737122889abf24eb544174b6fbaf2e3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Security for rp4 0.0.3

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