Intelligent assistant for project analysis and documentation using AI
Project description
ProjectPrompt: Intelligent Assistant for Project Analysis and Documentation
Advanced tool that uses AI to analyze projects, generate documentation, and provide improvement suggestions.
Features
- Analysis of project structure and architecture
- Automatic detection of technologies and frameworks
- Detailed documentation generation
- AI-powered improvement suggestions (Anthropic Claude)
- Integration with existing IDEs and workflows
- Support for multiple programming languages and frameworks
Prerequisites
- Python 3.8 or higher
- Git (for cloning the repository)
- pip (Python package manager)
- Internet access (for installing dependencies)
Installation
Automated Installation (Recommended)
For Linux/macOS
# Clone the repository
git clone https://github.com/Dixter999/project-prompt.git
cd project-prompt
# Run the setup script
chmod +x scripts/setup_environment.sh
./scripts/setup_environment.sh
For Contributors
If you're contributing to the project and need to create a release:
- Make your changes and commit them
- Update version in
pyproject.tomlandsrc/__init__.py - Update CHANGELOG.md with your changes
- Go to Actions tab on GitHub and run the "Manual Release Pipeline"
For Windows
# Clone the repository
git clone https://github.com/Dixter999/project-prompt.git
cd project-prompt
# Run the setup script
.\scripts\setup_environment.bat
Manual Installation
-
Clone the repository:
git clone https://github.com/Dixter999/project-prompt.git cd project-prompt
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
Quick Start
To analyze a project:
# Basic analysis
python -m src.main analyze /path/to/your/project
# AI-powered analysis (requires Anthropic API key)
python -m src.main analyze /path/to/your/project --ai
Results will be saved in the project-output/analyses directory.
Command Line Interface
ProjectPrompt can be used with two command formats:
# Full command
project-prompt analyze --project /path/to/your/project
# Short alias
pp analyze --project /path/to/your/project
Common commands:
# Analyze a project with advanced model
pp analyze --project /path/to/your/project --model advanced
# Generate documentation
pp generate-docs --project /path/to/your/project --output docs/
# Get help
pp --help
Project Structure
project-prompt/
├── docs/ # Documentation
│ ├── guides/ # User and developer guides
│ ├── reference/ # API reference
│ └── development/ # Development documentation
├── examples/ # Examples and sample projects
│ └── test-projects/ # Test project templates
├── project-output/ # Directory for generated files
│ ├── analyses/ # Project analyses
│ └── suggestions/ # Improvement suggestions
├── scripts/ # Utility scripts
├── src/ # Main source code
│ ├── analyzers/ # Code analysis modules
│ ├── api/ # API integrations
│ ├── core/ # Core functionality
│ ├── generators/ # Content generation modules
│ ├── integrations/ # External service integrations
│ ├── templates/ # Project templates
│ ├── ui/ # User interface components
│ └── utils/ # Utilities and helper tools
└── tests/ # Tests
├── anthropic/ # Anthropic integration tests
├── integration/ # Integration tests
├── unit/ # Unit tests
└── verification/ # Verification tests
Documentation
Comprehensive documentation is available in the docs/ directory:
- User Guide - Getting started with ProjectPrompt
- API Reference - API documentation
- Testing Guide - How to test the system
- Deployment Guide - Deployment checklist and procedures
- Development Guide - For contributors
Anthropic API Configuration
To use advanced AI features, you need to configure an Anthropic API key:
-
Get an API key from Anthropic
-
Configure the API key:
# Option 1: Environment variable export anthropic_API=your_api_key_here # Option 2: .env file in the project root echo "anthropic_API=your_api_key_here" > .env
-
Available models:
- Default: Claude 3 Haiku (faster, more economical)
- Advanced: Claude 3.7 Sonnet (more detailed analysis)
You can specify which model to use:
pp analyze --project /path/to/your/project --model advanced
Configuration Options
You can customize ProjectPrompt behavior in your .env file:
# Claude API settings
anthropic_API=your_api_key_here
ANTHROPIC_VERSION=2023-06-01
# Model settings
DEFAULT_MODEL=claude-3-haiku-20240307
ADVANCED_MODEL=claude-3-7-sonnet-20240620
# Generation parameters
MAX_TOKENS=4000
TEMPERATURE=0.7
# Other settings
TELEMETRY_ENABLED=true
LOG_LEVEL=info
Contributing
We welcome contributions from the community! Please read CONTRIBUTING.md for guidelines on how to contribute to the project.
- Bug reports: Open an issue with the label "bug"
- Feature requests: Open an issue with the label "enhancement"
- Code contributions: Check our ROADMAP.md and look for issues labeled "good first issue"
Security
Please review our Security Policy for information about reporting vulnerabilities.
Community
- Code of Conduct: Please read our Code of Conduct
- Discussions: Use GitHub Discussions for questions and community interaction
- Project Status: Check our ROADMAP.md for upcoming features
License
This project is licensed under the terms specified in the LICENSE file.
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 projectprompt-1.0.0.tar.gz.
File metadata
- Download URL: projectprompt-1.0.0.tar.gz
- Upload date:
- Size: 279.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da09e81d912bd741b6cfe095c373bdf114610c7b5fd8df0f69996faf2c0ea839
|
|
| MD5 |
1522c09e04be48cbbd86656221bceded
|
|
| BLAKE2b-256 |
45864d7ed78f21898ca23014ce02fbca4642bb0873cf467f54e1606c011f6abe
|
File details
Details for the file projectprompt-1.0.0-py3-none-any.whl.
File metadata
- Download URL: projectprompt-1.0.0-py3-none-any.whl
- Upload date:
- Size: 357.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b87f558573da5d71f875f87fd4954c7303262c22ef7c190d781cfae7956e9583
|
|
| MD5 |
c330f50ed4f5f7420de8a97841b2e7b3
|
|
| BLAKE2b-256 |
97d74566f115a1ef54808e9f1b02ebf3adf87ddb12bbb7f15aebfd4cbb5a4220
|