How to Install and Uninstall python3-dacite Package on Kali Linux

Last updated: May 06,2024

1. Install "python3-dacite" package

Learn how to install python3-dacite on Kali Linux

$ sudo apt update $ sudo apt install python3-dacite

2. Uninstall "python3-dacite" package

Please follow the instructions below to uninstall python3-dacite on Kali Linux:

$ sudo apt remove python3-dacite $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-dacite package on Kali Linux

Package: python3-dacite
Source: dacite
Version: 1.8.1-2
Installed-Size: 63
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any
Size: 20592
SHA256: e7635b2ed093026d3adfe53c94d75fb9c80e6fbfc6f074ccd1ab4bb9f065d34a
SHA1: 8f49a69591a4b64be5649f80e92b1e9618b5be29
MD5sum: 56da4775a61627baf8420ff0eadb90d8
Description: Simple creation of data classes from dictionaries
Passing plain dictionaries as a data container between your functions or
methods isn't a good practice. Of course you can always create your
custom class instead, but this solution is an overkill if you only want
to merge a few fields within a single object.
.
Fortunately Python has a good solution to this problem - data classes.
Thanks to `@dataclass` decorator you can easily create a new custom
type with a list of given fields in a declarative manner. Data classes
support type hints by design.
.
However, even if you are using data classes, you have to create their
instances somehow. In many such cases, your input is a dictionary - it
can be a payload from a HTTP request or a raw data from a database. If
you want to convert those dictionaries into data classes, `dacite` is
your best friend.
.
This library was originally created to simplify creation of type hinted
data transfer objects (DTO) which can cross the boundaries in the
application architecture.
.
It's important to mention that `dacite` is not a data validation library.
There are dozens of awesome data validation projects and it doesn't make
sense to duplicate this functionality within `dacite`. If you want to
validate your data first, you should combine `dacite` with one of data
validation library.
Description-md5:
Homepage: https://github.com/konradhalas/dacite
Section: python
Priority: optional
Filename: pool/main/d/dacite/python3-dacite_1.8.1-2_all.deb