Key | Value |
---|---|
FileSize | 64532 |
MD5 | 416463D4DA7FE1B7541AF130D7C2DAD9 |
PackageDescription | Python parser that supports error recovery - Python 3.X Parso is a Python parser that supports error recovery and round-trip parsing for different Python versions (in multiple Python versions). Parso is also able to list multiple syntax errors in your Python file. . Parso has been battle-tested by jedi. It was pulled out of jedi to be useful for other projects as well. . Parso consists of a small API to parse Python and analyse the syntax tree. . A simple example: . >>> import parso >>> module = parso.parse('hello + 1', version="3.6") >>> expr = module.children[0] >>> expr PythonNode(arith_expr, [<Name: hello@1,0>, <Operator: +>, <Number: 1>]) >>> print(expr.get_code()) hello + 1 >>> name = expr.children[0] >>> name <Name: hello@1,0> >>> name.end_pos (1, 5) >>> expr.end_pos (1, 9) . To list multiple issues: . >>> grammar = parso.load_grammar() >>> module = grammar.parse('foo +\nbar\ncontinue') >>> error1, error2 = grammar.iter_errors(module) >>> error1.message 'SyntaxError: invalid syntax' >>> error2.message "SyntaxError: 'continue' not properly in loop" |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | python3-parso |
PackageSection | python |
PackageVersion | 0.7.0-1 |
SHA-1 | 564F6ADBDDA7341457FEDAF0C147F8DB68F79F96 |
SHA-256 | 7D87A6D6AE3B33E3F8FFA3BC7B5CF6DC7E7504F48586140715F4706B1BEB42BD |
hashlookup:children-total | 34 |
hashlookup:trust | 50 |
The searched file hash includes 34 children files known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileName | snap-hashlookup-import/lib/python3.6/site-packages/parso/python/grammar33.txt |
FileSize | 6124 |
MD5 | 0FBF37F7CE0FDC2DFF56C54C81E208FE |
SHA-1 | 10747D4583AE5FCCE1005C28404584B5301CE8CE |
SHA-256 | 6C09E655520004DFC8BD4E25D62C862C57E7737E0930546DA11152BAEC6730DE |
SHA-512 | 28F13D3198A5EE69DEC4DA85892A647C6E4C642A6740E2298611A9DE1FB6D31CE5AA832323C7DBE692C663A04D947C6A061949998C52F536F8722569630A5484 |
SSDEEP | 96:dacRW34cQAfYiHhXHZpR3oyiD5rnFs69BFm9X6Mc4b79c83OiEhZgNZCCa82OLO:dacbcN9HhXHZpR3oyLUMB7tUzd |
TLSH | T121C1B44CB5D70B0117C250E7654EF2B7158AC1CEA0060232FBDE52FEDF8B5A86222B66 |
insert-timestamp | 1727031937.3487358 |
mimetype | text/plain |
source | snap:lc8Wf4IerdwnRw6ENKbYZFBh2NMlrEto_1739 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | snap-hashlookup-import/usr/lib/python3/dist-packages/parso/pgen2/grammar_parser.py |
FileSize | 5399 |
MD5 | DFA1ABA79628860B0A96B5C3F7E677B7 |
RDS:package_id | 294806 |
SHA-1 | 1B4ECA9C46E577138A1939D51BC00691BB4B0EBE |
SHA-256 | 0E6FEFFBF9354E01F89226F07684D34C52BBDFEA8B53AE560F6046A8E32BDBCE |
SHA-512 | 7E4F854323241109E7E47950F5A89663123F62814110D5EEC5FF354A4B5D2C0994D92F2AF171528476232952C4E36066FCC089169C0FFF665BD6262E54629583 |
SSDEEP | 96:aSOab0xeVvxKDJN+MEF/IGzGS0IWwJYLF/lkwRGTGdBSqTHRrY4+Z3:fv0xoxKDH+MEFQwSFtkwgqTIx |
TLSH | T12FB122627C0399249313C96B8CA6E447B91AA957114C24BC38BC60E52F86DF691F3FF9 |
insert-timestamp | 1727055099.140891 |
mimetype | text/x-python |
source | snap:wBEQd0pf939OMkQxQzjc5edUUJ7UTdoO_33 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | snap-hashlookup-import/lib/python3.6/site-packages/parso/python/grammar39.txt |
FileSize | 7544 |
MD5 | BD768EB1CF31BD338621CB3653B530FF |
SHA-1 | 277B4FD73AD9FF1E61ED34E81ED9BCC15F483CDA |
SHA-256 | A06AC99C842521C63A8CEA104B5C09C34F67250C3606DA8204D9386F72CE9832 |
SHA-512 | 3AAD0A7E39146003624A1591F6096C781E9C8ABC54E114681A1368F1F165F62C52F4C0F037DC1ED56305CBD3EC5C59C9053FF856459FDBD8149DEC0194D849C8 |
SSDEEP | 96:d8cQAzzNX3X1pR3SylDu5riFl69BFmlETSX6MckLb99c83OiEhNhfO5ZCCl2OGMI:d8cTX3X1pR3SylXgMH9hUUI |
TLSH | T147F1801CA6EB07450BC150B7554CF3BA45C9D18E203B8176FBCD92FD8FCA0A82622B66 |
insert-timestamp | 1727031937.4546092 |
mimetype | text/plain |
source | snap:lc8Wf4IerdwnRw6ENKbYZFBh2NMlrEto_1739 |
Key | Value |
---|---|
FileName | snap-hashlookup-import/lib/python3.6/site-packages/parso/python/grammar27.txt |
FileSize | 5958 |
MD5 | 3193AA14916477374961E6A5BAD8C3C7 |
SHA-1 | 2CDFBFBC2BBAC76EC6C1000415BC927C89CF2795 |
SHA-256 | 6D232B9F3F0F23EBFB9102E2B5DFF2F4B2E49FC8FE37800EBFAF7078E5CD944F |
SHA-512 | 2A9367DE5378191346EB899E0383BABD8E609DC6205F85B6C878F574F75B64BCE29EA4579493F1D4C39AF91199A7BDFE8FF8377ECADEECEEE39815DF3ACB1B59 |
SSDEEP | 96:dacRW342QAfYCjpRYLyT5rnwfoBFmg1X6acqyJ8Vjxj83OiEhZg9ZCaLhnWEU3FQ:dacb2NRjpRYLy8alyJ8VNiUaLhWErH |
TLSH | T19CC1934DB4EB0B0417C290FB2A1EB1B7154AC18FF0060131FBDE62EDCF8A9256522B61 |
insert-timestamp | 1727031937.4320042 |
mimetype | text/plain |
source | snap:lc8Wf4IerdwnRw6ENKbYZFBh2NMlrEto_1739 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | snap-hashlookup-import/usr/share/doc/python3-parso/copyright |
FileSize | 5156 |
MD5 | CDF5F7E1D5E8AF7A8921C67E9F3DAC30 |
RDS:package_id | 304063 |
SHA-1 | 3A272CACF71DA224305AB1EBBB02A8295E4598A7 |
SHA-256 | 616080A1EBC6094BB4135B2A1AB8DF5D8440721F7A1D53015129AB4BDA05145C |
SHA-512 | EEC675B147353BF967C3C8EEA5FE3C63FC7B761E857900C3DCAF9D4CECB94FFBD6EB4997F9E77CFB2B2F42046825B267F3FFD85279B04E23F9C06E40A4435E0C |
SSDEEP | 96:+NSm6jgdSUUixJUlmpHQHFoT2xSXrrbMRcF+XBl963QP7II5h1tR8Gn:FmjdSCJU0QHF42srrbMJv96s8IttR8G |
TLSH | T128B1B85EBE0417622BD9E3D03F97A89AF329E16C756B1C49942DD144263782D12FF831 |
insert-timestamp | 1727055014.373132 |
mimetype | text/plain |
source | snap:wBEQd0pf939OMkQxQzjc5edUUJ7UTdoO_33 |
Key | Value |
---|---|
FileName | snap-hashlookup-import/lib/python3.6/site-packages/parso/file_io.py |
FileSize | 972 |
MD5 | 55143393F877A15C7207F397405F8B0A |
RDS:package_id | 294806 |
SHA-1 | 3CE7B63C6C8C42F59DB8416A2DA646161AFE3D7E |
SHA-256 | 3E5A71E90C045B5253AD85D4C3BDCBEA670170C946454E6BE01C1A072B81C5C1 |
SHA-512 | C25C8680CF1ACE88E19CBB905F5379BA6A150F051303BA5D1DEAB86100F1B5AFC93A6F4B8D1260F43890424C7A3B94E4270371274E01B434ECA33F3FAD06412C |
SSDEEP | 24:eAO4h7AF/TExzRNDynewiLDEqX5PkrL13a6ZA2aNG/Wh7c:eIOF/TEXUY8qX58rt7bydy |
TLSH | T1D711C065DD07D55AC383C1660613F49B734CF8A3D1186529BDFC91992F95D70C0E8AD8 |
insert-timestamp | 1727098207.9565117 |
mimetype | text/x-python |
source | snap:0oZietUv4HBZqnYAVhtPwewC9Y3oHM4s_19 |
tar:gname | bin |
tar:uname | root |
Key | Value |
---|---|
FileName | snap-hashlookup-import/lib/python3.6/site-packages/parso/python/grammar35.txt |
FileSize | 6933 |
MD5 | 4C6087B8611B7A61B51059C866E84B1F |
SHA-1 | 4B0FF515178BA5EBB55FACEA90FBEBC506BBE742 |
SHA-256 | FD444BEBE02730C97625A6DDFD8E7DC8915DDEA7F8EF9DF70F25C6C7BA27BB81 |
SHA-512 | 53F6CF71EB1AB75C9983EFFA41F524E65E907A01EAE5E4910BB150C62D90DC11320CB574AACD1D17FC347CC565C97F5687B7E3F12D0874AAB8DAA27A5839B6BC |
SSDEEP | 96:dacRW0YcQApQ0z6HhXHZpR3oyiu5rnFs69BFm8X6Mc4b99c83OiEhNhQZCCv2OGS:dacmcLQRHhXHZpR3oyKzMB9dUKh |
TLSH | T10CE1B65DB1E707450BC250E7694DF2B216CAC1CE60160132FBDE52FE9F8B5A92122B66 |
insert-timestamp | 1727031937.3698697 |
mimetype | text/plain |
source | snap:lc8Wf4IerdwnRw6ENKbYZFBh2NMlrEto_1739 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | ./usr/share/doc/python3-parso/changelog.Debian.gz |
FileSize | 498 |
MD5 | D8889AD8F180542461E07A907FA4ED84 |
SHA-1 | 4FACB1512E4449A91B7841306D0C5471F57BC271 |
SHA-256 | 19C66B5A5EC9DFE0BF0A0064A4BB1D67CAF0A5F89166C30AC082AC92B5D57E43 |
SSDEEP | 12:XRVmjF2lldKsBnMKwLgl+hIyfalP9FNQscIvicp97T+296rfFpXd:XjUF2rdhBnbiAyaVlQscIa2ZT+brdpN |
TLSH | T144F00E9359B6B043E048A2386FAA900CC08FDA608BE02D090C238810A00EDBB75017FA |
Key | Value |
---|---|
FileName | snap-hashlookup-import/lib/python3.6/site-packages/parso/normalizer.py |
FileSize | 5742 |
MD5 | C3FB683D2ABFF1761BC3B384F70C9F71 |
SHA-1 | 57B2B42A3A23433C88DBFF3B3DF5462C723EA26F |
SHA-256 | F9C80C198E4D78D47BE9C759B7852C9314E283CCF44B2D7BCADD2E257A7B9599 |
SHA-512 | 166C3364F2AA8DE9F202A4C1C74306D4861C9B4501060B32060A20515CFDF962286EA2524CA9F7AE66719B914ED4CCBE573163A1ED699A4B7C2FC9B71638FAEB |
SSDEEP | 96:s4mBF6OE9NVrzyBhbkq4LwaKm7WbRQo0J1j7rdxOxI7fwaxDyeN3fhCeFtzhq:wDcQKwRm7Lbj7rdb2eFZhq |
TLSH | T104C11316ED56DC56C34BC82A68E7E082A70C7C4BC1087579BCFC91B86F55A38C1D2EE8 |
insert-timestamp | 1727031937.2498698 |
mimetype | text/x-python |
source | snap:lc8Wf4IerdwnRw6ENKbYZFBh2NMlrEto_1739 |
Key | Value |
---|---|
FileName | usr/lib/python3.12/site-packages/parso-0.8.4.dist-info/top_level.txt |
FileSize | 6 |
MD5 | 8D335AF1FC02682B477F653138B332CC |
RDS:package_id | 304063 |
SHA-1 | 6550B7333F8037CD63FB8C5931A4178F6C842B65 |
SHA-256 | 18E38A4023DC9EBD3FEC8440AF1C88D025F92CBBB858B973211015592FAF278B |
SHA-512 | AA672631B65AFA6718017836905CE9866CC634181428D8195FAC959C6F6970B9292A34A6B7769F51572A9AA68AA3484933369EF10FFC887E749CE82AB62EB444 |
SSDEEP | 3:A:A |
TLSH | |
insert-timestamp | 1728980177.293199 |
mimetype | text/plain |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_5 |
tar:gname | root |
tar:uname | root |