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 |
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 | 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 | ./usr/lib/python3/dist-packages/dacite/core.py |
FileSize | 4924 |
MD5 | 9F0EA68154674E02EA842258DF0830A7 |
SHA-1 | E85F26366F2A01486FF28DC6B6561ADF83265F45 |
SHA-256 | 971BBC58012954D56F6B058102CCB8DC816F2F7E213417446EF07CFCF9CE1FEF |
SSDEEP | 96:d0m9+I4ZVOj412jg5MDQEFKlC25TDZXUP5UibZYh4:im9+I4+8ilDQyKlC25nmPuiB |
TLSH | T14AA1BF237956782341879C84CC97C1112E12FB57EA0114B4F9FC65791F75D3AE2BB30A |
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/lib/python3/dist-packages/dacite-1.5.1.egg-info/PKG-INFO |
FileSize | 18091 |
MD5 | 5E01B5100C7AC35A120BFBA109EE4FF2 |
SHA-1 | 7D7D3F2495CF4AC440FC9878EC67736E69B583EA |
SHA-256 | FBC5BF46155EAA6D42879E3E9B45DDE5135ED3FC94450CA53BE821AF59232AD2 |
SSDEEP | 384:vMJvrKzE+wV9Dqkex5RoraYDHv6JJvAUzk:vqvrKzE7V92tvMHvNUo |
TLSH | T1A982845675A03160074315FA82BA8162BA63F02BEB551C19B4FCC1F81F1B735EF7A66C |
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/lib/python3/dist-packages/dacite/types.py |
FileSize | 5783 |
MD5 | AA021667E51448A2AB75428A651D9E32 |
SHA-1 | FF7EB4B4E9FD5F1F66D8098CFE942D20FB9FC306 |
SHA-256 | 2F719F0FF09F3C9FEDEA85391B54B6B52E0C9B0CE666DF0792F9EB8CF5DB6DB1 |
SSDEEP | 96:0r+O837MYOpZNHaR45kYWJeeWCSCd0JLkWulsS9o36GwENuxIqCCoxMHMTuELjvF:0rELQZN6R45kYWAeWVu0YWyEwENFqIMq |
TLSH | T1ECC18C767BD1F031C6D39A185883C050A61ABD83924A58F57EFC41B4AF6563A92F338E |
Key | Value |
---|---|
FileName | ./usr/share/doc/python3-dacite/changelog.Debian.gz |
FileSize | 376 |
MD5 | 6AD20F4B8B03A07610AD556046473921 |
SHA-1 | A75804F120C5573F402CE7CEBD4CEBF19BDA5C44 |
SHA-256 | 6FA4DEE2A74A3D4EB223CEA132DED2672DADC018BAC0BDF7E53673322BCA499E |
SSDEEP | 6:XtShoZJtO0veo8TVGb8OstKd79RyxVCrx6yrjnD96onFflRBlkozhLHAyn:XU+Znveo8ZGcg3rtrjnZ6mzyo9L7 |
TLSH | T1B9E0F1E0740A407ED5A7F93106018404C90CC5656210AE4EAE32D5140F7CC08D006F0C |
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 |