dacite 1.8.1-2 source package in Ubuntu

Changelog

dacite (1.8.1-2) unstable; urgency=medium

  [ Chris Lamb ]
  * Make the build reproducible (Closes: #1053353)

 -- Valentin Vidic <email address hidden>  Sun, 26 Nov 2023 00:43:19 +0100

Upload details

Uploaded by:
Debian Python Team
Uploaded to:
Sid
Original maintainer:
Debian Python Team
Architectures:
all
Section:
misc
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Oracular release main misc
Noble release main misc

Builds

Noble: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
dacite_1.8.1-2.dsc 2.0 KiB d70d936e00ace1d2df71c38a20f2c511e8ce5db3f45e4857b65ebeedfe3a5359
dacite_1.8.1.orig.tar.gz 25.4 KiB 791ac3da85a040684a96df59e2320dc7b3cac000ff536e3f4b00fb3b67520b86
dacite_1.8.1-2.debian.tar.xz 3.7 KiB b17fa6df149522c5b4aa8e24665a71b0c6349b9d688cd3a21dd5cf393bc9db3c

Available diffs

No changes file available.

Binary packages built by this source

python3-dacite: 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.