Balík: python3-auto-pytabs (0.4.0-3)
Odkazy pre python3-auto-pytabs
Zdroje Debian:
Stiahnuť zdrojový balík python-auto-pytabs:
- [python-auto-pytabs_0.4.0-3.dsc]
- [python-auto-pytabs_0.4.0.orig.tar.gz]
- [python-auto-pytabs_0.4.0-3.debian.tar.xz]
Správcovia:
Externé zdroje:
- Domovská stránka [github.com]
Podobné balíky:
Automatically generate code examples for mkdocs or Sphinx (Python 3)
Python project documentation typically include code examples. Given that most of the time, a project will support multiple versions of Python, it would be ideal to showcase the adjustments that can or need to be made for different Python versions. This can be achieved by including several versions of the example code, conveniently displayed using the pymdown "tabbed" extension for markdown, or sphinx{design} tabs for Sphinx.
AutoPyTabs aims to solve all these problems by automatically generating versions (using the awesome ruff project) of code examples, targeting different Python versions at build-time, based on a base version (the lowest supported Python version). This means that:
* There exists only one version of each example: The lowest supported version becomes the source of truth, therefore preventing out-of-sync examples and reducing maintenance burden. * Dropping or adding support for Python versions can be done via a simple change in a configuration file
This package installs the library for Python 3.
Ostatné balíky súvisiace s balíkom python3-auto-pytabs
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-ruff
- Fast linter for Python, written in Rust
Stiahnuť python3-auto-pytabs
| Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
|---|---|---|---|
| all | 12.9 kB | 59.0 kB | [zoznam súborov] |
