Installation Guide
Follow these steps to install and set up Bleu.js in your project.
Prerequisites
- Python 3.8 or higher
- pip package manager
- Virtual environment (recommended)
- Git for version control
Installation
Install Bleu.js using pip:
# Install the latest version pip install bleu-js # Install specific version pip install bleu-js==1.1.9 # Install with development dependencies pip install bleu-js[dev] # Install in virtual environment python -m venv bleu-env source bleu-env/bin/activate # On Windows: bleu-env\Scripts\activate pip install bleu-js
Configuration
Create a configuration file in your project root:
# bleu_config.py from bleu_js import BleuJS # Initialize with configuration bleu = BleuJS( api_key=os.getenv('BLEU_API_KEY'), environment='development', features={ 'optimization': True, 'monitoring': True, 'debugging': True } )
Basic Setup
Initialize Bleu.js in your Python application:
from bleu_js import BleuJS import os # Initialize Bleu.js bleu = BleuJS(api_key=os.getenv('BLEU_API_KEY')) # Start monitoring bleu.monitor() # Use AI features response = bleu.ai.generate("Hello, world!") print(response)
Next Steps
Now that you have Bleu.js installed, check out our Quick Start guide to learn how to use its features.
Continue to Quick Start Guide