Open tlambert03 opened 1 year ago
cc @jdeschamps
That looks awesome! We could potentially add the following:
Packaging
section, advocating for a particular package structure (src/
) and describing briefly the main files (pyproject.toml
, README.md
, LICENSE
, __init__.py
etc.).Sections like FAQ (quick answers)
, in-depth
and further reading
should be part of every "topical" section.
copier
package and including examples of everything that is discussed in the guide. All examples linked from the guide?copy
template. Another one is pydantic
, the section in the guide that uses mypy
could point to it.One stance to be discussed/validated here is whether to offer comparisons or proposals, the latter being similar to the "opinionated" guide we went through last time.
e.g.: The Packaging (setuptools, hatch, poetry)
section could walk users through setting-up hatch
, briefly highlighting why choosing it over the others, the quick answers
would tell when to potentially prefer the others, the in-depth
could dive further into the differences, and the Further reading
point to examples of using setuptools
and poetry
.
The original idea was to have a guide offering easily digestible "wiki-how" solutions, as opposed to an encyclopedic approach. The latter being still possible through the in-depth
sections.
I am putting this point here mostly to make it clear while this is out in the open. :)
While it makes sense to mention other IDEs in the relevant section, I would make this guide VSCode-dependent. That way we can offer direct walk-through of setting up the IDE (code navigation, code documentation, debugging, testing etc.).
If the VSCode dependent part is a subsection of each section, then non VSCode-users can easily skip it. Alternatively we could support both VSCode and PyCharm, but I would leave this out for now.
Based on what you wrote in other ideas for site organization
, here is quick proposal:
I just want to chime in and say that this is setting up to be pure π₯ π₯ π₯ Thank y'all! It already looks incredible and is super intuitive and easy to follow. π π
thanks @psobolewskiPhD :)
Before starting to add more content to the tutorial, I wanted to give a go at making a rough plan. Based on what's in your first comment, here is a first draft:
What do you think? Changes and remarks welcome!
i think it looks awesome! thanks for diving in. ping me on #6 whenever you want. I think the most important thing at this point is to start getting words on pages, and we can iterate on the TOC structure forever. :)
Development topics
__version__
, setuptools_scm)other ideas for site organization
misc