Code search and navigation engine powered by vectorless, without vector database.
Project description
vectorless-code
Code-aware search and navigation engine, powered by vectorless.
Install
pip install vectorless-code
Quick start
# Initialize in your project
vcc init
# Compile the codebase
vcc compile
# Search
vcc ask "where is the authentication logic"
Commands
| Command | Description |
|---|---|
vcc init |
Initialize project (creates .vectorless_code/settings.yml) |
vcc compile |
Compile codebase into searchable index |
vcc ask <question> |
Ask a question about the codebase |
vcc status |
Show compilation status and index statistics |
vcc is the short name. vectorless-code also works.
Development
Requirements
- Python 3.11+
- uv (recommended) or pip
Setup
# Clone
git clone https://github.com/vectorlessflow/vectorless-code.git
cd vectorless-code
# Install with dev dependencies (editable mode)
pip install -e ".[dev]"
Run tests
# Run all tests
python -m pytest tests/ -v
# Run a specific test
python -m pytest tests/test_compile.py::TestDetectLanguage -v
Lint and format
ruff check src/ tests/ --fix
ruff format src/ tests/
Type check
mypy src/
License
Apache-2.0
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
vectorless_code-0.1.1.tar.gz
(150.8 kB
view details)
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 vectorless_code-0.1.1.tar.gz.
File metadata
- Download URL: vectorless_code-0.1.1.tar.gz
- Upload date:
- Size: 150.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4f66320bf420ab2cc181b18441f3a52c4e7f3471f146c33364488b7bad74f1c
|
|
| MD5 |
c4c60c71a41e52304f539a8e37bafa17
|
|
| BLAKE2b-256 |
246e539d66ca49412c2badca955991ccf33c2202e6ea35cab011d50fcaa7a27d
|
File details
Details for the file vectorless_code-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vectorless_code-0.1.1-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c213122f51e5dfb66eedce1ce91b4c1bed831021151c364df8e9b5f7cdafc52
|
|
| MD5 |
4e3ea153e029648f9ccbd0ad83937b9a
|
|
| BLAKE2b-256 |
b54a5761a2662b7199b28e3f124374b6baaa1fcaa31675e60ad77afbcfadb5a7
|