Basic Usage
Once installed and configured, you can start using CodeLogician in your terminal or IDE.
Code Generation
from codelogician import CodeGen
gen = CodeGen()
result = gen.generate("Create a function to calculate fibonacci numbers")
print(result)Code Analysis
from codelogician import Analyzer
analyzer = Analyzer()
issues = analyzer.analyze("path/to/your/code.py")
print(issues)Code Optimization
from codelogician import Optimizer
optimizer = Optimizer()
optimized = optimizer.optimize("path/to/your/code.py")
print(optimized)IDE Integration
VS Code
Install the CodeLogician extension from the VS Code marketplace:
code --install-extension codelogician.vscode-codelogicianPyCharm
Install the CodeLogician plugin from the JetBrains marketplace.
Next Steps
- Explore Advanced Features
- Read the API Reference
- Check out Examples