A previous release had provenance metadata, but this release does not. View details.
CodeMap
Overview
CodeMap is an AI-powered developer toolkit designed to enhance your coding workflow. It offers features for code analysis, documentation generation, semantic search, and Git process streamlining—all accessible through an interactive CLI with multi-LLM support.
Features
- 📄 Generate Documentation: Create optimized markdown documentation and visualize repository structures.
- 📝 Smart Commits: Get AI-generated commit messages based on semantic analysis of your changes.
- 🔃 AI-Powered PRs: Streamline pull request creation and management with intelligent suggestions.
- 💬 AI Chat: Ask questions about your codebase using RAG and LLMs.
- 🔍 Index & Search: Build a semantic vector index and search your repository for deep code understanding.
- 🤖 LLM Support: Integrate with various LLM providers via PydanticAI.
Quick Start
Installation
Ensure uv is installed:
curl -LsSf https://astral.sh/uv/install.sh | sh
Install CodeMap globally:
uv tool install codemap
Key Commands
- Generate Documentation:
cm gen path/to/source
- Smart Commits:
cm commit - AI-Powered PRs:
cm pr - AI Chat:
cm ask "Which module is responsible for managing auth tokens?"
- Index & Search:
cm index
Configuration
CodeMap can be configured using a .codemap.yml file in your project root. Generate a default config with:
cm conf
For a full list of configuration options and examples, refer to the Configuration Guide on our documentation site.
Environment Variables
Add your LLM API keys to .env or .env.local in your project root. See LLM Support for details.
Development Setup
Interested in contributing? Please read our Code of Conduct and Contributing Guidelines.
- Clone:
git clone https://github.com/SarthakMishra/codemap.git && cd codemap - Prerequisites: Install Task, uv, and Python 3.12+.
- Setup Env:
uv venv && source .venv/bin/activate(or appropriate activation command for your shell) - Install Deps:
uv sync --dev - Verify:
task -llists available tasks.task ciruns checks and tests.
Detailed contribution instructions are in the Contributing Guide.
Acknowledgments
CodeMap relies on these excellent open-source libraries and models:
Core Dependencies
- PydanticAI - Unified interface for LLM providers
- Pydantic - Data validation library for Python
- Questionary - Interactive user prompts
- Rich - Beautiful terminal formatting and output
- Typer - Modern CLI framework for Python
- Model2Vec - Text embeddings for semantic code analysis
- Tree-sitter - Robust parsing system for code analysis
- SQLModel - SQL database integration with Python
- Qdrant - Vector search engine for semantic analysis
- PyGit2 - Git repository manipulation
- Scikit-learn - Machine learning utilities
- PyGithub - GitHub API integration
- Docker SDK - Docker container management
- Watchdog - Filesystem event monitoring
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for codemap 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| codemap-0.3.0.tar.gz | 1.1 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codemap-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / codemap-0.3.0.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | codemap-0.3.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c57cd33c24ece826430320c456b280e104a7a7257b1a9f49e8577317d12c25f
|
|
BLAKE2b-256 checksum How to use checksums |
861b086d1df18dd481a42a64d33364b9f416359cd043c52944ccb73ae7518e02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.3
|
Release files / codemap-0.3.0-py3-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | codemap-0.3.0-py3-none-any.whl |
|---|---|
| Size | 255.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85cb996349eccb3278bc01a5d5cb1918291cb6cb2e8992e5f818b05199d37438
|
|
BLAKE2b-256 checksum How to use checksums |
13ab279031870a37e8932fb78c4a4090a1a86fbb8d05965fff16dd7f6f6d6010
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.3
|
Security for codemap 0.3.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.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 0.2.0 2 files With provenance
- Added 0.3.0 2 files Without provenance
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.