How To Install python3-doxypypy on Debian 11

In this tutorial we learn how to install python3-doxypypy on Debian 11. python3-doxypypy is More Pythonic version of doxypy, a Doxygen filter for Python

Introduction

In this tutorial we learn how to install python3-doxypypy on Debian 11.

What is python3-doxypypy

python3-doxypypy is:

For now Doxygen has limited support for Python. It recognizes Python comments, but otherwise treats the language as being more or less like Java. It doesn??t understand basic Python syntax constructs like docstrings, keyword arguments, generators, nested functions, decorators, or lambda expressions. It likewise doesn??t understand conventional constructs like doctests or ZOPE-style interfaces. It does however support inline filters that can be used to make input source code a little more like what it??s expecting.

The excellent doxypy makes it possible to embed Doxygen commands in Python docstrings, and have those docstrings converted to Doxygen-recognized comments on the fly per Doxygen??s regular input filtering process. It however does not address any of the other previously mentioned areas of difficulty.

This project started off as a fork of doxypy but quickly became quite distinct. It shares little (if any) of the same code at this point (but maintains the original license just in case). It is meant to support all the same command line options as doxypy, but handle additional Python syntax beyond docstrings.

There are three methods to install python3-doxypypy on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-doxypypy Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python3-doxypypy using apt-get by running the following command:

sudo apt-get -y install python3-doxypypy

Install python3-doxypypy Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-doxypypy using apt by running the following command:

sudo apt -y install python3-doxypypy

Install python3-doxypypy Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python3-doxypypy using aptitude by running the following command:

sudo aptitude -y install python3-doxypypy

How To Uninstall python3-doxypypy on Debian 11

To uninstall only the python3-doxypypy package we can use the following command:

sudo apt-get remove python3-doxypypy

Uninstall python3-doxypypy And Its Dependencies

To uninstall python3-doxypypy and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove python3-doxypypy

Remove python3-doxypypy Configurations and Data

To remove python3-doxypypy configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge python3-doxypypy

Remove python3-doxypypy configuration, data, and all of its dependencies

We can use the following command to remove python3-doxypypy configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-doxypypy

Dependencies

python3-doxypypy have the following dependencies:

References

Summary

In this tutorial we learn how to install python3-doxypypy package on Debian 11 using different package management tools: apt, apt-get and aptitude.