A simple Python project to demonstrate Hermes agent capabilities
- calculate_average: Calculate average of numeric lists
- fibonacci: Generate Fibonacci sequences
- factorial: Calculate factorial values
pip install -e .Run all tests:
python run-tests.pyfrom hello_hermes.utils import calculate_average, fibonacci, factorial
# Calculate average
result = calculate_average([1, 2, 3, 4, 5])
print(f"Average: {result}") # Average: 3.0
# Generate Fibonacci sequence
sequence = fibonacci(8)
print(f"Fibonacci: {sequence}") # [0, 1, 1, 2, 3, 5, 8, 13]
# Calculate factorial
fact = factorial(5)
print(f"Factorial: {fact}") # Factorial: 120git clone <repository-url>
cd hello-hermes
pip install pytest black flake8 mypy# Format code
black src/
# Lint code
flake8 src/
# Run tests with pytest
pytest tests/ -v
# Type checking
mypy src/| Function | Tests | Status |
|---|---|---|
calculate_average |
5 | ✅ All Pass |
fibonacci |
5 | ✅ All Pass |
factorial |
6 | ✅ All Pass |
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request