Key | Value |
---|---|
FileSize | 60582 |
MD5 | 42D6548473400E36406237A5136FCBB6 |
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 | Piotr Ożarowski <piotr@debian.org> |
PackageName | python-parso |
PackageSection | python |
PackageVersion | 0.2.1-1~bpo9+1 |
SHA-1 | 3657FFE4A1B7113941CA6CBBCA18C10ACAB093EB |
SHA-256 | 27C35F0228AA856836BE1E8AC04909941A2257FB4F5FB1276B6E136BE7C0F8B6 |
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 | ./usr/share/doc/python3-parso/changelog.Debian.gz |
FileSize | 304 |
MD5 | 01BE22DFD548D697401BD686336EC818 |
SHA-1 | 093FEB348A8BBC4EC0E88125F97E19EADE0361E5 |
SHA-256 | D20B71C69EE3C5AA4D3FED1E87488D97A7F38968FB6B229DE953F6B6ED8C69BE |
SSDEEP | 6:XtcGyqwpPrlzAlvsM5NkLcv8+s346CU9iorak46DFYd/apik4pOGi/:XzybhlWsMoLF+O46CU9LJYd/ap+pw |
TLSH | T1ABE07D812AB56036F598633278A686A0D0143C81C021863C0BA1DDA294D44400195903 |
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/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 | 10640 |
MD5 | 2D13472B3AD3750F9E199A2FC2739434 |
SHA-1 | 0EC1F96BA590F1798E9E7E549035913A380DD49D |
SHA-256 | 739496A44D20F73F71CF4AA0E0D10122286AF6982AFC6CA1557168550D8ABA8A |
SSDEEP | 192:2uUeR5xqd076547ShtBl/pxn2HGk0vdGxTZUJ88+sXWDyEGqA5/P:23exqd46vBk0vAxAp+sXIyExAd |
TLSH | T1AF228413F8114A4C8F975C0F8CDEB660275BA19BB45020B874BC91692F5592B8AFFFE1 |
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 | snap-hashlookup-import/lib/python3.7/site-packages/parso/python/grammar33.txt |
FileSize | 6096 |
MD5 | 2A96B33A363C56048424AC30621161B4 |
SHA-1 | 2A64C6A32A81CD057487DA62A6E245B6255480F3 |
SHA-256 | B43BB06478D78EF9F0D5ABD8E7A993DF043A839FD83669CF066340FCC5F686B3 |
SHA-512 | 6132942CE040188A450EA93904889845EDC7B4BF12099E718D06614F3EDF7384E3C9CC70B1D390138C7A2310E4E72ACF74CA051C5B0BC27E6861EAA9F76CBC74 |
SSDEEP | 96:dacRW34czAfYiHhXHZ5R3oyiD5rnFs69BFm9X6Mc4b79c83OiEhZg3ZCCea20TO:dacbcQ9HhXHZ5R3oyLUMB7XUxx |
TLSH | T19DC1A44CB5D70B4517C240EB654DF2F7158AC1CEA0060132FBDE52FDDF8B5A86262B66 |
insert-timestamp | 1703182251.273432 |
mimetype | text/plain |
source | snap:CV3VwQ6jiZ5jNhGLngacJ2rtyWxgixaD_6 |
tar:gname | bin |
tar:uname | root |
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/parso/python/diff.py |
FileSize | 22529 |
MD5 | 7B3F606CC9EE3351593BAF77E2D30EB7 |
SHA-1 | 2B45328CC2A59B3C839A0A44D213A4FA5069AEF5 |
SHA-256 | 66B1E60C3C89272A1D1B209E4E6FD97C2EDACD43FE62D9D69EE8D2D4120B22AB |
SSDEEP | 384:6zPZnXLjiF9qZJc+VB/tAndeDfkgjKl7Fkqo:61D/SndeDfWFkqo |
TLSH | T165A26367A4808EA696C39DAF6D9AB54673BE286B50841574FCFC80447F0072482FBFF5 |
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 |
Key | Value |
---|---|
FileName | ./usr/lib/python3/dist-packages/parso/python/tree.py |
FileSize | 35419 |
MD5 | 0D7F8B5E978A634DF24693701246FFAC |
SHA-1 | 47B3BFD2BB8D83F62AAF61094A1A6F3664B1C89C |
SHA-256 | B016E936423887D2D0947F24FDB2157E32B5C4D6C9902E12CD32CB9F91EB51EF |
SSDEEP | 384:4IMHnx1B4RwnKJ3D8x8P9yeclCG2IatqNgbdnkXpZUD7BJjMO8i:4f16mQo69yXC6alCXPaJf8i |
TLSH | T18FF25457F942AEA1EA0F94BD589FE012B72A9C17610C14B57DFC10A8AF01429C1F7FE8 |