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.5.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.5-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pykickstart_cli-0.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 942766f52e79f146a47e58b20874a334518bba1b41915e99e06df490959ceee3
MD5 d2f34e91d83287e757b61331e217b1c1
BLAKE2b-256 b52ea7d46a9366d35ad4031f24941f90db4121955823cabfbf9593c53fa1daef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pykickstart_cli-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 05fd8f65b98cb53e44c84b490560d8b8aae84140705a37c32af2bdbcdd808fbb
MD5 931fd6c8dc6a2a096fa2eefc15605a98
BLAKE2b-256 032692064f5892037559524c016729216489595ba55aeea94741a0b19c336f4d

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