Skip to main content

A CLI tool to automate Python project environment setup

Project description

PyKickstart 🚀

A powerful CLI tool that automates Python project environment setup for developers.

Features

  • 🔧 Automatic virtual environment creation and activation
  • 📦 Smart dependency management
  • 🤖 AI-powered package inference
  • 🎨 Beautiful CLI interface
  • 🛠️ Optional project structure generation
  • 🔍 Unused dependency detection
  • 💡 Developer tool suggestions

Installation

pip install pykickstart

Configuration

Google Gemini API Key

For AI-powered package inference, you'll need a Google Gemini API key:

  1. Get your API key from Google AI Studio
  2. Set the API key in one of these ways:
    # Option 1: Environment variable
    export GOOGLE_API_KEY="your-api-key-here"  # Unix/Linux/macOS
    set GOOGLE_API_KEY=your-api-key-here       # Windows CMD
    $env:GOOGLE_API_KEY="your-api-key-here"    # Windows PowerShell
    
    # Option 2: Create a .env file in your project root
    echo "GOOGLE_API_KEY=your-api-key-here" > .env
    

Usage

# Run as a module
python -m pykickstart

# Or use the CLI command
pykickstart

Development

  1. Clone the repository
  2. Install development dependencies:
    pip install -e ".[dev]"
    
  3. Run tests:
    pytest
    

Publishing

To publish this package to PyPI:

  1. Install build tools:

    pip install build twine
    
  2. Build the package:

    python -m build
    
  3. Upload to PyPI:

    # Test upload to TestPyPI first
    python -m twine upload --repository testpypi dist/*
    
    # Upload to real PyPI
    python -m twine upload dist/*
    

License

MIT License - feel free to use this project for any purpose.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pykickstart_cli-0.2.4.tar.gz (39.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pykickstart_cli-0.2.4-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file pykickstart_cli-0.2.4.tar.gz.

File metadata

  • Download URL: pykickstart_cli-0.2.4.tar.gz
  • Upload date:
  • Size: 39.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for pykickstart_cli-0.2.4.tar.gz
Algorithm Hash digest
SHA256 1264670eb08666ef9e7cfe36ce6518589e2196e227f1ffc44aa5b1066cd1c7c5
MD5 b61db71bad8f1743265589b988ecfec4
BLAKE2b-256 33fe1efcce6d21ece4062fa44ee64a8d01d94ffc7f263f80d56ae9f38d05ec6c

See more details on using hashes here.

File details

Details for the file pykickstart_cli-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pykickstart_cli-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fa4c123b3805ec2cd8f673190bee18f2f80718afee314b2de2d3591a904475ca
MD5 d88f6997cb16b1da183159c4031d8d37
BLAKE2b-256 370bc259931aa044c4b63c54c7a97faf7258b95b6ee416c269a35679cc5b4bae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page