- Fork the repository
- Clone your fork:
git clone https://github.com/NVX-11/vectorflow.git - Create a branch:
git checkout -b feature/your-feature - Make your changes
- Test your changes:
python vectorflow.py - Commit:
git commit -m "Add your feature" - Push:
git push origin feature/your-feature - Create a Pull Request
Before submitting:
- Search existing issues
- Test with latest version
- Include system info (OS, Python version)
Include in your report:
- Clear description
- Steps to reproduce
- Expected vs actual behavior
- Error messages/screenshots
Good feature requests include:
- Clear problem statement
- Proposed solution
- Use cases
# Clone and setup
git clone https://github.com/NVX-11/vectorflow.git
cd vectorflow
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
# Test your changes
python vectorflow.py --version
python vectorflow.py sample.pdf output.docx- Follow PEP 8
- Add docstrings for functions
- Use type hints where possible
- Handle exceptions gracefully
def convert_pdf_to_word(input_path: str, output_path: str) -> bool:
"""Convert PDF to Word document.
Args:
input_path: Path to input PDF
output_path: Path to output Word file
Returns:
True if successful, False otherwise
"""# Test basic functionality
python vectorflow.py sample.pdf test.docx
python vectorflow.py test.docx test.pdf
# Test error handling
python vectorflow.py nonexistent.pdf output.docx- Code follows style guidelines
- Changes tested locally
- Documentation updated (if needed)
- Commit messages are clear
- No new warnings/errors
Thanks for contributing! 🎉