Contributing¶
We welcome contributions to the Google SecOps SDK for Python! This page provides guidelines for contributing to the project.
The Google SecOps Wrapper SDK welcomes contributions. Please submit your PR. Be sure to include tests!
Development Setup¶
To set up your development environment:
Clone the repository:
git clone https://github.com/google/secops-wrapper.git cd secops-wrapper
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
Install development dependencies:
pip install -e ".[dev]"
Run tests:
pytest
Code Style¶
We follow the Google Python Style Guide. Please ensure your code adheres to this style guide before submitting pull requests.
Pull Request Process¶
Fork the repository
Create a feature branch
Make your changes
Run tests to ensure they pass
Submit a pull request
Documentation¶
When contributing new features, please update the documentation accordingly. This includes:
Updating the relevant documentation files in the
docs/
directoryAdding docstrings to new functions and classes
Updating examples if necessary