BlackSheep
mkdocstrings
BlackSheep | mkdocstrings | |
---|---|---|
4 | 9 | |
1,731 | 1,572 | |
2.0% | 2.5% | |
7.7 | 8.4 | |
12 days ago | 7 days ago | |
Python | Python | |
MIT License | ISC License |
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.
BlackSheep
-
[Guide] A Tour Through the Python Framework Galaxy: Discovering the Stars
Try BlackSheep | Kore | socketify | baize
-
Starlite development updates January ’23
As you can see, in this benchmark Starlite handily beats even blakchseep, a notoriously fast ASGI framework written in Cython
-
FastAPI - stable enough for production grade, scalable app?
If you have something that really needs to go fast, I recommend blacksheep. FastAPI is slow as molasses compared to blacksheep, and as of to date, the fastest python async web framework with the established feature set. It’s written in cython, so that might something to consider if you want to work with the source code somehow.
-
Social media app made with FastAPI
Personally I haven’t used it outside of trying a few very basic things. I’d recommend blacksheep if you want small, performant and low overhead, or sanic which, in my opinion, is the best choice if you do not need all the Django fluff.
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.
What are some alternatives?
socketify.py - Bringing Http/Https and WebSockets High Performance servers for PyPy3 and Python3
mkdocs-material - Documentation that simply works
sanic - Accelerate your web app development | Build fast. Run fast.
sphinx - The Sphinx documentation generator
starlite - Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs [Moved to: https://github.com/litestar-org/litestar]
pydocstyle - docstring style checker
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
furo - A clean customizable documentation theme for Sphinx
aiomonitor - aiomonitor is module that adds monitor and python REPL capabilities for asyncio application
cookietemple - A collection of best practice cookiecutter templates for all domains and languages with extensive Github support ⛺
uvicorn-gunicorn-docker - Docker image with Uvicorn managed by Gunicorn for high-performance web applications in Python with performance auto-tuning.
pydantic - Data validation using Python type hints