Skip to main content

Pandify

PyPI version Python versions License: MIT

Pandify is a lightweight Python utility library providing structured data workflow helpers, tabular processing scripts, and interactive console development tools.

Designed as an importable library rather than a complex CLI, Pandify allows developers to embed stateful, password-protected processing pipelines directly inside their scripts through clean, intuitive Python function calls.


Key Features

  • Intuitive Function API: Simply import pandify and call pandify.auth(), pandify.chat(), pandify.upload().
  • Zero-Clutter Terminal: Minimal, distraction-free terminal interface. No banners, no dashboards, no ASCII logos.
  • Argon2id Authentication: Secure master password hashing and failed-attempt lockout protection.
  • OS-Keyring Token Storage: Sensitive developer credentials and tokens are stored in the OS credential store (Windows Credential Manager, macOS Keychain, Linux SecretService) or in-memory RAM fallback — never in plaintext or source files.
  • Dynamic Multi-Token Rotation: Register $N$ service credentials with automatic Least-Recently-Used rotation and exponential backoff handling.
  • Multimodal File Ingestion: Stage and analyze code, PDFs, Word documents, Excel sheets, CSVs, and images.
  • Local Sovereignty: State, custom templates, settings, and metadata remain locally on your machine in SQLite and TOML.

Installation

Install directly from PyPI or local wheel:

pip install pandify

To install development dependencies (for testing and building):

pip install "pandify[dev]"

Quick Start

1. Basic Processing Script

import pandify

# Authenticate session
pandify.auth()

# Interactive query / code generation
pandify.chat("Create a modular data parser in Python", stream=False)

# Cleanly exit session
pandify.exit()

2. File & Script Ingestion

import pandify

pandify.auth()

# Attach code, documents, or data sheets
pandify.upload("pipeline.py")
pandify.upload("data.csv")

# Process staged files in context
pandify.chat("Review the pipeline implementation against the data schema.")

3. Remote Sync & Clean Exit

import pandify

# Sync credentials from private backup endpoint:
pandify.download_keys(url="https://krishnahere.pythonanywhere.com", password="pandify123")

pandify.auth()
pandify.chat("Write a handler for UDP packets", stream=False)

# Clean up memory and delete local temporary credential files
pandify.clear_keys()
pandify.clear_memory()
pandify.exit(delete_files=["keys.txt"])

Public Python API Reference

Function Description
pandify.auth(password=None, key=None, keys_file=None) Authenticate session. Supports direct key or keys file injection for restricted lab PCs.
pandify.chat(message, stream=None) Execute conversational query. Supports syntax-highlighted code blocks (stream=False).
pandify.upload(path) Validate and stage documents, spreadsheets, images, or code for the next query.
pandify.remember(content, name='mentor_template') Pre-save reference code templates to ground all responses in your mentor's exact style.
pandify.download_keys(url, password, save_file=None) Sync credentials from your private remote server directly into secure memory.
pandify.clear_keys() Completely wipe all credentials from local OS Keyring and database.
pandify.clear_memory() Wipe all pre-saved code templates from SQLite storage.
pandify.new(title=None) Start a new conversation thread with a fresh context.
pandify.history(limit=20, export_path=None) List recent sessions or export active conversation to Markdown or JSON.
pandify.keys(action=None, **kwargs) Manage developer service keys securely (add, list, sync, remove, clear).
pandify.configure(**kwargs) Inspect or update settings (model, streaming, file limits, theme, timeouts).
pandify.clear() Clear messages in the active conversation and unstage attachments.
pandify.pandify_help() Display full developer API reference and exam workflow guide.
pandify.exit(delete_files=None) Invalidate session token, restore terminal mode, release resources, and delete temporary files.

Supported File Types

  • Documents: .pdf, .docx, .xlsx, .csv, .txt
  • Images: .png, .jpg, .jpeg, .webp
  • Code: .py, .js, .ts, .jsx, .tsx, .java, .c, .cpp, .html, .css, .json, .xml, .sql, .php, .go, .rs
  • Additional: .md, .log

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for pandify 0.1.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 pandify 0.1.0
File Size Uploaded Provenance Actions
pandify-0.1.0.tar.gz 47.4 kB Without provenance Details for pandify-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 95.7 kB

Release files / pandify-0.1.0.tar.gz

Download URL pandify-0.1.0.tar.gz
Size 47.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c1b0f724b720449269814e932ffb773651cba06c323180409be571c2a9076556
BLAKE2b-256 checksum
How to use checksums
cd547f4e10a5b58c390cbdee08f7b3f9c7e1e32c81cdc8228cef2fc85cbf7fd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Release files / pandify-0.1.0-py3-none-any.whl

Download URL pandify-0.1.0-py3-none-any.whl
Size 48.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a58c440e61d64e8e8ecc826affb6d7c0dbe94585e9b34f8435cdb0c374711dc
BLAKE2b-256 checksum
How to use checksums
a6ed856d6efdb39dfaf93953b12279be30c11a70f384c7e2dff417a2a8a1d9f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.0

Security for pandify 0.1.0

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