How To Install python3-falcon on Kali Linux

In this tutorial we learn how to install python3-falcon on Kali Linux. python3-falcon is supersonic micro-framework for building cloud APIs - Python 3.x

Introduction

In this tutorial we learn how to install python3-falcon on Kali Linux.

What is python3-falcon

python3-falcon is:

Falcon is a high-performance Python framework for building cloud APIs. It encourages the REST architectural style, and tries to do as little as possible while remaining highly effective.

Unlike other Python web frameworks, Falcon won’t bottleneck your API’s performance under highly concurrent workloads. Many frameworks max out at serving simple “hello world” requests at a few thousand req/sec, while Falcon can easily serve many more on the same hardware.

Falcon isn’t very opinionated. In other words, the framework leaves a lot of decisions and implementation details to you.

Features:

  • Intuitive routing via URI templates and resource classes
  • Easy access to headers and bodies through request and response classes
  • Idiomatic HTTP error responses via a handy exception base class
  • DRY request processing using global, resource, and method hooks
  • Snappy unit testing through WSGI helpers and mocks
  • 20% speed boost when Cython is available
  • Python 2.6, Python 2.7, PyPy and Python 3.3 support

This package provides the Python 3.x module.

There are three methods to install python3-falcon on Kali Linux. 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-falcon 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-falcon using apt-get by running the following command:

sudo apt-get -y install python3-falcon

Install python3-falcon Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-falcon

Install python3-falcon Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install python3-falcon

How To Uninstall python3-falcon on Kali Linux

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

sudo apt-get remove python3-falcon

Uninstall python3-falcon And Its Dependencies

To uninstall python3-falcon and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove python3-falcon

Remove python3-falcon Configurations and Data

To remove python3-falcon configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge python3-falcon

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

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

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

Dependencies

python3-falcon have the following dependencies:

References

Summary

In this tutorial we learn how to install python3-falcon package on Kali Linux using different package management tools: apt, apt-get and aptitude.