Key | Value |
---|---|
MD5 | 24D8E23EFD191A0B3F4C68C37F2C8B6C |
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 | python2-astor |
PackageRelease | lp152.27.3 |
PackageVersion | 0.8.1 |
SHA-1 | 00DE174A5C053E8D5F63E4C70595CA068AD8A323 |
SHA-256 | 006840BDA8F95E5ABB62C5FC6F5A99AC0ACBE7D80AC85A9E1620BE61B733788F |
hashlookup:children-total | 35 |
hashlookup:trust | 50 |
The searched file hash includes 35 children files known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileName | ./usr/lib/python2.7/site-packages/astor/op_util.pyo |
FileSize | 4497 |
MD5 | 80C05113A1805EF7BF5CD7E5C7B4A0D1 |
SHA-1 | 0E4DB3EFD92AC98AF13FA1F8E36172F5FE5B269D |
SHA-256 | 72202E8D82F170CAE20EC96B992D3B91AE3C465B6AADB8D264AE501BF7778FF2 |
SSDEEP | 96:alc1zAjkolD364ZvA9NPDgWjtwa07qGbvqJbb97S3:uYAjkAD36x9NbgWjK9bObb97S3 |
TLSH | T16D91ABD4B7E84726C53AE23564A1411A9B98E0B321033F41B12CC5B51F6E7A4DF7E396 |
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/python2.7/site-packages/astor/codegen.pyo |
FileSize | 374 |
MD5 | 094F32978FBD3A5929E8FD5A728534B7 |
SHA-1 | 1558DE62BF3E8B6ED5CE2F44A157E0AD7B71D779 |
SHA-256 | AFA105E846829B2EDBC39D024089B236E41B42A912368867557D9B6614FE7996 |
SSDEEP | 6:/CllGG83yVlCgg/o/VG2KI42LGI61VKPXpGhnY+LoRrI0O0e8TM9Y3xmDr3/Patx:allhUyng/12ZHLG31gxSY+AUrUMfv/SX |
TLSH | T176E0DF96BA745123CD5A26F1F08041238EFAD1B687123480562D57A91DDCA7D0B3E754 |
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/python2.7/site-packages/astor/rtrip.pyo |
FileSize | 5709 |
MD5 | 8E77DDAAB449BBD98C6E9117AAE0FBE1 |
SHA-1 | 1EAFE31B75C890A14CD8F846FDEDB9312AF773BA |
SHA-256 | 0A2327AB64BB72DE2DD142F5B04AFC1062B4878535195B9470CE13F3C9B396B5 |
SSDEEP | 96:w6f1MLtoFnRx92+7ZY42Vv5czCftrxeKRikKhcLdLwyMqFrzVDx:wLtoFnr92+mzczRCLOrIrJDx |
TLSH | T112C19385B7A842BB96A10170B1B90343DE50E2F7A1427B5436BCE0B52FDD3B1C1B22D6 |
Key | Value |
---|---|
FileName | ./usr/lib/python2.7/site-packages/astor/node_util.pyo |
FileSize | 7852 |
MD5 | B1C056C0D403639FDE951E5E547C1607 |
SHA-1 | 292A7E5180E9CC9CD3EC2DA63FB8626E011C3790 |
SHA-256 | C5FBD5FC357B900392947EA3D531222A19DA22391C811CACF71377C0C4CADF4E |
SSDEEP | 96:alvgAxNPCteSMqFGaeAC56425qr9x8owf4AYChFH1xx1+fN2b+zs24J8runDBGKB:uvpxcjrGaeA6IGzAlN1Il2b+s2sntYw |
TLSH | T188F12084E3D4057BDAA66535A1F501079A76F1BB53023B90727CF07A2F8D375C93A389 |
Key | Value |
---|---|
FileName | ./usr/lib/python2.7/site-packages/astor/source_repr.pyc |
FileSize | 6660 |
MD5 | 7243C1F9A4503EA30A903FDC4285B67F |
SHA-1 | 29A6303C773793D35A773F3F592C55E737BAE68E |
SHA-256 | A729CC626DBAC9B07BB58302AFEC8C91D1D86DE5446A9CDCCBFC9C81FDCD4437 |
SSDEEP | 192:u+E45qUznfhQNHpZtji/wI2EtxNGQWZAoD8:u+E4BnEI2EtTfMI |
TLSH | T143D13294A3A4C9BBD5606174B0B00213DE76E0B7964237D2B63CE0392FDDB65C53B781 |
Key | Value |
---|---|
FileName | ./usr/lib/python2.7/site-packages/astor/tree_walk.pyo |
FileSize | 6104 |
MD5 | D500E035A80CD2912D575E335608794F |
SHA-1 | 2B5B01126E14A6D6F9337BA7FDE8F8EF11AF9BAA |
SHA-256 | 0F2D967536408FF60364FCBC0436A93A70036D0935FB51763917BCA9B9732E83 |
SSDEEP | 96:al++obFpHO3TF1u0cy5n1cjuB8LQ2+XWG+qOIcBOtvfF+mSBh6SWw+4skTPS:ugSqGyjuBzXqONTQh6jwc |
TLSH | T159C17451A39986BFCAA1567160F50213AEA2F17B62423B81357CE1362FC6325C13F7E5 |
Key | Value |
---|---|
FileName | ./usr/lib/python2.7/site-packages/astor/source_repr.pyo |
FileSize | 6562 |
MD5 | 08F44CB6C79B1B1941C85FC8279B253F |
SHA-1 | 2EA5BCF8550EA1B30032FCB8CDE09AF0354F3CA1 |
SHA-256 | 123ECED73320BA211D14F26B30B0A0CBA694BBC10884566CB41A3763131586B3 |
SSDEEP | 192:u+E45qUznfhQN5S1jX/wq923trVyQWbLoDE:u+E4BneqQ3tpDr4 |
TLSH | T17AD12290A3A485BBD6A06174B0B40213DE76F1B7964277D2B63CE0392FCDB65C53B381 |