Key | Value |
---|---|
MD5 | ED589EF4BDAADC4EAB8495E2085D9A70 |
PackageArch | noarch |
PackageDescription | astor is designed to allow easy manipulation of Python source via the AST. There are some other similar libraries, but astor focuses on the following areas: - Round-trip an AST back to Python: - Modified AST doesn't need linenumbers, ctx, etc. or otherwise be directly compileable for the round-trip to work. - Easy to read generated code as, well, code - Can round-trip two different source trees to compare for functional differences, using the astor.rtrip tool (for example, after PEP8 edits). - Dump pretty-printing of AST - Harder to read than round-tripped code, but more accurate to figure out what is going on. - Easier to read than dump from built-in AST module - Non-recursive treewalk - Sometimes you want a recursive treewalk (and astor supports that, starting at any node on the tree), but sometimes you don't need to do that. astor doesn't require you to explicitly visit sub-nodes unless you want to: - You can add code that executes before a node's children are visited, and/or - You can add code that executes after a node's children are visited, and/or - You can add code that executes and keeps the node's children from being visited (and optionally visit them yourself via a recursive call) - Write functions to access the tree based on object names and/or attribute names - Enjoy easy access to parent node(s) for tree rewriting |
PackageName | python310-astor |
PackageRelease | 29.4 |
PackageVersion | 0.8.1 |
SHA-1 | DFEDACB94B634C4291052E34BF35E798E64289EC |
SHA-256 | 0A0910AF6EFAD3CCA5B170F62E34CD8C82FD42B12C2AA57DF35F8D931D3E79FD |
hashlookup:children-total | 40 |
hashlookup:trust | 50 |
The searched file hash includes 40 children files known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileName | usr/lib/python3.10/site-packages/astor/__pycache__/string_repr.cpython-310.pyc |
FileSize | 3032 |
MD5 | 2D5F070E385FC396A68B24345EE38588 |
SHA-1 | 05BF604777618577C9EA3DA28355FC9902B78342 |
SHA-256 | 6C80E0DF61CFA2F79A3DF8906095936DB2C6D58DAFA445236ADA2945592B9FA2 |
SSDEEP | 48:FKUADTyoNahXKKMTW9rmHoTSOh1tJkbq41g3CesZLoY2m+zhr/5F/NtcyQ52DoPr:7fowhapImHoTS0tJqeu2Lx/XM2DwpJ |
TLSH | T1DF5187C520585E56FDA6F178504F1231EAB1C13A325932AEF28DA9771E4D5C91835F4C |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
CRC32 | EA8D6263 |
FileName | usr/lib/python3.12/site-packages/astor/VERSION |
FileSize | 6 |
MD5 | BD8999DAF4139501B8AB8BE2D8075233 |
OpSystemCode | 362 |
ProductCode | 15106 |
RDS:package_id | 11992 |
SHA-1 | 1168D5C064FFE9375DAE5EC0BA45DFEEE617DE71 |
SHA-256 | AAF6721DC37C40B4233ACCFC081F25776FF3BD1D2A4B9D5CEA760D1C2CF86665 |
SHA-512 | 09A106B693B2880B19FE4E303BAD6985B2D30F9E050AB93DAFAB6F7A09919F30E6249A7E37242BF959169499EE982564A012A7DF652B4BC0677D9708C485EF69 |
SSDEEP | 3:en:en |
SpecialCode | |
TLSH | |
db | nsrl_legacy |
insert-timestamp | 1721645959.2291543 |
mimetype | text/plain |
nsrl-sha256 | rds241-sha256.zip |
source | snap:QIhdLyhBDOj2TXRh8gCCyE7A8qexJbSh_8 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | usr/lib/python3.12/site-packages/astor/file_util.py |
FileSize | 3268 |
MD5 | 70CACBE74274FE03012AB715738C9FAE |
SHA-1 | 150F32FD8363F787128CEB6400DDD01916CC1D64 |
SHA-256 | 0444EC29883C5222A864DB304648ABCCF4995A092EE35751CD90BB4F95F7FC5E |
SHA-512 | 31CF2798CDC8874E2E94787155F94F99FF52F0ED9BE5444A66F6B17D1580E2BA6C98CC7E51CFB47831AEFFB8C5CD1BFA9A9078EE5B463B9D4652C0E5D7082231 |
SSDEEP | 48:+WYiX49eI5Jzp69xOY7TbXdb1uTQnqzvpPWeM3EfkIMmes9jqZICXWA:+WYiX05v6nOYbHq3fkm8n |
TLSH | T173614153DE8EBD62C7439A5E458BD0589318F83B4246213C7CFE92E82F81225C2F64ED |
insert-timestamp | 1728975556.4634671 |
mimetype | text/x-python |
source | snap:EE5GWu02z0YpTc00nobuYaTnsYOWA7ZQ_4 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | usr/lib/python3.10/site-packages/astor/__pycache__/codegen.cpython-310.pyc |
FileSize | 346 |
MD5 | C63D29E35FEE0A20E9B349BB32F851BC |
SHA-1 | 15A002772D4681A108108ADF2EDD1B132788616C |
SHA-256 | 1B74C104A55F8AD797D37D68F4753F82E2D2332BEA548F67703B6D0ED320F008 |
SSDEEP | 6:ZcSmGC+JnfQ2zvkFZMs/lIOA2KI42LGI61VKPouh5boXilRKT9YJgMr3/8IlnJ:mkC2fdvk//qOA2ZHLG31gAuh5bfHKTML |
TLSH | T191E07D554528A031CC8995F5706841215EF74084836A30961E1CC399294C7654E7EBB8 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | snap-hashlookup-import/usr/local/lib/python3.6/site-packages/brainframe_qt/legal/licenses/LICENSE.astor |
FileSize | 1554 |
MD5 | 561205FDABC3EC52CAE2D30815B8ADE7 |
SHA-1 | 1664A4CBAE596C411A3F8A61F3C1E73058AFB323 |
SHA-256 | CE41EAFC2EFC018D9C7C96A1C779668246C77DB11A139E3889F347F464A61B9D |
SHA-512 | F26D190C0D38489DBF14D040470BAEE7488FF4358F79441E213CC171E21731B28D81E97E71F6208A01DAC711E641A3A858CAFC189E830B53AB6F3832E5F814C4 |
SSDEEP | 48:ceAOOrpoJrJzuzP96432sv832s3EsIq3tYHv:FOrpoJrJzuZR3A3zVfaP |
TLSH | T15131955B12441BB759E21696655ABAC0B48DD02D3B236E012C7DF3445A7B83ED8B7041 |
insert-timestamp | 1728981648.3373113 |
mimetype | text/plain |
source | snap:HG864Qacf76Hw9ngat7CzhpCGRSrwuQM_195 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | ./usr/lib/python3.10/site-packages/astor/__pycache__/__init__.cpython-310.opt-1.pyc |
FileSize | 2501 |
MD5 | B2A31775BCA3F3E0931D0BA4470ECAC3 |
SHA-1 | 2B27A7E0C55CEAD7EE41E8B8E63D632A303CD2DC |
SHA-256 | CFB2539486E5B6427B6FF1015C9D7CEBABB17CEF47E4C36D678AA0B1FB77CBAD |
SSDEEP | 48:5TdhGinv2ybJoU2mN0bWEKIlM9SqRvEAdYArWgJGQUML53:5TdhG6v2ELnsHdqS4/T3 |
TLSH | T19A5142F6908E2476FDF1F2BA541B031140F0D267129FB526F92092873D5C7C822E81BC |
Key | Value |
---|---|
FileName | usr/lib/python3.12/site-packages/astor/source_repr.py |
FileSize | 7373 |
MD5 | 10D6EC35CBE22A63AC313E4D2607AB67 |
SHA-1 | 2F9458F43211B9FB548153D1B58164E330322423 |
SHA-256 | D658F88DA924ADC183468A3E0484590ECCD0F20BA475E2D1FDF9AF1AA06B3FE5 |
SHA-512 | 2A31222740497D4E1A7B03252112857A6763F89715A680272D33EC35EB128FC6BC4B46BDC993BBF4CEA5EFEB66E192B8EE9075B31AA25C24874826F2E1550961 |
SSDEEP | 192:bUbyDcP/UKm50JKpVOi+0e4dSoI2TCXhyJQ4Qh1:aZPWyp09dSoXm4Q/ |
TLSH | T1C9E1631B846065B4E7C2866F396FD851A335253BD540A174FCCC420C2F62A69E3FCBE9 |
insert-timestamp | 1721645959.1957452 |
mimetype | text/x-python |
source | snap:QIhdLyhBDOj2TXRh8gCCyE7A8qexJbSh_8 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | ./usr/lib/python3.10/site-packages/astor/__pycache__/rtrip.cpython-310.pyc |
FileSize | 4846 |
MD5 | 76032F94E2A0308763469FAED5C3E7D7 |
SHA-1 | 374ED3EB5FEB8E94C41B5F649E51C8A7766C008E |
SHA-256 | 986D1BA427EFAD5F7BA308A5C82BC1A7A8197DC4B422063D34C86BF787C0FEB7 |
SSDEEP | 96:EisUK4ZPnLRAunaLnvlwlBgl+DkKhcLdLwyMj+a+ZAyWqs:EubPnLRp4/FLOrjz+3Wqs |
TLSH | T102A11A9B260922B1FCD19378B2054120C384B29B471616ED762FA1FA5F451E26AF2BD9 |
Key | Value |
---|---|
FileName | usr/lib/python3.12/site-packages/astor/node_util.py |
FileSize | 6542 |
MD5 | 40B349377B2B1720168077869FEFB3A5 |
SHA-1 | 3B917CCB6784A012CBA809441E789B92402E41B5 |
SHA-256 | 58458C50C49F1ED2F0831E789CC91CD803CB579EF788E3E1A8F6A0E2021B8554 |
SHA-512 | 4FF65BB0888FC0A609DEB2C66C413D95D2C2D902A93C473E570ED72AEF94FB691C2F286035B684C7D1914F9B8E9DAC13A263B88803403150303E48151822B541 |
SSDEEP | 96:+AxNLlJzvoWx/teSa4qkmAeGu65rmoCk2Ng7f9A+f8BS4LfsJ8rQxHQo:bxpx/jaKe8swIYxwo |
TLSH | T101D16127EA556475978749364CAAC8063B5DE92B9400AAB43DEC82A63F47230E2F42DD |
insert-timestamp | 1728975556.4852612 |
mimetype | text/x-python |
source | snap:EE5GWu02z0YpTc00nobuYaTnsYOWA7ZQ_4 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | ./usr/lib/python3.10/site-packages/astor/__pycache__/code_gen.cpython-310.opt-1.pyc |
FileSize | 29559 |
MD5 | CE4B464F574CC7182DA8DF0C3A66B984 |
SHA-1 | 4050484CB82EFB136FFCEF5FF1B4726576068A6E |
SHA-256 | ED2B97F81EA5DD937113A9D3FDB1B3AD6FA22A4C02451E415198C57DF52A183F |
SSDEEP | 384:zPnU0KurUx3+jsaL/NKWOji9G1ZBlAgCwfPTuCkSUgPN5dMW:7RrUxujhL/NvIjAgCUP6CkSUgl5aW |
TLSH | T15AD255EA60B19F5EFD5CF2B8F01D0310A071E36AD34D717BB019E69A3F557C84A51898 |