Contributing
We welcome contributions to Randum! This guide will help you get started.
Getting Started
Fork the repository on GitHub
Clone your fork locally:
git clone https://github.com/yourusername/randum.git cd randum
Create a virtual environment and install dependencies:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -e .
Making Changes
Create a new branch for your changes:
git checkout -b feature/your-feature-name
Make your changes and test them thoroughly
Commit your changes with a clear commit message:
git commit -m "Add feature: description of your changes"
Push to your fork:
git push origin feature/your-feature-name
Open a Pull Request on GitHub
Code Style
Follow PEP 8 guidelines
Use meaningful variable and function names
Add docstrings to all public functions and classes
Keep functions focused and concise
Testing
Before submitting a pull request, make sure all tests pass:
python -m pytest
Reporting Issues
If you find a bug or have a feature request, please open an issue on GitHub: https://github.com/kactlabs/randum/issues
License
By contributing to Randum, you agree that your contributions will be licensed under the MIT License.
Credits
Randum is based on the excellent Faker library by joke2k and contributors.