Key | Value |
---|---|
FileSize | 60500 |
MD5 | 9DA35F168CF9C4F629C40C2490A644D5 |
PackageDescription | Python parser that supports error recovery 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 | python-parso |
PackageSection | python |
PackageVersion | 0.1.1-1 |
SHA-1 | C2FA306AECE23E2912DEF57EC30BA36AB0FF5556 |
SHA-256 | 18F4D84101CF33190355941A5FA7ECC63714D5A9D0F2A4D460FB65079AD7654E |
hashlookup:children-total | 33 |
hashlookup:trust | 50 |
The searched file hash includes 33 children files known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/parso/python/diff.py |
FileSize | 22174 |
MD5 | B9F45C810BEB22A62F135A218FB363CA |
SHA-1 | 05DCAB166C61995E1E75ADEC7D7B9D7916C7C3DF |
SHA-256 | 97FACF22F82F1AA2EDB6F297C321F67227BAC81D860DF29A784DE96F1AD1F9E1 |
SSDEEP | 384:6zPZeXLjiF9qZJc+VB/tAndeDlmgyKl7Fkqo:61K/SndeDlBFkqo |
TLSH | T1BFA26367A4808DA696C39DAF6D9AB54673BE286B50441674FCFC80447F0072882FBFF5 |
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/parso/pgen2/parse.py |
FileSize | 8373 |
MD5 | FCC18A9B0EAB2E863E75E949BD6A6C60 |
SHA-1 | 0C1D4C67F5A93BB356D3E064DE6E50A1AAB2A74F |
SHA-256 | 1E962D90F409A707FA845C7089E5AFEBAA76940DA6D5C42D08152C9B7C5D6244 |
SSDEEP | 192:fTDPJacmcTRsVZZDKDvuEnj2h0LRi30L8lSi+5a21:fxmcTRAZZ2LuEna0LRi3Nw1 |
TLSH | T1AD02A403D9104BADDB535827D89FE665370ED853215A24B1787C82A53F41A35C2BFFE8 |
Key | Value |
---|---|
FileName | ./usr/share/doc/python3-parso/changelog.Debian.gz |
FileSize | 184 |
MD5 | EDAA5D95832649C239E4E88AEED407A3 |
SHA-1 | 0D8DFB583566748AD9FC2022362A920A1B9C933C |
SHA-256 | 6BBF35489266A6E0668AB2FCE62122E1DC9FCA5D9B7BE80099F641B526A23515 |
SSDEEP | 3:FttHKl4ZcUrw1RtSxplEeOAx0ZM5jgmIpUuCrvk8PWevG8ztalNv5MqbJ89jYCKf:Xt7cgAGlM4jgmUUu4kwpGOO95MqjCKf |
TLSH | T1F3C022F86894920B60082DBF0ACECCAC230AA084B000E1A038A2A1D016120305F305B2 |
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/parso/pgen2/grammar.py |
FileSize | 4761 |
MD5 | E171053D4A1691610260C056C42FDC53 |
SHA-1 | 0DA98777300700ACAC84C6235733C4D25F6A287B |
SHA-256 | 25A411496E6A18FC89F8351B1B90964C3B2E37049AE85D48A35E9E4E0BF36F34 |
SSDEEP | 96:aSOU5c3V0wLGh0rsKDaM+sYA9vy6Rlu1wsBI5NK2qwyNA:fI0wLBrsjXkRawovwoA |
TLSH | T1B5A17542DB412F718B5385B3C96C91226707D4AFA299202D3CFD44942F1A879B2FAEA4 |
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/parso/python/parser.py |
FileSize | 10590 |
MD5 | 277C51B4B1E004DBDD9E437A59A71E23 |
SHA-1 | 1644180A171D16C8A6FEF22EC6F8FA13C9BCE1B1 |
SHA-256 | 99777CAFED6E4BCC580C336B995C85CFFD40CEEB1B3E79B9FFBB5C94F8A6CC54 |
SSDEEP | 192:2oUeRzqd076547ShsuZgefl/pxn2HGk0vdGxTZUJ88+sXWDyEGqA5/P:2leBqd46dBk0vAxAp+sXIyExAd |
TLSH | T1A7228313B802494C8F975C0FCCDEE760675BA587B45020B8747C91A92F51A2789FFBE6 |
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/parso/cache.py |
FileSize | 4791 |
MD5 | 1357860A2701381E0AB2754798C1E0A6 |
SHA-1 | 1D050561888B5F2CA9949BACA9B0126AAFC641FA |
SHA-256 | 784DA5CC65AFCDAC2A5D55DA4E6F6FC4D6C843A569DBC4699EF6E0A159058B2B |
SHA-512 | 23F0269E8BB7B889960AA01075B98D001298E1CB3641751A0875B97A94F9B0E5D12A8FF0AE5C0EDF7343380FB86A133E638509BE141A8CBDA49D1BFF781C8CE1 |
SSDEEP | 96:pj/IYwImfz2tJen7HCoI5DzieC+7TFXQbYqd/28VeTX+Fe9Xo+J/:pU0+j9IhzZXMNaT/ |
TLSH | T1A3A17352EA919123C383D34A1D46CEA05B48BDD7A749A038BEDC13626F01C7482F7FE6 |
insert-timestamp | 1659221315.069415 |
mimetype | text/x-python |
source | snap:frGDfj3qOH3kiCeCe7L0ImjFLxK6uBtw_4 |
tar:gname | bin |
tar:uname | root |
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/parso/python/errors.py |
FileSize | 39682 |
MD5 | 52666FEC1ACFB0B5A0128462634C3D61 |
SHA-1 | 29F267041944892AB7372004826B4DC992C5BCB1 |
SHA-256 | 3C4708128E7B3E5A83AA67BE253068D2B0081F997F525BEBDEF25C2AE193E1C0 |
SSDEEP | 768:Ybi5E4FnJcwTqd3Vr06j90qL2Lae1CluysP0My/6v09BP:YGOwO3Vr0IYHnfm |
TLSH | T1F803A52D79054D669A9B885E7CA6F4427B197C4351083075FAFCA0E8BF88524C2FBFE4 |
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/parso-0.1.1.egg-info/PKG-INFO |
FileSize | 4850 |
MD5 | 4EAFB86A3CFA088FAC79C228A87C47BF |
SHA-1 | 30C904B8AA6D6A7075C3E7E302118D779A8D12ED |
SHA-256 | 34FCA8DD2AFE4B6649C98EAE6BA2D2C3C98E3DD32B5EE73C0A2E77C58614222B |
SSDEEP | 96:D/WPZ3qIAVEMx0+fWHqvHgqe2zYAgLrnxpTXRYQI/jjaaDY413V2R:+qIV8HgqM/p/QlQ |
TLSH | T191A1830B50C47DA52B5B86FC2E8C45A4E33140ABEF9B782C39EE155D6F12B62087D23C |
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 | ./usr/lib/python3/dist-packages/parso/normalizer.py |
FileSize | 5169 |
MD5 | 142ECAD48560A17BB7B4F15A3D6B86CC |
SHA-1 | 3D8595D16100340180DFE10A166529647CD9CA76 |
SHA-256 | 94EDC2058E16D15FADFDBF09E006ED2A20DDFEE83EEA96C59D2513E6E39BCED6 |
SHA-512 | D15E25DFC027702ED582BC2175ADE1B14973948C059A0E427044634FDC99B791777008DF6B1F8279B5DD7D790A16E96724DAD1EEBB3C9FEA3985482E0C171803 |
SSDEEP | 96:s4mBFROE9RnrzyBhbkq4LwaKm7WbRko0J1jCrtxOxI7fwaxDyeN3fe:wAGQKwRm7fbjCrtbA |
TLSH | T1C2B11216AD55DC56C20BC83AB8E7B582A70C7D4BC1087579BCFC91B82F55A38C1D2ED8 |
insert-timestamp | 1703182251.1456985 |
mimetype | text/x-python |
source | snap:CV3VwQ6jiZ5jNhGLngacJ2rtyWxgixaD_6 |
tar:gname | bin |
tar:uname | root |