Skip to main content

Core logic for AI-driven development context management

Project description

AI Context Core

The central nervous system for your AI-assisted coding workflow.

Features

  • Project Analysis: Deep AST analysis for Python projects.
  • Context Management: Keeps .ai-context files updated.
  • Profiles:
    • python-generic: Standard Python support.
    • qgis-plugin: Specialized rules for QGIS plugin development.
  • Workflow Automation: Standardized scripts for session management.

Installation

Globally (as a tool)

uv tool install .

In a Virtual Environment (Recommended for development)

  1. Create and activate the environment:

    uv venv
    source .venv/bin/activate
    
  2. Install the package (editable):

    uv sync
    

This will install the project and its dependencies in the .venv directory. The ai-ctx command will be available within the virtual environment.

Using in Another Project

If you want to use ai-ctx within the context of another project's virtual environment:

Option A: One-off execution (No installation required)

You can run it directly using the path to this repository:

uv run --with /path/to/ai-context-core ai-ctx analyze

Option B: Install in an existing environment

Activate your project's environment and run:

uv pip install /path/to/ai-context-core

Option C: Add as a development dependency

If the other project also uses uv:

uv add --dev --path /path/to/ai-context-core

Usage

# Initialize in a new project
ai-ctx init --profile qgis-plugin

# Update context manually
ai-ctx analyze

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

ai_context_core-1.0.1.tar.gz (45.3 kB view details)

Uploaded Source

Built Distribution

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

ai_context_core-1.0.1-py3-none-any.whl (49.3 kB view details)

Uploaded Python 3

File details

Details for the file ai_context_core-1.0.1.tar.gz.

File metadata

  • Download URL: ai_context_core-1.0.1.tar.gz
  • Upload date:
  • Size: 45.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ai_context_core-1.0.1.tar.gz
Algorithm Hash digest
SHA256 276c0c10bd5eb4c66f74e14152cd887ed4a78d29c2a4ab45847ef2a5ff9b1f2a
MD5 c5600dd5c33a65ae4d82347a50747892
BLAKE2b-256 410a71460798d7eec73fdffb852345ce80673e7cb056aca12c345820e18b1d9c

See more details on using hashes here.

File details

Details for the file ai_context_core-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: ai_context_core-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 49.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ai_context_core-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e7e9fa4d4ce4dfe8ec49cad4a9c5b1a933ef40ea9319f101e4ef1ed5af08c02
MD5 c9f74d5c6088db3f4140c81f04e85fd7
BLAKE2b-256 8cddafc1daa0eacd78094f1ca27d643d71f62eb18d4d4092a29d7f62db7084cc

See more details on using hashes here.

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