Key | Value |
---|---|
FileSize | 64472 |
MD5 | 6A03189D6946A0AB6CB5D1122953F290 |
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.8.1-1 |
SHA-1 | 1E0309265E1169CD745CAA0268AEE7676F90529C |
SHA-256 | D86919DA93D56EF37DC0279B11F2B9BC38F0DD5650AB0667E582EECF0BACADD8 |
hashlookup:children-total | 32 |
hashlookup:trust | 50 |
The searched file hash includes 32 children files known and seen by metalookup. A sample is included below:
Key | Value |
---|---|
FileName | snap-hashlookup-import/usr/lib/python3/dist-packages/parso/python/tree.py |
FileSize | 36663 |
MD5 | B7FC2CD1587F7826969EFC5DB36F5B3E |
RDS:package_id | 293684 |
SHA-1 | 0043EEC44DBC524F544595FE122D1C5EB880F92C |
SHA-256 | 43C0C034971087948F31BF0FE5A91972B4849AC5F1CF146FA292D367263CC5BF |
SHA-512 | 335B40B9DC38AFEE7935FA900AF83894B76A4D0176DF20A8AA5471C1D2AFBCE9F5574FBE5E31420917FF13B4246786490DD803293C805328A9B605C31F11C1B3 |
SSDEEP | 384:1IMDnV1DLMfbx3jTK2lPeilIG2IwLPNgodTrkNC7U9ybKBJjMwzZop:1j1PEx3DPFI6wR14Ne10Jhzw |
TLSH | T195F28517E856AEA1EA0F94BD589FD016772AAC17610C14B5BDFC10A8BF01429C1F7FE8 |
insert-timestamp | 1728198773.8757951 |
mimetype | text/plain |
source | snap:VCjprGsSZiPuV3CmQViE4TvPMKTOlaiL_119 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | snap-hashlookup-import/connectedhomeip/python_env/lib/python3.10/site-packages/parso/pgen2/generator.py |
FileSize | 14570 |
MD5 | B6B478C5BD2B6ACDCAC34F090B536098 |
RDS:package_id | 304063 |
SHA-1 | 006A548CED55F04CF80A0B319A4B54B84DF570D0 |
SHA-256 | E644B97818F3F6C0DD6AF50CC0DCB0E85B433E1BFE3D55E2BB20D4342F0A88B4 |
SHA-512 | 1036E0808C9F7F9175F1E145C220B03398B0986759CEFB412EA3B8A87D3726EAC8DC1105E063F3A391EE6BCAF77728A404631BE6300F2CBDE2A9ECB19F5869F0 |
SSDEEP | 192:fjallWnUUiAhF+XM7aLoqKWUApsqKBZRjZ+j2jBjgBu5IwwPD8:fjglWnt3X+XM7UUZWauK |
TLSH | T19F6299126E015B688E9315798CAF9121B77D58BB310422387CAC921C3F839F945BEFED |
insert-timestamp | 1728980177.4206786 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_5 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | snap-hashlookup-import/usr/lib/python3/dist-packages/parso/cache.py |
FileSize | 8445 |
MD5 | ABA20F99DED920FB3AADC8366306B793 |
RDS:package_id | 293684 |
SHA-1 | 03AD8476D7141FFCA78AD581736F6FB5B3FE58C4 |
SHA-256 | 37E08D663E1565F28E087014C0797809AA70408ECD056846252AD212976058D9 |
SHA-512 | 5C0026FE5BB64BCEF81F866A97274059B469416B6B1D89DCA2866EB29551476335F720406AB7541661DA66CE8D70A1CD754DCFC9ACA9BA4B6D054ADB67827121 |
SSDEEP | 96:pK6Yu1RbnG1tYwImfz2tbb+opPzieZhNqvayyq87TFXQb7qHBS2AJTEq89+YEQe8:plYUMD0/5pPzxVyy/XtiE+MeC/ |
TLSH | T17B028421EA90A153C383A3891E479EB0AB4878EB6754A0387DDC53513F04D7882F7FE9 |
insert-timestamp | 1728198773.808275 |
mimetype | text/x-python |
source | snap:VCjprGsSZiPuV3CmQViE4TvPMKTOlaiL_119 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | snap-hashlookup-import/usr/lib/python3/dist-packages/parso/python/tokenize.py |
FileSize | 25765 |
MD5 | 61F6D2F6DB9DBB8FB61379DD617853AA |
RDS:package_id | 293684 |
SHA-1 | 0B103AE395C9238EDC9923215092D23ED8903F10 |
SHA-256 | 5095CB13C3798CE76E346EA6A5CD7984F9AA0AE96B31A99B850DCE7D0676A496 |
SHA-512 | 8BF98CF5FFE7F54C58E3A091F997CD69CDFEF1DE05952A52AB25F9AB4013EC80216339C7B18E40146AC59A5B1046752821AFDF36E5103EE353E94D6D1BC8ACE6 |
SSDEEP | 768:tw2QvLE/PVgDtPdUvVxksLaf+6+GkGk6mt+1qgOadwVz6k:twnvLW2Vp4afywdwT |
TLSH | T1CCC28231A81412645AD7987C6CEF9110131EB82B6A6421BCFDED81D44F4236E82F3FFA |
insert-timestamp | 1728198773.871409 |
mimetype | text/x-python |
source | snap:VCjprGsSZiPuV3CmQViE4TvPMKTOlaiL_119 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | usr/lib/python3.12/site-packages/parso/_compatibility.py |
FileSize | 70 |
MD5 | 85E4B6E663AC9EA873BC8A1D4CAD25CB |
RDS:package_id | 304063 |
SHA-1 | 1C5B7E985B71DBA2D801A8B0207E3F9386CB0002 |
SHA-256 | CBE7C04C9D5DC9AA15AF2D7BE42303040D3CF08193C4286408A0F6754027B2B5 |
SHA-512 | 34E90446830099E28261339D2B10B146796FB97E446568B2AD713B771E80003C2469678DA26BF0647D57BE20CBC4843A9E462C08A266F38DB673C74103C49761 |
SSDEEP | 3:JSnEKk0/xdpREqYMF146v:IE10b/Em4E |
TLSH | T166A002E3F778CC611B7F510745E2479C273514542F42901D707019B40B37764554A770 |
insert-timestamp | 1728980177.3761368 |
mimetype | text/plain |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_5 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | ./usr/lib/python3.6/site-packages/parso/parser.py |
FileSize | 7205 |
MD5 | D047DAF447F2DA531C06D917BC498DBE |
RDS:package_id | 293684 |
SHA-1 | 1FAFA5359675E92881B88ED38648DC2FE69B2BBD |
SHA-256 | 3C0219DC1F1322CC5EB4460C55D31C826261AA4A9E86B7690575B44BCEB11529 |
SHA-512 | 36ACCA1BEE68D4939BC81A1A7D2BFC1845590E687C4E51018D254CB997189EA3A1E26A78AE5288173FBCD9C34AA838140720868BA5031259848E72652C4731CD |
SSDEEP | 192:fc/7nrJ7C/+6YeI33zWD29laOi286iu/6zA:fyx33zWDAdNpF |
TLSH | T132E1A613EE514A62D6479C2ACCE7E215276E58D3711814B23CBC82593F8093682F7FE8 |
insert-timestamp | 1728198773.8209562 |
mimetype | text/x-python |
source | snap:VCjprGsSZiPuV3CmQViE4TvPMKTOlaiL_119 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | snap-hashlookup-import/connectedhomeip/python_env/lib/python3.10/site-packages/parso/grammar.py |
FileSize | 10483 |
MD5 | 2D1AB409640015077483363ECFDC0983 |
RDS:package_id | 304063 |
SHA-1 | 2345F1DD9F34084D61565E408DE3904A525BB6D6 |
SHA-256 | 83DF2EB1724E8DBDAFBC40F2A21D4C5AD59B88E5F65CFD3088B99ACADFCCC6E8 |
SHA-512 | 145D1EF6C704A409393251839C490F0938F1FD476029A25B88BC2679FD3F7B7C74DB3158EE1D65E3C3219E4F92F75737687E45543DCC83C20B6688F66B6E580B |
SSDEEP | 192:o0LE+Vqek1sTVRHqMTiCdRFq7Yt04V7Yn3ss2y//:o+E0qL11Zi2YWn3ss2yX |
TLSH | T19D22A41ADD95DC23838B8A295DBEA991271989D727106026FCBC52A43F445BCC4F3FF4 |
insert-timestamp | 1728980177.414732 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_5 |
tar:gname | root |
tar:uname | root |
Key | Value |
---|---|
FileName | usr/lib/python3.12/site-packages/parso/python/token.py |
FileSize | 909 |
MD5 | 455755453691804E5B3E6DB29E4D4313 |
RDS:package_id | 304063 |
SHA-1 | 362574E5E661B9A699FA1906CDEB02BEC7853A01 |
SHA-256 | D1DCE641FE8BE7D6C425BF4C5D86EB0EDAB76C01CD753BA4F8F98E868C7CD46E |
SHA-512 | B78BC4A21017D4616262DCCA83E6D457AE305F846647553D8FC7A7EEDC49CBE9ECBC01AD5D67370F8132DC584AE01B1831F9AE62BF99F7744102AA32A9132CC9 |
SSDEEP | 24:1R2B6KaxArblZPkrLfNYNpKs8W6nFIb3u:PM6KaxMD8rhY3Ksy6+ |
TLSH | T1C711E5312165026862E3406DE0DED101169BE643661C0878797DC3D39F7AF2BAE77EA7 |
insert-timestamp | 1728980177.599624 |
mimetype | text/x-python |
source | snap:GBerlE9aNYdgGnboKfqZK2Fe3Go1PDd9_5 |
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/usr/lib/python3/dist-packages/parso/python/errors.py |
FileSize | 46107 |
MD5 | 1F377D7CF0AE09372A33CE990B4DDE25 |
RDS:package_id | 293684 |
SHA-1 | 41D3D2BFA7F7E212F28CEF503F94C468FCF801B8 |
SHA-256 | 554DC7DE7856F709F7F539D1920F3AB7008A271932619ACA4D9C99D44114F100 |
SHA-512 | F7B930FB98A00403BB2B3F76C6AD301B7573DCF6FA38B20B36431B17F490592F5886EA00572FAC3EC367F7EC934317D19005422A37BEE11026BD29EC1B78B1D5 |
SSDEEP | 768:jZOubidU4VrJ9AfTUah3Vf06R9Icy0L2LPuVCluSiwzRMRsC5cqfbdU:IueqfL3Vf0H0m1fFqDdU |
TLSH | T18723752979014966AE9B885E7CF6F5427B197C0352083478B6FCA1E87F8853482F7FE4 |
insert-timestamp | 1728198773.8821347 |
mimetype | text/x-python |
source | snap:VCjprGsSZiPuV3CmQViE4TvPMKTOlaiL_119 |
tar:gname | root |
tar:uname | root |