Interactive Teacher for Statistics featuring RajLaxmi
Project description
IITJP - Interactive Teacher for Statistics
A Python package that provides an interactive virtual teacher named RajLaxmi for learning foundations of statistics. This package includes audio-visual interactions to enhance the learning experience.
Features
- Interactive virtual teacher with voice
- Quiz functionality with randomized questions
- Clean, text-based interface with audio support
- Cross-platform compatibility (Windows, macOS, Linux)
- No external dependencies required
Installation
You can install the package directly from PyPI:
pip install iitjp
Usage
Basic Usage
import iitjp
# Start with a greeting
iitjp.mam.greetings()
# Take a quiz
iitjp.mam.quiz()
# Say goodbye
iitjp.mam.thanks()
Command-line Interface
You can also use the package from the command line:
# Show greeting
iitjp greetings
# Start a quiz
iitjp quiz
# Show farewell message
iitjp thanks
Silent Mode
If you want to disable audio playback:
import iitjp
# Enable silent mode (no audio)
iitjp.enable_silent_mode(True)
# Now use the package as usual
iitjp.mam.greetings()
Faster Text Display
To disable the typing effect and show text instantly:
import iitjp
# Disable typing effect
iitjp.enable_typing_effect(False)
# Now text will appear instantly
iitjp.mam.greetings()
Troubleshooting
If you encounter audio playback issues:
- Check your system's audio settings to ensure it's properly configured.
- Try using silent mode if audio is not essential:
import iitjp iitjp.enable_silent_mode(True)
Changelog
Version 0.2.8
- Optimized audio playback system for improved reliability
- Enhanced audio file discovery across all platforms
- Improved Windows audio playback with multiple optimized fallbacks
- Added additional audio players support for Linux systems
- More robust file path handling for cross-platform usage
Version 0.2.7
- Complete silent operation with no debug output during import or execution
- Bulletproof Windows-first audio playback system with multiple fallbacks
- Audio files embedded as base64 strings directly in the package
- Multiple audio cache locations for maximum reliability
- Automatic self-healing capabilities via
fix_iitjp.pyandiitjp_repair.py - No external dependencies required
Version 0.2.6
- Added bulletproof audio file handling that works in any environment
- Included automatic fix scripts (fix_iitjp.py and iitjp_repair.py) to resolve path issues
- Improved audio path resolution across all platforms and installation methods
- Enhanced package with self-healing capabilities
- Fixed package structure to ensure all required files are included
Version 0.2.5
- Embedded audio files directly in the package for guaranteed availability
- Added robust resource manager for fail-proof audio playback
- Improved path detection system to find resources in any installation method
- Enhanced audio file availability across all platforms and installation methods
Version 0.2.4
- Fixed audio file path resolution for different installation environments
- Added standalone fix_audio_paths.py utility for resolving audio path issues
- Improved multi-platform compatibility with better path detection
- Enhanced recognition of audio files in site-packages locations
Version 0.2.3
- Fixed audio file path resolution issues
- Added automatic audio file repair functionality
- Added
repaircommand to fix missing audio files - Added
--fast-textflag for instant text display - Improved package data file handling
Version 0.2.2
- Completely removed dependency on pydub and ffmpeg for better compatibility
- Added native audio playback that works across all platforms without external dependencies
- Fixed synchronization between text display and audio playback
- Added option to disable typing effect for instant text display
Version 0.2.1
- Improved cross-platform compatibility
- Added automatic installation of platform-specific dependencies
- Fixed timing issues between voiceover and text display
Version 0.2.0
- Initial public release
Project Structure
iitjp/: Main package directory__init__.py: Package initialization with exposed functionsrajlaxmi.py: Core functionality for the virtual teacheraudio.py: Audio playback system__main__.py: Command-line interface
data/: Contains audio files and quiz questionsgreeting.mp3: Welcome messagestart_quiz.mp3: Quiz introductionend_quiz.mp3: Quiz conclusionfarewell.mp3: Goodbye messagequestions.json: Quiz questions and answers
License
This package is distributed under the Proprietary License. See the LICENSE file for more details.
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 iitjp-0.2.8.tar.gz.
File metadata
- Download URL: iitjp-0.2.8.tar.gz
- Upload date:
- Size: 5.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1def5acebbb9dca646f1f9bb82746f0496210addf776e271f727e88d2e94de0
|
|
| MD5 |
fc113ce541533984955edd1c88afd489
|
|
| BLAKE2b-256 |
03519a4013b2da5b6b8696bf16afa0cfbf98421c0bf8005bef23446aa937ab27
|
File details
Details for the file iitjp-0.2.8-py3-none-any.whl.
File metadata
- Download URL: iitjp-0.2.8-py3-none-any.whl
- Upload date:
- Size: 8.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
462c9865056c67e0f2c2aefe5690200fcf49837cc529fa92b176a493a6104cdb
|
|
| MD5 |
b190a7848bd5a0935bfd6a5d6b3cbd9f
|
|
| BLAKE2b-256 |
5eecfc876b84fd5da058d03ea1a6e3311e4d73141bb0b9617399e90022c08f6a
|