Skip to main content

ChattoNPy

A simple python CLI chat interface and module for Gemini API

Installation

Install as a CLI Tool

pipx install ChattoNPy

or via UV:

uv tool install ChattoNPy

Install as a Module

pip install ChattoNPy

or via UV:

uv add ChattoNPy

Usage

CLI

Set the API key as an environment variable:

$env:GEMINI_API_KEY="YOUR_API_KEY"

On linux/macOS:

export GEMINI_API_KEY="YOUR_API_KEY"

Then run the tool:

ChattoNPy

Module

from chattonpy import generate
import os

response = generate("Tell me a joke", os.environ.get("GEMINI_API_KEY"))
print(response)

response = generate("Tell me a joke", os.environ.get("GEMINI_API_KEY"))
print(response)

Metadata

Release files for chattonpy 1.2.6

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

Source distribution (sdist)

Source distribution for chattonpy 1.2.6
File Size Uploaded Provenance
chattonpy-1.2.6.tar.gz 5.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 12.7 kB

Release files / chattonpy-1.2.6.tar.gz

Download URL chattonpy-1.2.6.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
acc617bf4a2ad3c15d466c219b4804577b44b563358fe2e8eae7338235bb3f16
BLAKE2b-256 checksum
How to use checksums
b624eb7fa50c4346131c8be12b47864ff2bd6405ef1de5aa79d609129c716eab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / chattonpy-1.2.6-py3-none-any.whl

Download URL chattonpy-1.2.6-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08a00f1b52e55f99fae5275cdf626a59bf4359e0239c31755e5e68afd438b5e8
BLAKE2b-256 checksum
How to use checksums
9587ee51d9bc5e836c39cd07b5c532dc7748294a1cad31ba02434a98d29c18e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for chattonpy 1.2.6

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