We welcome contributions to SmartGraph! Whether you're fixing bugs, improving documentation, or creating new examples, your help is appreciated. This guide will help you get started with contributing to the project.
There are several ways you can contribute to SmartGraph:
- Submitting examples
- Reporting bugs
- Suggesting enhancements
- Improving documentation
- Contributing code
We love seeing how people use SmartGraph in real-world scenarios. To submit an example:
- Fork the SmartGraph repository.
- Create a new file in the
examples
directory with a descriptive name. - Write your example, including a clear description and code snippets.
- Submit a pull request with your new example.
Make sure your example is well-documented and follows our code style guidelines.
If you encounter a bug in SmartGraph:
- Check the GitHub Issues to see if it has already been reported.
- If not, create a new issue, providing as much detail as possible, including:
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- SmartGraph version
- Python version
- Operating system
Have an idea for a new feature or improvement? We'd love to hear it!
- Check the GitHub Issues to see if it has already been suggested.
- If not, create a new issue, clearly describing your suggested enhancement and its potential benefits.
Clear and comprehensive documentation is crucial. To contribute to the docs:
- Fork the repository.
- Make your changes to the relevant Markdown files in the
docs
directory. - Submit a pull request with your changes.
To contribute code to SmartGraph:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Write your code, following our code style guidelines.
- Write tests for your code.
- Ensure all tests pass by running
pytest
. - Submit a pull request with your changes.
- Follow PEP 8 style guide for Python code.
- Use type hints where appropriate.
- Write clear, descriptive commit messages.
- Include docstrings for all functions, classes, and modules.
- Keep lines to a maximum of 100 characters.
- Ensure your code adheres to the style guidelines.
- Update the README.md or documentation with details of changes, if applicable.
- Add tests for new features or bug fixes.
- Ensure the test suite passes.
- Your pull request will be reviewed by the maintainers, who may request changes or provide feedback.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
By contributing to SmartGraph, you agree that your contributions will be licensed under the project's MIT License.
If you have any questions about contributing, feel free to ask in the GitHub Discussions or reach out to the maintainers directly.
Thank you for contributing to SmartGraph! Your efforts help make this project better for everyone.