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 |
hashlookup:children-total | 15 |
hashlookup:trust | 50 |
The searched file hash includes 15 children files known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileName | ./usr/lib64/pcs/pcs_bundled/packages/dacite-1.6.0-py3.6.egg-info/PKG-INFO |
FileSize | 18091 |
MD5 | C2FC40D28D8CA3DE97486D9F8A08CDF7 |
SHA-1 | 2A411EF68F9571054739B6F815B409F28E2FC049 |
SHA-256 | 15876BA957BF547339C953BC25F526F9BAE0F7AE3D0D2266A41588CF35DCB9E5 |
SSDEEP | 384:BMJvrKzE+wV9Dqkex5RoraYDHv6JJvAUzk:BqvrKzE7V92tvMHvNUo |
TLSH | T1AF82845675A03160074315FA82BA8162BA63F02BEB551C19B4FCC1F81F1B735EF7A66C |
Key | Value |
---|---|
FileName | snap-hashlookup-import/connectedhomeip/python_env/lib/python3.10/site-packages/dacite/core.py |
FileSize | 5523 |
MD5 | 01C64978021178F6B323DE7C01CD976B |
SHA-1 | 36BCC9711A8AEECAABE947CE94C16F1000B8D4D1 |
SHA-256 | EAD48A2C578F25DA0337CE8830BFC9AA9594CFC571C3D61F44E01B8DD17EFBBF |
SHA-512 | C071D8420D77F9F156AAB5A44DF9EE26E1BAE3CD7EAB958369E72400D4D095400241681D585FAA8531CC19D1FE6A21C71939378B67EA88A0A031D788F6DA06D7 |
SSDEEP | 96:r0m9+d4ZVOj412jg5MDQEF+lC25TDZXUP5UiCiO8ydfN4:4m9+d4+8ilDQy+lC25nmPuLW |
TLSH | T1F5B1DF237996B82341879C84CC97C1112A12FF57EA0158B4F9FC69791F79D3AE2BB309 |
insert-timestamp | 1678271242.6402502 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_1 |
Key | Value |
---|---|
FileName | snap-hashlookup-import/connectedhomeip/python_env/lib/python3.10/site-packages/dacite/types.py |
FileSize | 5823 |
MD5 | 5FB6E6659D0ACCC63FD73CF7B095FB81 |
SHA-1 | F26132935A7651A67073E2288BBFDEA509840BEB |
SHA-256 | B113C387C145FAB5B2FDC3EDB815826AFAAD3497A87E1F404329D812667F4A4E |
SHA-512 | 0DFEEB2DC0DE7A0370C480F433FDCFE61F77D354DED4F7D936DD314AF95A72879D2A672645E3380762D3AF4ACF22D0DA18B8D19B42BC4DF7E249023BCFE860FC |
SSDEEP | 96:0r+q837MYOpZNERc5kYWJeeWCSCd0JLkWYIEruxIqGCotMhMtRIELjAh/SshxcN:0r2LQZNERc5kYWAeWVu0YWYIErFqOMhQ |
TLSH | T10DC18E767BD2F031C3939A185883C451A61ABD83D10A68F57EFC41B46F6963692F338E |
insert-timestamp | 1678271242.654557 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_1 |
Key | Value |
---|---|
FileName | snap-hashlookup-import/connectedhomeip/python_env/lib/python3.10/site-packages/dacite/data.py |
FileSize | 52 |
MD5 | 51018A898AFCFA90EC7D3B236C6CB5EF |
SHA-1 | 6DD9897EAC8E1C887A8D97E42A06B39249883EBC |
SHA-256 | 61291035AA2445072C054E6C71CFA0F54C37106026FB169B18E1304E099851EE |
SHA-512 | E52700D2C008CB5EDEAC2117CC07AA3FC386E68F131BDE0966E21CDB31D8A7CEC010AD3B86049B43D35D535884B239ABA42D72509FBDC87F642D5A6703AFAD91 |
SSDEEP | 3:1REvgBoGvFfvvSvoGYWxDin:1REYBDFfivo4tin |
TLSH | T1DE900262165A0345C7ACA43434BE46705626904017435D4624801326598E5601DB622C |
insert-timestamp | 1678271242.646991 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_1 |
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/dacite-1.6.0.egg-info/requires.txt |
FileSize | 95 |
MD5 | 2F997FD1980420478F46A0A1DA592295 |
SHA-1 | E4DC9101257AE162D4BD50BE0157F1C36A6899EA |
SHA-256 | F0D904031FAB68A5CB1E084EB5829725AC5AB471F7B4C630060AF2FBFBF603FD |
SSDEEP | 3:oVgN0X87HL4vCxzfvOG+WbcOCfPNK:o2N0X87HMvCxvTbcOs4 |
TLSH | T18FB012463882CDB83513830D111D051BAB94F102F38A021A283B84C4212994C055033B |
Key | Value |
---|---|
FileName | snap-hashlookup-import/connectedhomeip/python_env/lib/python3.10/site-packages/dacite/__init__.py |
FileSize | 99 |
MD5 | 6217E5D40E93825BB78F14C0C378AC57 |
SHA-1 | 4471CFABBF18E74F3CD227C7106EB798BBD18B5E |
SHA-256 | A36460D6310AE40F0727B8F0B1D1DED25932BDE4877DC22AF3FE2898FE97BF94 |
SHA-512 | 94A6B1A3F208BA797B1B44F3FEDC79F8DAE18CD984157B350FCAB00AC56E1945AE544A881035A3236116F4BDC77E8AF7E66C113BEFC20951C43F8C2F2751D8C1 |
SSDEEP | 3:1BUXLbIVKB7LDvD7UXHQsBMGRv+I7URmQPXBln:1BUAgB7LDvD7UXQOU/Bln |
TLSH | T12FB0128306932413407B95D0803940780F73D310DF008011C0B473314FCC4FC0C0D439 |
insert-timestamp | 1678271242.6607323 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_1 |
Key | Value |
---|---|
CRC32 | 32D70693 |
FileName | ./usr/share/mythtv/mythweb/includes/modules.php |
FileSize | 1 |
MD5 | 68B329DA9893E34099C7D8AD5CB9C940 |
OpSystemCode | 362 |
ProductCode | 623 |
RDS:package_id | 313791 |
SHA-1 | ADC83B19E793491B1C6EA0FD8B46CD9F32E592FC |
SHA-256 | 01BA4719C80B6FE911B091A7C05124B64EEECE964E09C058EF8F9805DACA546B |
SHA-512 | BE688838CA8686E5C90689BF2AB585CEF1137C999B48C70B92F67A5C34DC15697B5D11C982ED6D71BE1E1E7F7B4E0733884AA97C3F7A339A8ED03577CF74BE09 |
SSDEEP | 3:v:v |
SpecialCode | |
TLSH | |
db | nsrl_legacy |
insert-timestamp | 1728992881.9160666 |
mimetype | application/octet-stream |
nsrl-sha256 | rds241-sha256.zip |
source | snap:NR0H6AclLOhWZTa2rEiyaNrtQUa9bJHK_4 |
tar:gname | root |
tar:uname | root |
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 |
Key | Value |
---|---|
FileName | snap-hashlookup-import/connectedhomeip/python_env/lib/python3.10/site-packages/dacite/config.py |
FileSize | 407 |
MD5 | F9ADD700DB79BB4C722E915224D39A09 |
SHA-1 | F3EF2894BFE8EE2DB7B244F49B70748A11C66F1E |
SHA-256 | 774CE53BE8EA852BE95D6E771A27BDEEC2643CCCDBBAF1DB7AC201C14D5FD4C5 |
SHA-512 | C66200D02B5D97BCF5AF8DE705F050875C627DC1EBD662E4DDB5F509F6A0BEACA870032C280072ECCE6DB59CD0C55F6382BCBBB43D2EFC5D14031764D3FCC8F9 |
SSDEEP | 12:1B6xk2EYBDFfBjmJOF4EBO2NzeONACw+vmCT8UjP:1Bd3CbLF4e5dfw+uCYUr |
TLSH | T19FE0AB11302699413FE30CA5C49AA230AD63F442DF05283556ECD9711F0D26E4AEB708 |
insert-timestamp | 1678271242.649243 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_1 |
Key | Value |
---|---|
FileName | snap-hashlookup-import/connectedhomeip/python_env/lib/python3.10/site-packages/dacite/exceptions.py |
FileSize | 2587 |
MD5 | B11A38D06322A89241EFCCDBDEFEDD49 |
SHA-1 | 4EE4D1EC2ED160358EF3968DEC4BE121E0163119 |
SHA-256 | A7CEE2271E8E1FFB22C12F9B50B69DA9679BD56ED580BA82B690DABD5E12765D |
SHA-512 | 214283B573FF2D29F708F32D0322A4C9058C5FDFFD886FB8802F5C1E2EDAC1D93FCA9ECD83FE108C2ECF3A4B8C15F204BE44C5072FD26973F85F0805F4303844 |
SSDEEP | 24:1REkn7s8Sa1AY136/k5b0MAcgqfzqJY/N5f4Sp1AYDMKyIQapnpfh0A/IRZdVIgm:b7spa1fS075rqcfYzk709m5liEltk5hW |
TLSH | T1A151A60026D2E4078507CA574A65C623232FA9E3CF0A58B0FABC31761B27C7680B9FD9 |
insert-timestamp | 1678271242.6441734 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_1 |
Key | Value |
---|---|
FileName | ./usr/share/doc/python3-dacite/copyright |
FileSize | 1421 |
MD5 | 6040EBD21CD2098EA557081A1F533451 |
SHA-1 | 7DB53DAD41D900AD45509AA14BD401A73F30138D |
SHA-256 | 9DA14948B82537B7E367DE7BDE7B80920D7622F6AC26950A15A9648B95CF29BE |
SSDEEP | 24:gttcgUVFCsruPJH/H0ymS3gt8xLHc1hMK9QH0sUv4kOk4/+/U3oq4sFig:fgUVF/0Jvlm6Er5QH0s5ANU3oWFig |
TLSH | T18621E91B738007551A8A23D06679ACD4B737714DF45F9EC4942DE3045B19079D0FB424 |
Key | Value |
---|---|
CRC32 | 00000000 |
FileName | ./var/lib/nikto/templates/xml_summary.tmpl |
FileSize | 0 |
MD5 | D41D8CD98F00B204E9800998ECF8427E |
OpSystemCode | 362 |
ProductCode | 15758 |
RDS:package_id | 313032 |
SHA-1 | DA39A3EE5E6B4B0D3255BFEF95601890AFD80709 |
SHA-256 | E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855 |
SHA-512 | CF83E1357EEFB8BDF1542850D66D8007D620E4050B5715DC83F4A921D36CE9CE47D0D13C5D85F2B0FF8318D2877EEC2F63B931BD47417A81A538327AF927DA3E |
SSDEEP | 3:: |
SpecialCode | |
TLSH | |
db | nsrl_legacy |
insert-timestamp | 1728993247.957097 |
mimetype | inode/x-empty |
source | snap:NeHMctrHDAnyFlJpYFnx82WwO1MMFU4V_1 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | ./usr/share/doc/python3-dacite/changelog.Debian.gz |
FileSize | 599 |
MD5 | 6AD33EAAB0E13705C050FC936E5094C7 |
SHA-1 | 53785FF38ED9C4370E5DF77B70E9C238ADDA6800 |
SHA-256 | CD1EB34B70296AC8A9BC6D2C2D2D5A9B5EEDE47F254F5779B512F2C79B795B8C |
SSDEEP | 12:XEBYbl2ejlcTbghU3qlRVleM8htYF0mpi4d+57XPcuOdBeThyGwww2phRY:XJBjlI58b8M8zQJi7TUukBMMGXw2pM |
TLSH | T186F096F40F65CB39C0A86002225C22F053FF8A0524CE52CF60A8E3FF426A165D62139B |
Key | Value |
---|---|
FileName | snap-hashlookup-import/connectedhomeip/python_env/lib/python3.10/site-packages/dacite/dataclasses.py |
FileSize | 1044 |
MD5 | 24393542EA50CD6AE8E8732182988C8C |
SHA-1 | FB8E489CE9D00EBD5488E41813680568C64A3149 |
SHA-256 | 9A40FCC2FDED58D205FC26BC7D431BEE5C45C4CD28F31D2F41B9E365E287DB1C |
SHA-512 | 29BDE394FB2BD16168B3BECD784897D5E499DC009BFDE19C85A75D45C4DC4B1AB5C658964B1CC78DF0F41925865383772684A8FAC21CE6BE64977F2C545BF6C1 |
SSDEEP | 24:1By+XoHueH72VkQ3hkdmqZcybHUVk8kpx24GBp2GdwVBbge6bG14w/0MLyXlBo5D:IQ3hImYdV8K24GBp2GdwVlge6bG14wqY |
TLSH | T1B8115B6635E7D4224D1398C4181AC011B716FA16DE2068B9FBBC12AB2F1581992D8B4F |
insert-timestamp | 1678271242.65796 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_1 |
Key | Value |
---|---|
FileName | usr/lib/python3.12/site-packages/dacite-1.8.1.dist-info/top_level.txt |
FileSize | 7 |
MD5 | CCCEC983194FF21E32938AE29AE73B3E |
SHA-1 | 70A06E1EE5EBE1A41AB29F6BEE8E5B4CB0EF3C39 |
SHA-256 | 141B626AEF657B42CDE0A56E444525E1F6892796517BBD30CAD5176D8A97F141 |
SHA-512 | E5617B5CF91926C70A2959C982EC0F4D4F60A2688881435A419767CFFCE2C82D522FC20BE4D4B2AF283472BBC24D326D31EADDEAD36A593D7F1700DAF61D49B0 |
SSDEEP | 3:f:f |
TLSH | |
insert-timestamp | 1728980205.1615634 |
mimetype | text/plain |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_5 |
tar:gname | root |
tar:uname | root |