Any contributions are welcome!
Open new issues at https://github.com/DataCrunch-io/datacrunch-python/issues.
You can open pull requests by following the steps:
Fork the datacrunch-python repo on GitHub.
Clone your fork locally:
git clone [email protected]:{your_username}/datacrunch-python.git cd datacrunch-python
Create virtual environment & install this local copy into the virtual environment:
python3 -m venv datacrunch_env && source ./datacrunch_env/bin/activate python3 setup.py develop
Create a new branch:
if it's a feature:
git checkout -b feature/new-feature-name
or a bugfix:
git checkout -b hotfix/some-bugfix
Make your local changes
Install dependencies for test:
pip3 install -e .[test] pip3 install -U pytest
Run tests:
pytest
Commit and push:
git commit .am "Detailed commit message" git push origin {branch-name}
Submit a pull request in GitHub.
- The pull request should include tests.
- Please add documentation docstrings and type hinting to any new feature.
Some steps for releasing a new version:
- Update the version in
__version__.py
- Add an entry to the CHANGELOG.rst file
git tag vX.Y.Z
git push master
git push --tags
- Draft and publish a new release.
- Check that package is automatically published to PyPI via GitHub action.