Skip to content

Latest commit

 

History

History
47 lines (23 loc) · 2.06 KB

CONTRIBUTING.md

File metadata and controls

47 lines (23 loc) · 2.06 KB

How to contribute

Thank you for considering contributing to Trafilatura! Your contributions make the software and its documentation better.

There are many ways to contribute, you could:

  • Improve the documentation: Write tutorials and guides, correct mistakes, or translate existing content.
  • Find bugs and submit bug reports: Help making Trafilatura a robust and versatile tool.
  • Submit feature requests: Share your feedback and suggestions.
  • Write code: Fix bugs or add new features.

Here are some important resources:

Submitting changes

Please send a GitHub Pull Request to trafilatura with a clear list of what you have done (read more about pull requests).

Working on your first Pull Request? See this tutorial: How To Create a Pull Request on GitHub

A special thanks to all the contributors who have played a part in Trafilatura.

Testing and evaluating the code

Here is how you can run the tests if you wish to correct the errors and further improve the code:

  • Run pytest from trafilatura's directory, or select a particular test suite, for example realworld_tests.py, and run pytest realworld_tests.py or simply python3 realworld_tests.py
  • Check how it performs on the benchmark in tests/eval/ by running tests/comparison_small.py

See also the tests Readme for more information on the evaluation.

For further questions you can contact me by way of GitHub issues, X or E-Mail.

Thanks,

Adrien