Timothée Mazzucotelli :python: · @pawamoy
154 followers · 290 posts · Server fosstodon.org

Tired of browsing Python API docs online 😴 ?

Why not browsing them offline, directly in your terminal, thanks to and 😎 ?

mkdocstrings.github.io/griffe-

#Griffe #textual

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
154 followers · 282 posts · Server fosstodon.org

Also, I just realized that the `@typing.deprecated` extension for (mkdocstrings.github.io/griffe-) was not made available to sponsors, so I added it to the insiders team too.

#Griffe

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
151 followers · 261 posts · Server fosstodon.org

We just added an "autosummary" option in version 1.2.0 of -python Insiders!

See the docs: mkdocstrings.github.io/python/

See it in action in 's documentation: http://localhost:8000/griffe/reference/griffe/ 🚀

#mkdocstrings #Griffe

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
151 followers · 260 posts · Server fosstodon.org

New version 0.34.0 now supports Methods sections in docstrings, both for Google and Numpydoc styles! 🎉

More than that, it supports new sections for documenting classes and modules.

Thanks to this, we will be able to implement auto-summaries for the 4 categories of objects (attributes, functions/methods, classes and modules) in ' Python handler 😎

Also, Griffe now documents the Numpydoc style: mkdocstrings.github.io/griffe/

#Griffe #mkdocstrings

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
140 followers · 222 posts · Server fosstodon.org

Productive days 😛 Second extension for : support for PEP 702's `deprecated` decorator, to automatically insert a "Deprecated" adminition in the docstring, with the specified message.

#Griffe

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
141 followers · 221 posts · Server fosstodon.org

After a long time, since the new Python handler was released, class inheritance support is back into 🌲

v1.2.0 for mkdocstrings-python, v1.2.0.1.1.2 for insiders.

I want to thank my amazing sponsors for allowing this to happen. This would not be possible without you 🙇

Thank you so much! ❤️

docs now show inherited members: mkdocstrings.github.io/griffe/

#mkdocstrings #Griffe

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
140 followers · 218 posts · Server fosstodon.org

I just published a first prototype of a extension for : mkdocstrings.github.io/griffe-

My sponsors can immediately start using it 🙂 It's version 1.0.0a0, so still experimental!

It will change a bit the look of Pydantic models within mkdocstrings:

#Griffe #pydantic

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
139 followers · 211 posts · Server fosstodon.org

/#mkdocstrings news: version 0.32.0 is out 🌻

Highlights:

- performance improvement (especially memory usage on medium/large codebases)
- new, better extension system

Full changelog here: mkdocstrings.github.io/griffe/

#Griffe

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
138 followers · 203 posts · Server fosstodon.org

I've completely reworked the extension system of , to make it easier to use.

To test it before releasing anything, I prototyped a extension. Here's a preview of the result in 🤩

#Griffe #pydantic #mkdocstrings

Last updated 1 year ago

Timothée Mazzucotelli :python: · @pawamoy
138 followers · 203 posts · Server fosstodon.org

I took the opportunity of 3.7 becoming EOL to remove other deprecated things in .

Look at this output of the API breaking changes detection command! 🤩

Things like `sys` wouldn't be reported if I defined an `__all__` variable 😅

#python #Griffe

Last updated 1 year ago

Parliamo di news! · @parliamodinews
15 followers · 87555 posts · Server masthead.social