Skip to content

MichaelNewham/create_python_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create Python Project ⭐

An all-in-one Python project creator with intelligent setup based on project description and built-in AI integration.


Features

  • Interactive CLI-based setup with rich colorful interface and intelligent defaults
  • AI-powered project type detection based on your project description
  • Multiple AI provider integrations including OpenAI, Anthropic, Perplexity, DeepSeek, and Gemini
  • Support for multiple project types (Web, Data Analysis, API Integration, etc.)
  • AI-recommended technology selection with customizable options
  • Project structure visualization with organized, best-practice directory layouts
  • VS Code integration with workspace files and task definitions
  • Comprehensive logging system with detailed error tracking
  • Docker, CI/CD, and pre-commit hook configuration options
  • Git repository setup with dual remote support (GitHub and GitLab)

Installation

# Clone the repository
git clone https://github.com/MichaelNewham/create_python_project.git
cd create_python_project

# Install with Poetry (recommended)
poetry install

# Or with pip in a virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -e .

Configuration

This project requires some configuration for MCP and VS Code integration:

  1. Environment Variables: Copy the example .env file and fill in your API keys

    cp .env.example .env
    # Edit .env with your API keys
  2. VS Code Settings:

    cp .vscode/settings.json.template .vscode/settings.json
    cp .vscode/mcp.json.template .vscode/mcp.json

For more information on security best practices:

Usage

# With Poetry
poetry run python -m create_python_project.create_python_project

# Or after installing the package
create-python-project

The interactive process will guide you through:

  1. Setting up your project name and location
  2. Selecting an AI provider for recommendations
  3. Describing your project for AI analysis
  4. Selecting from AI-recommended technologies
  5. Configuring additional options (Docker, CI/CD, etc.)
  6. Creating the project with the optimal structure

Development

# Install all dependencies including development dependencies
poetry install --with dev

# Run type checking to verify all issues are fixed
poetry run mypy --config-file=.config/mypy.ini src/create_python_project

# Test the application
poetry run python -m create_python_project.create_python_project

# Run AI integration tests
poetry run pytest tests/test_ai_integration.py -v

# Format code with Black
poetry run black src/create_python_project

Project Organization

The project follows a clean organization structure:

... (truncated for brevity) ...

  1. OpenAI: GPT-4o-mini and other OpenAI models
  2. Anthropic: Claude 3.7 Sonnet and other Claude models
  3. Perplexity: Sonar model for project analysis
  4. DeepSeek: DeepSeek Reasoner model - Advanced reasoning for complex problem analysis
  5. Gemini: Gemini 2.5 Pro and other Gemini models

Each provider helps with:

  • Project type detection based on your description
  • Recommending appropriate technologies and libraries
  • Suggesting optimal project structure
  • Providing implementation guidance

License

MIT

Last Updated

This project was last updated on: 2025-06-05 14:43:20

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 14:40:56

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 14:30:41

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 14:28:37

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 14:27:10

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 14:02:02

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:52:00

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:50:22

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:44:44

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:43:23

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:42:22

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:40:59

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:39:34

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:38:58

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:36:07

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-06-05 13:30:05

Run ./scripts/update_documentation.sh to update documentation.

This project was last updated on: 2025-05-31 01:17:21

Run ./scripts/update_documentation.sh to update documentation.

Project Structure

The project is organized as follows:

  • ai-docs/: AI-related documentation and conversation logs
  • scripts/: Automation scripts for development workflow
  • src/: Main implementation code
  • tests/: Test files for the project

Configuration Directories

  • .claude/: Configuration files
  • .config/: Configuration files for linters and tools
  • .git/: Configuration files
  • .github/: GitHub workflows and configuration

About

An all-in-one Python project creator with intelligent setup based on project description.

Resources

Stars

Watchers

Forks

Packages

No packages published