An AI-powered course generation tool that creates comprehensive educational content using advanced language models
Project description
AI Course Generator 🚀
An intelligent CLI tool for generating structured educational content using AI models.
Table of Contents
- Key Features
- Quick Start
- Installation Options
- Usage Guide
- Configuration Reference
- Examples
- Technical Documentation
- Contributing
- License
Key Features
✔ Multi-format Output - Generate courses in PDF, DOCX, and EPUB formats
✔ Smart Configuration - Customize length, difficulty, and content depth
✔ Model Flexibility - Supports multiple AI models including Gemini
✔ User-Friendly CLI - Interactive prompts or direct command options
✔ Structured Content - Automatically generates chapters and outlines
✔ Advanced Workflows - Powered by QuantaLogic Flow engine (Technical Details)
Quick Start
# Run in interactive mode (recommended for first-time users)
python -m ai_course_generator.generate_course --interactive
Installation Options
Standard Installation
git clone https://github.com/raphaelmansuy/course-generator.git
cd course-generator
pip install -e .
Isolated Installation (recommended)
pipx install git+https://github.com/raphaelmansuy/course-generator.git
Usage Guide
Interactive Mode
python -m ai_course_generator.generate_course --interactive
# or
python -m ai_course_generator.generate_course -i
The interactive mode will guide you through all configuration options with sensible defaults.
Direct Command Usage
Required Parameters
All of these must be provided either via command line or interactive mode:
--subject: Course subject (string)--number-of-chapters: Number of chapters (integer)--level: Difficulty level (beginner/intermediate/advanced)--words-by-chapter: Target word count per chapter (integer)--target-directory: Output directory path (string)
Complete Command Example:
python -m ai_course_generator.generate_course \
--subject "Python Basics" \
--number-of-chapters 5 \
--level beginner \
--words-by-chapter 800 \
--target-directory "./output_courses"
With Optional Flags:
python -m ai_course_generator.generate_course \
--subject "Advanced ML" \
--number-of-chapters 8 \
--level advanced \
--words-by-chapter 1500 \
--target-directory "./ml_courses" \
--no-pdf \
--model-name "gemini/gemini-2.0-pro"
Configuration Reference
| Parameter | Description | Values | Default |
|---|---|---|---|
--subject |
Course topic | Any string | Required |
--level |
Difficulty | beginner/intermediate/advanced | intermediate |
--number-of-chapters |
Course length | 1-20 | 5 |
--words-by-chapter |
Content depth | 500-5000 | 1000 |
--target-directory |
Output path | Valid path | ./courses/[subject] |
--model-name |
AI model | Supported model name | gemini/gemini-2.0-flash |
Examples
1. Beginner-Friendly Course
python -m ai_course_generator.generate_course \
--subject "Python Basics" \
--level beginner \
--words-by-chapter 600
2. Technical Deep Dive
python -m ai_course_generator.generate_course \
--subject "Advanced Kubernetes" \
--level advanced \
--words-by-chapter 2000 \
--model-name "gemini/gemini-2.0-pro"
Technical Documentation
For in-depth technical information about the architecture and implementation, see our Technical Documentation which covers:
- Workflow engine design
- AI integration patterns
- Content generation pipeline
- Performance characteristics
Contributing
We welcome contributions! Please see our Contribution Guidelines for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
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 ai_course_generator-0.3.0.tar.gz.
File metadata
- Download URL: ai_course_generator-0.3.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.8 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61930599e7f222eda5d22e5762bca767911e38cb5c99e43d4a083e6140f5406d
|
|
| MD5 |
a0d0c2808cb4275904a34942a52ac213
|
|
| BLAKE2b-256 |
a1d1b8d85ef715750323b7b236d4dc609d3656c0b3844c21fc845d17e3d8ddfa
|
File details
Details for the file ai_course_generator-0.3.0-py3-none-any.whl.
File metadata
- Download URL: ai_course_generator-0.3.0-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.8 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca2affdb6b5b501ce4c12885dbee640d0d7800821c62a193c09290d16cda43c2
|
|
| MD5 |
b8ba6ef313a012d5d0b21bf7280cdb04
|
|
| BLAKE2b-256 |
da43ae272f03bfdd4418fc5211e42364f96cac55d119966febbe47be27a6df7d
|