Thank you for your interest in contributing to BioSPPy! We appreciate your efforts to help us improve and expand our toolbox. Below are the guidelines for contributing to BioSPPy, whether you are making a code change inside a function, adding a new function to a module, or adding a completely new module.
You will need to have a GitHub account to contribute to BioSPPy.
- Fork the Repository
Navigate to the BioSPPy's GitHub repository. Click the "Fork" button in the top right corner to create your own copy of the repository. Now you have a copy of the original repository in your GitHub account.
- Clone Your Fork
Clone your forked repository to your local machine:
git clone https://github.com/yourusername/biosppy.git
cd biosppy
Instead of using the terminal, you can also use GitHub Desktop to clone the repository.
- Create a Branch
Create a new branch for your work. Use a descriptive name for your branch:
git checkout -b your-feature-name
To make changes to BioSPPy, open the project in your preferred code editor or IDE. Make sure you have the latest changes from the main
branch of the scientisst/biosppy
repository (Syncing a fork).
You should install the required dependencies by running the following command:
pip install -r requirements.txt
It is recommended to create a virtual environment to manage your dependencies. This way, you can avoid conflicts with other projects. You can use frameworks like virtualenv
or conda
to create one.
It's time to make changes! You can add new functions, modify existing functions, or create new modules by editing the source code files. After making your changes, you should commit them to your local repository:
git add .
git commit -m "Description of your changes"
It is recommended to make small, focused commits with clear descriptions of the changes you have made.
To open a Pull Request (PR) you need first to push your changes to your remote repository:
git push origin your-feature-name
Then, in your forked repository, you will see a "Contribute" button. Click on it and then select "Open pull request". Make sure to make a PR to the main
branch of the scientisst/biosppy
repository.
Please provide a clear title and description for your PR. Include a summary of the changes you have made and any relevant information that will help the maintainers review your code.
If you don't have the latest changes from the main
branch of the scientisst/biosppy
repository, you may need to merge the latest changes into your branch before opening a PR (Syncing a fork).
Consistency: Follow the existing code style and format. Consistency is key to maintaining readability and maintainability.
Style: Ensure your code adheres to the PEP 8 style guide. Use snake_case for function and variable names.
Docstrings: Use docstrings to document your functions and modules. Include descriptions for parameters and return values. Follow the numpydoc format.
Comments: Comment your code where necessary to explain complex logic.
Dependencies: Avoid adding new dependencies unless absolutely necessary.
If you have any questions or need assistance, feel free to open an issue on the GitHub repository or reach out to the project maintainers.
Thank you for contributing to BioSPPy!