Key | Value |
---|---|
FileName | ./usr/share/doc/python3-dacite/README.md.gz |
FileSize | 4802 |
MD5 | E6E741B400710AE08195A48F8439DE38 |
SHA-1 | 6BECFCF50E5CED7A15F532AF225D0D520D8FF6C7 |
SHA-256 | 90F11561DF7A6C1D0DEC44790DAC0F6039C0933CA805AF0AB35CE92CABE799A2 |
SSDEEP | 96:5FM3tp2cYFGcFuLK5dRNbPPw7KMsB3KP37zPfMHOdWcBtWmDQot:4EFVgK/DomaPrDZttWmDl |
TLSH | T18EA17C8D4DB2B20D0D02C8AE499ADB85710574CDA1DFAE47D459ABF8F44E3D2031BC38 |
hashlookup:parent-total | 4 |
hashlookup:trust | 70 |
The searched file hash is included in 4 parent files which include package known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileSize | 18172 |
MD5 | C5DFF01E66CEF189845174B5C303D9EA |
PackageDescription | 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. |
PackageMaintainer | Debian Python Team <team+python@tracker.debian.org> |
PackageName | python3-dacite |
PackageSection | python |
PackageVersion | 1.6.0-1 |
SHA-1 | 0E47699A8D5DF4DC5B91678924306156FC275676 |
SHA-256 | 9BAB56D650F37550AD90818DC6FF4AFEFAF1818968C205D4E27E56323685A6C0 |
Key | Value |
---|---|
FileSize | 17088 |
MD5 | 3D1D9FEF147CCE949AE5EFB93FDF21D5 |
PackageDescription | 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. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | python3-dacite |
PackageSection | python |
PackageVersion | 1.5.1-1 |
SHA-1 | AE2C306F33660AD48B81369C8399A4408CD0546F |
SHA-256 | 766D8A4B306472E90BB5C34352DBC09EC5C44E86954890BBD10ED637F46540FB |
Key | Value |
---|---|
FileSize | 18120 |
MD5 | CBE5038AAB36813A46AE13E10D314C5D |
PackageDescription | 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. |
PackageMaintainer | Debian Python Team <team+python@tracker.debian.org> |
PackageName | python3-dacite |
PackageSection | python |
PackageVersion | 1.6.0-2 |
SHA-1 | E0C655470839C7501F769E9724F8A0B6852ACA1B |
SHA-256 | 46BA7E7417B95AE7AFDAA60FD155E4B53439EECABF17EA82A600E3079E2BE1DB |
Key | Value |
---|---|
FileSize | 17432 |
MD5 | 78BFA38216BDFFFBC8B1CD9B12CA2766 |
PackageDescription | 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. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | python3-dacite |
PackageSection | python |
PackageVersion | 1.6.0-1 |
SHA-1 | A9117DD0A722F531DAC6708FFD15B4DA3D822992 |
SHA-256 | E9B11CB01AB11131771F116A903B5AD0333D8CEDA5D48BF09F4A267BF01064F1 |