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-contextfiles 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)
-
Create and activate the environment:
uv venv source .venv/bin/activate
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
276c0c10bd5eb4c66f74e14152cd887ed4a78d29c2a4ab45847ef2a5ff9b1f2a
|
|
| MD5 |
c5600dd5c33a65ae4d82347a50747892
|
|
| BLAKE2b-256 |
410a71460798d7eec73fdffb852345ce80673e7cb056aca12c345820e18b1d9c
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e7e9fa4d4ce4dfe8ec49cad4a9c5b1a933ef40ea9319f101e4ef1ed5af08c02
|
|
| MD5 |
c9f74d5c6088db3f4140c81f04e85fd7
|
|
| BLAKE2b-256 |
8cddafc1daa0eacd78094f1ca27d643d71f62eb18d4d4092a29d7f62db7084cc
|