🀝 Contributing to landmarker#

πŸŽ‰ First off all, thank you for considering contributing to landmarker! πŸŽ‰

It’s people like you that make landmarker useful and successful. There are many ways to contribute, here’s a few examples:

  • πŸ› Report bugs: Something not working as expected? Please report bugs and we’ll try to fix them as soon as possible.

  • πŸ”¨ Fix bugs: We try to fix bugs as soon as possible. If you want to help, please check the issues.

  • πŸ” Improve documentation: Did you find a typo in the documentation? Or do you think something is missing? Please help us improve the documentation.

  • ✨ Request/add new features: Do you think landmarker is missing a feature? Please let us know by creating an issue, however check first if the feature is already requested. Or even better, add the feature yourself and create a pull request.

  • πŸ“ Write tutorials: We are always looking for new tutorials, for example how to use landmarker for a specific task. Please help us by writing a tutorial and create a pull request.

For more information on contributing to open source projects, GitHub’s own guide is a great starting point if you are new to version control.

Setting up your development environment#

To get started, fork the landmarker repository and clone it to your local machine. Then, install the required dependencies using pdm (see installation instructions):

pdm install --dev

Running tests#

landmarker uses pytest for testing. You can run test by running a pdm script, by using the following command:

pdm run test

If you want to run pytest with coverage, you can use the following command:

pdm run coverage

Building documentation#

landmarker uses sphinx for documentation, and use MyST markdown for documentation pages. You can build the documentation locally by running the following command:

pdm run doc

We also support the use of sphinx-autobuild, which will automatically rebuild the documentation when a change is detected and live-reload the page in your browser. You can run it using the following command:

pdm run docauto

Ground Rules#

The goal is to maintain a diverse community that’s pleasant for everyone. Please be considerate and respectful of others. Everyone must abide by our Code of Conduct and we encourage all to read it carefully.