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:
- Get your API key from Google AI Studio
- 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
- Clone the repository
- Install development dependencies:
pip install -e ".[dev]"
- Run tests:
pytest
Publishing
To publish this package to PyPI:
-
Install build tools:
pip install build twine
-
Build the package:
python -m build
-
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1264670eb08666ef9e7cfe36ce6518589e2196e227f1ffc44aa5b1066cd1c7c5
|
|
| MD5 |
b61db71bad8f1743265589b988ecfec4
|
|
| BLAKE2b-256 |
33fe1efcce6d21ece4062fa44ee64a8d01d94ffc7f263f80d56ae9f38d05ec6c
|
File details
Details for the file pykickstart_cli-0.2.4-py3-none-any.whl.
File metadata
- Download URL: pykickstart_cli-0.2.4-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa4c123b3805ec2cd8f673190bee18f2f80718afee314b2de2d3591a904475ca
|
|
| MD5 |
d88f6997cb16b1da183159c4031d8d37
|
|
| BLAKE2b-256 |
370bc259931aa044c4b63c54c7a97faf7258b95b6ee416c269a35679cc5b4bae
|