Skip to main content

AI-powered code autocomplete with RL-optimized suggestions

Project description

vishwa-autocomplete

Python backend for the Vishwa Autocomplete VS Code extension — AI-powered code completions with reinforcement learning.

Installation

pip install vishwa-autocomplete

Python 3.10+ is required.

Usage

This package is the backend service for the Vishwa Autocomplete VS Code extension. The extension installs and manages it automatically.

You can also run it directly:

# With a local Ollama model (default: gemma3:4b)
vishwa-autocomplete --model gemma3:4b

# With a cloud model (set your API key first)
export ANTHROPIC_API_KEY=sk-...
vishwa-autocomplete --model claude-haiku-4-5

Or as a module:

python -m vishwa_autocomplete.service --model gemma3:4b

Supported Models

Local (free, via Ollama):

  • gemma3:4b — Google Gemma 3 4B (default)
  • qwen2.5-coder:7b — Qwen 2.5 Coder
  • deepseek-coder — DeepSeek Coder

Cloud (requires API key):

Model Provider Env var
claude-haiku-4-5 Anthropic ANTHROPIC_API_KEY
claude-sonnet-4-6 Anthropic ANTHROPIC_API_KEY
gpt-4o-mini OpenAI OPENAI_API_KEY

Configuration

Set your model and API keys via environment variables or a .env file:

# ~/.vishwa-autocomplete/.env
VISHWA_AUTOCOMPLETE_MODEL=claude-haiku-4-5
ANTHROPIC_API_KEY=sk-ant-...

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vishwa_autocomplete-1.0.0.tar.gz (21.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vishwa_autocomplete-1.0.0-py3-none-any.whl (42.3 kB view details)

Uploaded Python 3

File details

Details for the file vishwa_autocomplete-1.0.0.tar.gz.

File metadata

  • Download URL: vishwa_autocomplete-1.0.0.tar.gz
  • Upload date:
  • Size: 21.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vishwa_autocomplete-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e2b2e7ff044cf137fb1d88ee1c18596ba8913652fd4ac1566e471974f852e5ed
MD5 1d0706e2cfbcc693f6a4588adb33f848
BLAKE2b-256 af60894927277421b71f38d2230c707c767c5f1bd3b72e2f3f3949ef05c76639

See more details on using hashes here.

Provenance

The following attestation bundles were made for vishwa_autocomplete-1.0.0.tar.gz:

Publisher: publish.yml on srujan375/vishwa-autocomplete

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vishwa_autocomplete-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vishwa_autocomplete-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0b3a8da8c32abaa102461c23b278733ea42915ac65606950b41134496a74d34
MD5 b19622996ff59df1d2dc0b6275863042
BLAKE2b-256 bf1f6080f8d3ac9c160cbe206afd7634b7b505bb429888c1d71efe2b88c86b90

See more details on using hashes here.

Provenance

The following attestation bundles were made for vishwa_autocomplete-1.0.0-py3-none-any.whl:

Publisher: publish.yml on srujan375/vishwa-autocomplete

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page