Key | Value |
---|---|
MD5 | 69FD15A74507FF9EF106C5F778509DEE |
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 | python3-astor |
PackageRelease | lp150.2.2 |
PackageVersion | 0.8.1 |
SHA-1 | 133D640D30E9EC613C113F471E3D340ABC2D2814 |
SHA-256 | 92A8940DF598B89AAD979EC9CF0A9C27179F15551CEC343708AA80D23F11D74E |
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 |
---|---|
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 | 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.6/site-packages/astor/__pycache__/source_repr.cpython-36.pyc |
FileSize | 5559 |
MD5 | F6951CA1705108F0554E7EF031C1D9B0 |
SHA-1 | 25875115A6976BE897D9C49CADE49D874540C198 |
SHA-256 | 7175CD960C1C9695117B3D6277752A63F8186671DD5B20C66CEF50C39AD99F00 |
SSDEEP | 96:sLuRoUfm/oJwBvKfM5uckdaVG99OBMf8QbF1eI+iK:/yUuQ+hn5uvaQ23QJ1h+N |
TLSH | T152B1D99ECD48EA75FAB0F2F5182B11106121F2F7679C52A5B10D22BA8FC5BC912B44DE |
Key | Value |
---|---|
FileName | ./usr/lib/python3.6/site-packages/astor/__pycache__/source_repr.cpython-36.opt-1.pyc |
FileSize | 5559 |
MD5 | CEF5A1E67409FBC44D7AE96045C085D6 |
SHA-1 | 2DB63E8D7FBC7BD539D541CAC43A12AB610FF158 |
SHA-256 | 13ABB1E7940B6A7F54EB01EB04C34882FBCC060D64885BE1DEE2A05536910F64 |
SSDEEP | 96:sLuRoUfm/oJN6BvKf+SuxkdCYd9fBMf8QeFVxOrxq:/yUuQihRSukbH3QgbOg |
TLSH | T10FB1C79B8D48E576FEB1F2F5142701102261B1F7A78C5294B10D62FB8F94BC906B44CE |
Key | Value |
---|---|
FileName | ./usr/lib/python3.6/site-packages/astor/__pycache__/rtrip.cpython-36.pyc |
FileSize | 4803 |
MD5 | 757DED513B70D7CB7BAB32C53C2F2481 |
SHA-1 | 2DB7007CFAF7392AD49C8DD9EC4625BAE138EABD |
SHA-256 | 22B1DC59CE5E6900588C1746370E32E5BCFD8BC58DE455F7EA4B908AFBEEF334 |
SSDEEP | 96:bibeoK4BaegximbucZUnhL8lBg3EG2WkKhcLdLwyMjBe5atqR:bKbadimbR2F0G2LOrjBeEtqR |
TLSH | T153A10C6B1A086675FCD362B5B04CA1608280B3EB431973E8714E82FA0F191D21BF17D8 |
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.6/site-packages/astor/__pycache__/rtrip.cpython-36.opt-1.pyc |
FileSize | 4803 |
MD5 | 5BE08A268064E1049C7B53117F14EE80 |
SHA-1 | 38F2FB6A24855E33E5FDEE232D5E9F02DD924FC5 |
SHA-256 | 3F7A27B383F10D38A8E27D2E96DE1FBB6D5CC62C2E705A649502E4326FBB4FED |
SSDEEP | 96:bibeoK4BaegximbucZUnhL8lBg3EmWkKhcLdLwyMj8Q+ZAydqR:bKbadimbR2F0mLOrjX+3dqR |
TLSH | T104A10B6B1A486675FCE37275704DA1608680B3EB431977E8714D82F90F191D21BF17D8 |
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.6/site-packages/astor/__pycache__/string_repr.cpython-36.pyc |
FileSize | 2990 |
MD5 | 81D5E00F19A6E9E610ABA0EE525C4FC4 |
SHA-1 | 3EFA05FEB720F91A3504CB8CC7B355D1F519D387 |
SHA-256 | F8BAE2B1F0A94AE4A28A787E30233FE92CAC79643455CA7E55A753F6CB9044BA |
SSDEEP | 48:UKvVFBmDTt6oNahXKoEdWorCnN1jFS+Gmv1tKkQq41gfCesZLodJlH6m+zqY8/Nn:JNF66owhaXl+nN1jFS+GmtKXejv6Lqdt |
TLSH | T19C51B5C522445E97FCB5F278804F1221EBA1C377225967AAE38DA8BB3E4D1D81C71E4C |