Key | Value |
---|---|
MD5 | E315ECD703D6D364FCE9DE031872E181 |
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 | python38-astor |
PackageRelease | 27.18 |
PackageVersion | 0.8.1 |
SHA-1 | FDDBE84593210EC6748DC4B47963DE4E443D3D8D |
SHA-256 | 2A367FD19683EA0DA73EFE63CC2F4E3CF90D7A0192FC3056BCE250C5D2FFCB01 |
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.8/site-packages/astor/__pycache__/file_util.cpython-38.opt-1.pyc |
FileSize | 3462 |
MD5 | 600BA835F416E727C391963665E4F2F2 |
SHA-1 | 1CDB7AB896DE9D0D1607C2458D9A05D719E908B3 |
SHA-256 | BFEB64FF3EA47DA89AF7F0586E5CF970554A5640F4ECBA8A58EFDC24CF4326AF |
SSDEEP | 48:4zWAFeZQHh0LSrE/T/H9WC40TbXdNDEWr8la+vpPXLAfhtFOqBbvD0Ee/D2zp:2WlQHeGErH9Wg78lfLAXtJvD0Ee/qt |
TLSH | T1A961859306CEEDF6FFAAF6BA010B906C6228D17B524731193D2E81CE1F1521857F2A94 |
Key | Value |
---|---|
FileName | ./usr/lib/python3.8/site-packages/astor/__pycache__/__init__.cpython-38.pyc |
FileSize | 2468 |
MD5 | DF14BCBC85090D9841BFBCF5A47502EA |
SHA-1 | 2B655875436866D8BFADE86477DE5F4B486BAAB6 |
SHA-256 | D36475BA0BB7E34260FB56C456F806260106D472BC3158EEF2129F6CC83549E9 |
SSDEEP | 48:ITXGinv2ybJoTZaUWE7oM6U4iQN8zg+kfArWgJGQUMFmc:ITXG6v2EMZVH756TipzJ |
TLSH | T1DF5163E5408E257AFDB2F3FE5427062555B0D22316CFA12AF92096C7395D7C923E81BC |
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.8/site-packages/astor/__pycache__/rtrip.cpython-38.opt-1.pyc |
FileSize | 4801 |
MD5 | 1CD657A73A6C98BA4B554A890C48433E |
SHA-1 | 39EABEA63E9168C1BD09ABC2D2591D014EF9BDAC |
SHA-256 | D906BCFB91B0A8F0953277A8338191819F1AF7DD1329BDAB323BB8696CDB403F |
SSDEEP | 96:hibVBK4teoIb4NgwTLn3iLwlBgD90kKhcLdLwyMjYi3qW+:heBPtIbqlipnLOrjYi3qW+ |
TLSH | T17CA1E95B2A485271FCD2A37CB2495110D340B3EF471A2768B66F82FA5F191E22EF17D8 |
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.8/site-packages/astor/__pycache__/string_repr.cpython-38.opt-1.pyc |
FileSize | 3019 |
MD5 | 42AC2DEFDFF8D111213E9D4A13D825F4 |
SHA-1 | 3DEFE3C76FA3225D63AAA97B0B5162F6FE919A6B |
SHA-256 | 22C5B7413522501FE66B247D1202EAD9242CE6573FA7A11CED97A4DF2B9D92EE |
SSDEEP | 48:uKKvqFADTt6oNahXKoEDWUrCmOi1Y4eS01tKkwq41g3CesZboYNJ1m+zsL5v/NtB:QiFK6owhaJx+mOi1Y4eSEtKPeSn1LsLT |
TLSH | T10651A6C611589E56FDB5F278404F1230EAA1D337225A22AAF28DB97B2E4D5D85C35E0C |
Key | Value |
---|---|
FileName | usr/lib/python3.12/site-packages/astor/op_util.py |
FileSize | 3191 |
MD5 | F3C1DCED76CE799572CC8711532BAA00 |
SHA-1 | 4710D8DC090252DFBD2A85CB7BDAD7413920D344 |
SHA-256 | 18672062A6B70C53806A84ADED34EEE3A55485ED49D7774ED78F924134574582 |
SHA-512 | C0FCC2F694221CD6C6AE7820AE6E77BB4124C43EBEE8889717B7CCEBB0591D13403C462962543FB0259C8FBE394FFDAC154E2E3827FE9E8A2C5DE327D1B8CEB2 |
SSDEEP | 48:+PrknyrPzAjkolD36IF0TnSt4B+DXES4vISjwKM:+PxzAjkolD3640TnU4B+D01vXjwKM |
TLSH | T1986179DAB699A720402EE1341AA7C909A78CF00756073D12BA6D8BD00F67151FFED377 |
insert-timestamp | 1721645959.2033794 |
mimetype | text/x-python |
source | snap:QIhdLyhBDOj2TXRh8gCCyE7A8qexJbSh_8 |
tar:gname | root |
tar:uname | root |