Key | Value |
---|---|
FileSize | 58576 |
MD5 | 8920EC97AEF8D579C8C446D658501020 |
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.3.1-1 |
SHA-1 | D277FAAD65EF54FA4EDE82050CA5BE7861C1E542 |
SHA-256 | 7F58DEF2C9BAF6A803A8977012CC2664972D82198F40E727F15B55E7F97F3795 |
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 | snap-hashlookup-import/lib/python3.5/site-packages/parso/python/parser.py |
FileSize | 8454 |
MD5 | CC43D1DE4C72BA0CF5F786407B3B5B0D |
SHA-1 | 1323CD7BA009D5784EB42E1030C6F197415B6AC3 |
SHA-256 | A5C9078D57AE12F0C0DD3423C548B6A7A322B46323710A5A95067EA49C0BFAEB |
SHA-512 | F2403977052547F95DD1C0838FBEF20423B5B181B434A818840AE68CE9E8D37B6A9C7A589AF9B704D84F19ADC56CD20F28AB3833157ED5A4CD4CC81F2AFAE0BB |
SSDEEP | 192:20CzkvUeRZdlfb3iw1PbtShtBcqtvNx6Sm+sgHBSZwVrfe:2tep9wvX6X+sghS2Vje |
TLSH | T18F028517F9424A508A874C1E8CDEF322234AA46BA418217878BC81683FD657E45BBFF5 |
insert-timestamp | 1659221315.2412045 |
mimetype | text/x-python |
source | snap:frGDfj3qOH3kiCeCe7L0ImjFLxK6uBtw_4 |
tar:gname | bin |
tar:uname | root |
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/share/doc/python3-parso/changelog.Debian.gz |
FileSize | 229 |
MD5 | 3D41655A6BA6CB17B1BF21BA98168D0B |
SHA-1 | 1F1184FF47FD679A68619B26A9E7B5DC394A9931 |
SHA-256 | 6CC234A7955475F40433B7F00CFB962E83AD92D298729975C8F5AF3674FA7B05 |
SSDEEP | 6:Xt1LFunMyqkP9uFrmRWqHUwy50VbksGLLF1WPyxjgTgJ:XDLFuM5fFo9By5zjLOP7gJ |
TLSH | T147D097D618F1F80AD801AA3708030A00CB0F60220DA042084806A730E0085EB03895B8 |
Key | Value |
---|---|
FileName | ./usr/share/doc/python3-parso/changelog.gz |
FileSize | 385 |
MD5 | 58FA3FE635C9051213DE467BEC4E27A2 |
SHA-1 | 1F7DF4B3EB1DC58157A63D2763F652C7081E8209 |
SHA-256 | 9A0F8A26B38863C948C4624D725C07E900B1CB0B442C53C3366AE075D056881A |
SSDEEP | 12:XYYA4pYvFleEc70Sbmb4106/OmZiRUgf/8:XnovTvc70SboCyUgH8 |
TLSH | T14AE0F1806428B094DE4DB618007712C22231212AE978C69C5E2AF25204F5A0900697E3 |
Key | Value |
---|---|
FileName | snap-hashlookup-import/lib/python3.5/site-packages/parso/grammar.py |
FileSize | 9923 |
MD5 | 98EA19E4CBBEF6F59691A3BE9277973B |
SHA-1 | 27376D0BF285DD7B0E9ED7B2F3E42C6581DE9258 |
SHA-256 | C97F667CF971E8B9882E4B07C871EEBED3AA63DF4BFFCE9EDA0FB6B8C9498CA3 |
SHA-512 | EF44F275856BDD9CCC196CE97E7C621372116B97D91CA363BCE189CCC1AA9DF7DDB7A99FECAFD38E3FC0A915002AC7D30ED0B48DD010763BA55B29416D4E8DA2 |
SSDEEP | 96:y098TmVxTf8ekpsMEoWkGX8UCGt3sE0VlRu8uBrBIEZnx+LyTd9rOu3s9eQLAnJF:y09eekpsTbX8iIlvWqK01VknJf2SG7k |
TLSH | T18322B50ADD45DC23478786299DBEAA912719499726046026FCBC92A43F445B9C0F3FF0 |
insert-timestamp | 1659221315.1048634 |
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 | snap-hashlookup-import/lib/python3.6/site-packages/parso/pgen2/generator.py |
FileSize | 13264 |
MD5 | 93C86220BD5A1D44B21E90AEC63D826B |
SHA-1 | 304677EA1CAAC19C1957421F90C69896DD50B12E |
SHA-256 | 39937B87DB528687A77E2D54778DB1B67B53D39079F8542A2AF147E7E39079DA |
SHA-512 | DF097EF549A6E7A3D3DC8FFC4096BCF1D6D7B0A182B33D2E8ABE455807812356D497D8EE477380951EEB86029F0CC338D75AD2F79DFD44F36F6FC5013C049CCB |
SSDEEP | 192:fjallWNNBUieQp+XM7aMDGKWUApsmKhlRjo+ijDBu5Iww9yD8:fjglWNNyL2+XM7J1l/i7zh |
TLSH | T13A5296126E025B798E531539CC6F9121B76D68BB310422783CBC96187FC39F585AEBEC |
insert-timestamp | 1727098207.9954371 |
mimetype | text/x-python |
source | snap:0oZietUv4HBZqnYAVhtPwewC9Y3oHM4s_19 |
tar:gname | bin |
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.5/site-packages/parso/python/errors.py |
FileSize | 36890 |
MD5 | 90BB3E5D5B5B741737008F4848B85AC7 |
SHA-1 | 3A53D8CAADBCFB7F01E83F5FA8EA637779BF98A3 |
SHA-256 | C25184753146AFD7410C3325836A6589F2ACA8569C9AAEDCE8A4889F049BC49D |
SHA-512 | 3C21AD70A7D5B25697DDBC4DD120F4913B6A65F71FCEA21581B617C91FC56812179615D4B97AFC40A387D8D7DEE48E2FD682EB60515D2979C82C10C1DC231F47 |
SSDEEP | 768:Ybi5E4FnJcwTqd3Vr06j9UqL2Lae1Clu1sP0MYx29BP:YGOwO3Vr0gYSnE0 |
TLSH | T126F2942D79054D66AE9B885E7CAAF4427B197C0351083475B6FCA0D8BF88524C2FBFE4 |
insert-timestamp | 1659221315.186725 |
mimetype | text/x-python |
source | snap:frGDfj3qOH3kiCeCe7L0ImjFLxK6uBtw_4 |
tar:gname | bin |
tar:uname | root |
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 |