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.1

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.1
File Size Uploaded Provenance Actions
pinetext-0.4.1.tar.gz 4.3 kB With provenance Details for pinetext-0.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 9.7 kB

Release files / pinetext-0.4.1.tar.gz

Download URL pinetext-0.4.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e2efcbe13df305627e304baa0ab97793bef264a1f9c29ae6fc403b2d4dc1b8a2
BLAKE2b-256 checksum
How to use checksums
32dc6b73e4cb611f899bb61893254f96cb9d645daf9cdfd0ef946d612d875938
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 19, 2026.

Transparency log

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

Download URL pinetext-0.4.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
920f5ee3d23edd099aa20d327d79e14f4a2c8448bc85cd5bb2028a35ad98f5d5
BLAKE2b-256 checksum
How to use checksums
22e722dd4b1cd5f6bf6ed7d9face0b66c4c52463af684ba364844f2142b63ecd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 19, 2026.

Transparency log

Security for pinetext 0.4.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pinetext-0.4.1.tar.gz

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 Nov 19, 2026.

Transparency log

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