Skip to main content

PineText

test codecov PyPI - Version

A lightweight assistant built using Pinecone that helps create RAG-based chat applications for reasoning over documents, retrieving relevant context, and providing grounded answers.

Getting Started

Use uv to add and manage PineText as a dependency in your project, or install it directly via uv pip install or pip install. See the Installation section of the documentation for full installation instructions and more details.

uv add pinetext

It can be embedded in and run directly from your application.

# app.py
from pinetext import PineText

def main():
    pt = PineText(name="test-assistant", model="gpt-5")
    pt.run()

It can also be launched from the command line using the provided CLI without modifying the source code.

pinetext ./data "Summarize these documents"

Or in an ephemeral, isolated environment using uvx. Check out the Using tools guide for more details.

uvx pinetext ./data

Configuration

Place documents in the data folder and make sure to set PINECONE_API_KEY and the assistant name before starting PineText.

export PINETEXT_PINECONE__API_KEY=your-api-key
export PINETEXT_PINECONE__ASSISTANT=assistant-name
export PINETEXT_PINECONE__DATA_DIR=data
export PINETEXT_PINECONE__MODEL=gpt-5

These settings can also be specified in a .env file in the working directory.

pinetext_pinecone__api_key=your-api-key
pinetext_pinecone__assistant=assistant-name
pinetext_pinecone__data_dir=data
pinetext_pinecone__model=gpt-5

Observability

PineText can optionally integrate with W&B Weave for tracing and observability. Install the optional dependencies with:

uv sync --extra observability

Then configure the W&B API key and project in your environment or .env file.

Docker

The PineText CLI can be deployed as a Docker container as follows:

docker run -it \
  --name pinetext \
  --env-file .env \
  -v $(pwd)/data:/app/data
  ghcr.io/ezhuk/pinetext:latest

Or using Docker Compose:

docker compose up

License

The server is licensed under the MIT License.

Metadata

Release files for pinetext 0.4.0

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

Source distribution (sdist)

Source distribution for pinetext 0.4.0
File Size Uploaded
pinetext-0.4.0.tar.gz 3.7 kB Details

Built distribution (wheel)

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

Total release size: 9.1 kB

Release files / pinetext-0.4.0.tar.gz

Download URL pinetext-0.4.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
27d67474c904e612dc732081c561a5a40567257946036ba31d264dce0ac112b5
BLAKE2b-256 checksum
How to use checksums
cc15f2a860169407242d5b287e161e1b4d5954a9471ca8feb6a32e35af425110
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.

Transparency log

Release files / pinetext-0.4.0-py3-none-any.whl

Download URL pinetext-0.4.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a828d8ae134b430e09a391f168ca6d9c5e89d05485577ef5c7b4eb0b6df2630e
BLAKE2b-256 checksum
How to use checksums
e5aa7e1f79e2b1871cde0d4642deda46cf4b3118a5588b59ff005643b0f3ee92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.12

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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