Thank you for your interest in contributing to the Klime Python SDK!
This repository is a read-only mirror of our internal monorepo. We develop and maintain the SDK internally, then mirror releases to this public repository.
- Pull requests are welcome and will be reviewed by our team
- If accepted, we'll manually port your changes to our internal monorepo
- Your changes will appear in this repository with the next release
- You'll be credited as a co-author in the commit
- Check if the bug has already been reported in Issues
- If not, create a new issue with:
- A clear, descriptive title
- Steps to reproduce the bug
- Expected vs actual behavior
- Your environment (Python version, OS, etc.)
- Any relevant code snippets or error messages
- Check if the feature has already been suggested in Issues
- Create a new issue describing:
- The problem you're trying to solve
- Your proposed solution
- Any alternatives you've considered
- Fork this repository
- Create a feature branch (
git checkout -b feat/amazing-feature) - Make your changes
- Write or update tests as needed
- Ensure all tests pass (
pytest) - Commit using Conventional Commits:
feat: add new tracking method fix: handle edge case in batch processing docs: update README examples - Push to your fork and open a Pull Request
- Provide a clear description of what the PR does
- Reference any related issues
- Include tests for new functionality
- Update documentation if needed
- Keep PRs focused - one feature or fix per PR
# Clone your fork
git clone https://github.com/YOUR_USERNAME/klime-python.git
cd klime-python
# Create a virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytestklime-python/
├── klime/
│ ├── __init__.py
│ ├── client.py # Main client implementation
│ └── types.py # Type definitions
├── tests/
├── pyproject.toml # Project configuration
└── README.md
- We follow PEP 8 style guidelines
- Use type hints for all function signatures
- Use meaningful variable and function names
- Add docstrings for public APIs
# Run all tests
pytest
# Run with coverage
pytest --cov=klime
# Run specific test file
pytest tests/test_client.pyIf you have questions about contributing, feel free to open an issue and we'll be happy to help!
By contributing, you agree that your contributions will be licensed under the MIT License.