HACKER Q&A
📣 herp23

Best “Pythonic” Repos to Learn Library Structure?


I'm interested in publishing a library to PyPI to be open source, but I'd like to make sure it is cleanly structured and following best practices. What are some open source libraries that are good examples of library and source code structure?

I'm looking at things like Pandas and Requests mainly to learn how to structure a project and how to thoroughly document.


  👤 RocketSyntax Accepted Answer ✓
Same. I want to know how they want the functions/ classes structured file-wise, and what people expect docstring-wise.