pybedtools documentation is hosted on github: https://daler.github.io/pybedtools/3-brief-examples.html