First off, thank you for considering contributing to PyLabFlow! We're thrilled you're here. This project is built by the community, for the community, and we welcome any contribution, from fixing typos to implementing major new features.
This document provides guidelines to help make the contribution process easy and effective for everyone involved.
By participating in this project, you are expected to uphold our Code of Conduct. Please read it to understand the standards we follow to ensure our community is welcoming and inclusive.
There are many ways to contribute to PyLabFlow, and every contribution matters.
-
🐛 Report Bugs Found a bug? Open an issue and include clear steps, logs, or screenshots if possible.
-
💡 Suggest Enhancements Have ideas for new features or improvements? Start a discussion by opening an issue.
-
📝 Improve Documentation Help make the docs clearer by fixing mistakes, adding explanations, or improving examples.
-
🧪 Write Test Cases Strengthen the project by adding or improving tests to ensure reliability.
-
💻 Contribute Code Fix bugs or implement new features by submitting a pull request.
Every contribution—big or small—helps improve the project 🚀
Unsure where to begin? A great place to start is by looking for issues tagged good first issue or help wanted. These are typically well-defined and a great way to get familiar with the codebase.
Ready to contribute code or documentation? Here’s how to set up your environment and submit a pull request.
Click the "Fork" button at the top right of the PyLabFlow GitHub page to create your own copy.
Clone your forked repository to your local machine.
git clone https://github.com/YOUR_USERNAME/PyLabFlow.git
cd PyLabFlowCreate a descriptive branch name for your changes. This keeps your work separate from the main branch.
# Example for a new feature
git checkout -b feature/add-new-visualization-plot
# Example for a bug fix
git checkout -b fix/resolve-config-save-errorWe recommend using a virtual environment.
# Create a virtual environment
python -m venv venv
# Activate it (on Windows)
# venv\Scripts\activate
# Activate it (on macOS/Linux)
source venv/bin/activate
# Install dependencies, including testing tools
pip install -r requirements.txt
pip install pytestNow, write your code! Make your changes to the codebase, and remember to follow our style guidelines.
Before submitting, make sure your changes haven't broken anything. Run the full test suite from the root directory.
pytestIf you've added new functionality, please add new tests to cover it!
Commit your changes with a clear and descriptive message. We follow the Conventional Commits specification.
# Example commit message
git commit -m "feat: Add performance_plot for multi-pipeline comparison"Push your new branch to your forked repository on GitHub.
git push origin feature/add-new-visualization-plotGo to your forked repository on GitHub. You will see a prompt to create a pull request from your new branch. Click it, and fill out the pull request template with details about your changes.
- Link to the issue if your PR addresses one.
- Describe your changes clearly.
- Explain the "why" behind your changes.
Once you submit the PR, a project maintainer will review your code. We may suggest some changes or improvements. Thank you for your contribution!
- Use the present tense ("Add feature" not "Added feature").
- Use the imperative mood ("Move file to..." not "Moves file to...").
- Limit the first line to 72 characters or less.
- Reference issues and pull requests liberally in the body of the commit message.
- Please follow the PEP 8 style guide for Python code.
- We recommend using a code formatter like
blackto automatically format your code.
Thank you again for your interest in making PyLabFlow better! ❤️