Contributing to OpenGPU SDK¶
We welcome contributions to the OpenGPU SDK! This guide will help you get started.
🚀 Quick Start¶
- Fork the repository on GitHub
-
Clone and setup:
-
Create a branch:
-
Make changes and test:
-
Submit a pull request
🛠️ Development¶
Code Quality¶
Install pre-commit hooks:
Format and check code:
Documentation¶
Build docs locally:
Visit http://localhost:8000
to preview changes.
📝 Guidelines¶
Code Style¶
- Follow PEP 8
- Use type hints
- Write clear docstrings
- Include tests for new features
Commit Messages¶
- Use clear, descriptive messages
- Start with action verb (Add, Fix, Update, etc.)
- Keep first line under 50 characters
🐛 Bug Reports¶
Include: - Description of the bug - Steps to reproduce - Expected vs actual behavior - Environment details (OS, Python version, SDK version) - Error messages or stack traces
💡 Feature Requests¶
Include: - Problem description - Proposed solution - Use case and examples - Alternative approaches considered
🔄 Pull Request Process¶
Before Submitting¶
- ✅ All tests pass
- ✅ Code is formatted (black, isort)
- ✅ No linting errors (flake8)
- ✅ Documentation updated if needed
- ✅ CHANGELOG.md updated for user-facing changes
PR Template¶
## Description
Brief description of changes.
## Type of Change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Documentation update
## Testing
Describe how you tested your changes.
## Checklist
- [ ] Code follows style guidelines
- [ ] Self-reviewed code
- [ ] Added/updated tests
- [ ] Updated documentation
- [ ] All tests pass
🎯 Areas for Contribution¶
High Priority: - Performance optimizations - Enhanced error handling - More examples and tutorials - Integration tests
Documentation: - Video tutorials - Advanced use cases - Troubleshooting guides
📞 Getting Help¶
- GitHub Issues: Bug reports and feature requests
- GitHub Discussions: Questions and community discussion
- Documentation: Guides and API reference
Thank you for contributing! 🚀