mkdocstrings
cookietemple
mkdocstrings | cookietemple | |
---|---|---|
9 | 11 | |
1,572 | 153 | |
2.5% | 0.7% | |
8.4 | 2.3 | |
4 days ago | 10 months ago | |
Python | Python | |
ISC License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mkdocstrings
-
Starlite development updates January ’23
Mkdocs has the mkdocstrings plugin, offering limited automated API documentation capabilities. It is however nowhere near as capable as Sphinx' autodoc, missing granularity in its configuration, limited intersphinx-like cross-referencing support, and essential features like documentation of inherited members, or the ability to manually describe objects if needed.
-
what's a good documentation platform that you guys would recommend?
mkdocstrings works well, although it is not as powerful as the API documentation in Sphinx.
-
Stripe Open Sources Markdoc
Author of Materia for MkDocs here. MkDocstrings [1] implements automatic generation of reference documentation from sources. It's language-agnostic, actively maintained and currently supports Python [2] and Crystal [3]. It also integrates nicely with Material for MkDocs.
[1]: https://mkdocstrings.github.io/
- Mkdocstrings: Automatic Python documentation from sources, for MkDocs
- Technical documentation that just works
-
mkdocstrings: the "autodoc" plugin for MkDocs
Some time has passed since I first introduced mkdocstrings here on reddit. If you don't know what mkdocstrings is: it's the equivalent of the autodoc Sphinx extension, but for MkDocs, a Markdown static site generator. It works differently though, and supports multiple languages by design (not only Python). Someone actually wrote a very good handler for the Crystal language, and another user on GitHub recently expressed their interest for writing one for Go.
-
Python tutorials building large(r) projects
Write proper docstrings as you go along (every time you write a new class/method/function you can document what it’s doing as you’ll know why and what from the pattern you chose). Using a tool like mkdocstrings makes maintaining documentation for larger projects automatic.
-
[Project] mkgendocs - Generating documentation from Python docstrings for MkDocs
I learned of https://github.com/pawamoy/mkdocstrings recently. Is it similar ?
-
Python packages and plugins as namespace packages
A user of mkdocstrings wrote a Crystal handler for their own use-case. They asked on the Gitter channel if we could allow to load external handlers, so they don't have to fork the project and install the fork, but rather just install their lightweight package containing just the handler.
cookietemple
-
Creating a big project with Python
For structure, project setup and getting an idea of how to "style" a project by following best practices, you could take a look at https://github.com/cookiejar/cookietemple. (Disclaimer: I'm one of its authors).
-
Python multiple .py files setup/project best practices
It really depends on how you plan to use your projects: Is it for personal use only? Do you want to use it as a cli application or a standalone package or just some loose script collection? If you want to get an idea of how to structure bigger projects, I recommend you to take a look at https://github.com/cookiejar/cookietemple. (Disclaimer: I'm one of its developers). The cli-python template there should give you a good idea of how a project could actually look like.
- cookietemple - a Python package providing programming project templates for several languages (Java, Python, C++, [...]) with extensive Github support, bump-version, a custom linter and much more (Details as answer ;
-
Cookietemple: A cookiecutter based project creation tool
In 2020, we did the first release of cookietemple (PyPi: https://pypi.org/project/cookietemple/, GitHub: https://github.com/cookiejar/cookietemple).
-
How to make a proper C++ project?
The c++ template of https://github.com/cookiejar/cookietemple might be useful to you.
-
My template to manage AUR packages on GitHub with CI tests and auto-publish
If you're willing to write a cookiecutter version it would be awesome to have it in https://github.com/cookiejar/cookietemple
-
Python tutorials building large(r) projects
You could create a project with https://github.com/cookiejar/cookietemple and attempt to understand the structure.
-
Nice Guide on Modern Python Packages
Hey, the post was a nice read ;). As you mentioned cookiecutter, you might also want to take a look at cookietemple (Disclaimer: I'm one of the authors of this project). It is basically designed exactly for this purpose: Setup a modern (python) project with everything needed to start developing in seconds with as much automating of this process as possible.
-
A Python CLI app template (publishes to PyPI)
Cookiecutter is an amazing tool for templating! This could have aided you a lot. I suggest that you check out https://github.com/cookiejar/cookietemple for a Python templates which goes a lot of steps beyond yours for some inspiration. You can always contribute ;)
-
Tip that took me too long to realize:
And if you are looking for an excellent template (collection) you guys should look at https://github.com/cookiejar/cookietemple
What are some alternatives?
mkdocs-material - Documentation that simply works
tex-course-index-template - A template for writing a condensed course index leveraging LaTeX indexing
sphinx - The Sphinx documentation generator
release-drafter - Drafts your next release notes as pull requests are merged into master.
pydocstyle - docstring style checker
cookiecutter - A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
furo - A clean customizable documentation theme for Sphinx
cmake-init - The missing CMake project initializer
pydantic - Data validation using Python type hints
PRAW - PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.
mkdocs-markdownextradata-plugin - A MkDocs plugin that injects the mkdocs.yml extra variables into the markdown template
rpi-microk8s-bootstrap - Automate RPI device conversion into Kubernetes cluster nodes with Terraform