Skip to content

Contributing

This package is relatively new and still needs some improvements and bug fixes. There are several ways you can contribute:

  • Opening GitHub issues to list the bugs you've found
  • Implementation of new features or resolution of existing bugs
  • Enhancing the documentation

Setting up your environment

  • Fork the repository to your own GitHub account.

  • Clone your forked repository to your local machine (ensure you have Git installed):

git clone https://github.com/YOURUSERNAME/dayplot.git
cd dayplot
  • Create a new branch for your theme:
git checkout -b my-feature
  • Set up your Python environment (ensure you have uv installed):
uv init
uv pip install -e .
uv sync --all-extras --dev

Code!

You can now make changes to the package and start coding!

Run the test

  • Test that everything works correctly by running:
uv run pytest

Push changes

  • Commit and push your changes:
git add -A
git commit -m "description of what you did"
git push
  • Go back to your fork and click on the "Open a PR" popup

Congrats! Once your PR is merged, it will be part of dayplot.