An intelligent file organiser
Project description
supergit
The database of the future.
Overview
supergit is an intelligent file organizer that helps manage and organize files within a repository using LLM. It leverages the Anthropic API to provide contextual file organization and management.
Features
- Anthropic API Integration: Utilizes the Anthropic API for intelligent file organization and context management.
- Contextual File Analysis: Analyzes file content and user instructions to determine the best directory and filename.
- Recursive Context Collection: Collects context data from
.supergit.yamlfiles across directories. - File Placement and Commit: Moves files to appropriate directories and commits changes to the Git repository.
- Supergit Initialization: Initializes directories with
.supergit.yamlfiles and sets up a Git repository. - Reindexing: Updates file indexes in
.supergit.yamlfiles. - Natural Language Query: Finds files based on natural language queries.
Requirements
- Python 3.6+
- Git
- Anthropic API Key (set in the
ANTHROPIC_API_KEYenvironment variable)
Installation
- Clone the repository.
- Install the repository.
cd supergit pip install -e . - Set your Anthropic API key:
export ANTHROPIC_API_KEY='your_api_key_here'
Usage
Initialize Supergit
To initialize a supergit repository:
supergit init --dir /path/to/root
Add a File
To add a file to the supergit repository:
supergit add --file /path/to/file --dir /path/to/root
Reindex Directories
To reindex the supergit directories:
supergit reindex --dir /path/to/root
Query Files
To query files in the supergit repository:
supergit query --dir /path/to/root "your query here"
License
This project is licensed under the MIT License.
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 supergit-0.1.0.tar.gz.
File metadata
- Download URL: supergit-0.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d35f831dde3519436f556ff559733495cecccc47dfc7e276ba5405c02e319949
|
|
| MD5 |
463231477127329624a8eab657e39aff
|
|
| BLAKE2b-256 |
8891a9aa1b51add2303024ac72e1e173d3bd3267bf89d125da96c5bb57de79fd
|
File details
Details for the file supergit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: supergit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
717463eaeddca34a47fa7d1d6f5748788dae338f4e7f81312a53745e599ad701
|
|
| MD5 |
eeb5cd6cd278cf47be28776cdd2c5a64
|
|
| BLAKE2b-256 |
4d41cb4c24b3eaeba9c0a6430d2b57b6c2e2472183827e65156134ffd6ef833b
|