Thank you for your interest in contributing to PyExpress! We welcome contributions from the community. Whether it's fixing bugs, adding new features, or improving documentation, your help is always appreciated.
To ensure a smooth collaboration, please read and follow these guidelines.
To maintain readability and consistency in the codebase, we follow the following conventions:
- Use CamelCase for class names.
- Example:
MyClass,DataProcessor,ImageAnalyzer
- Example:
- Use snake_case for class names.
- Example: process_image(), load_data(), calculate_metrics()
- Use snake_case for variable and argument names.
- Example: input_file, image_path, data_frame
- Always choose clear, precise, and concise names.
- Prefer descriptive names over generic ones. For example:
- Good: source_path (clear indication of the role of the variable)
- Bad: _path_tp_your_directory (too vague, not immediately clear)
- Prefer descriptive names over generic ones. For example:
- Avoid abbreviations unless they are well known and widely used in the context of the project.
- Good: file_path, image_data
- Bad: fp, img_data (too ambiguous)
- Use docstrings to describe the purpose of functions, classes, and methods.
- Keep docstrings concise, but ensure they explain the key purpose and parameters.
- Be consistent in applying naming conventions and formatting rules throughout the codebase.
If you encounter any problems or have ideas for improvements, feel free to open an issue in the repository. We appreciate your contributions to making PyExpress better!
master- branch:- Stable and usually protected
- Regular merges from
develop
develop- branch:- The main development branch, no hard stability requirements/guarantees
- Merges into
developshould follow the following workflow
If you encounter a bug or have a suggestion for improvement, please open an issue in the GitHub repository. Make sure to provide:
- A clear description of the issue or feature request.
- Steps to reproduce (for bugs).
- Any relevant screenshots or logs.
To contribute code, please follow these steps:
- Click the "Fork" button in the top-right corner of the GitHub repository to create your own copy of the project.
- open a console / bash
- git clone https://github.com/your-username/PyExpress.git
- cd PyExpress
- git checkout -b feature-branch-name
- git add .
- git commit -m "Brief description of changes"
- git push origin feature-branch-name
- Go to your fork on GitHub and click "Compare & Pull Request".
- Provide a description of the changes and submit the PR.
- A core developer will review your PR. If any changes are required, update your branch and push them.
- Once approved, your PR will be merged into the main branch.