python2rust 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. python2rust/__init__.py +8 -0
  2. python2rust/__main__.py +5 -0
  3. python2rust/_core.py +44 -0
  4. python2rust/agent/__init__.py +0 -0
  5. python2rust/agent/agents.py +333 -0
  6. python2rust/agent/apply.py +516 -0
  7. python2rust/agent/finish.py +295 -0
  8. python2rust/agent/fixers.py +229 -0
  9. python2rust/agent/loop.py +441 -0
  10. python2rust/agent/patches.py +1165 -0
  11. python2rust/agent/port.py +579 -0
  12. python2rust/agent/prompts/judge_v2.md +96 -0
  13. python2rust/agent/review.py +34 -0
  14. python2rust/agent/rustlex.py +232 -0
  15. python2rust/cli/__init__.py +0 -0
  16. python2rust/cli/doctor.py +62 -0
  17. python2rust/cli/inputs.py +105 -0
  18. python2rust/cli/main.py +1162 -0
  19. python2rust/cli/ops.py +642 -0
  20. python2rust/cli/workflow.py +178 -0
  21. python2rust/core/__init__.py +38 -0
  22. python2rust/core/config.py +263 -0
  23. python2rust/core/constructs.py +124 -0
  24. python2rust/core/diagnostics.py +280 -0
  25. python2rust/core/emit/__init__.py +5 -0
  26. python2rust/core/emit/crates.py +51 -0
  27. python2rust/core/emit/render.py +561 -0
  28. python2rust/core/emit/schema.py +168 -0
  29. python2rust/core/emit/translate.py +304 -0
  30. python2rust/core/frontend/__init__.py +1 -0
  31. python2rust/core/frontend/module.py +896 -0
  32. python2rust/core/frontend/names.py +129 -0
  33. python2rust/core/frontend/project.py +277 -0
  34. python2rust/core/frontend/project_imports.py +173 -0
  35. python2rust/core/frontend/symbols.py +132 -0
  36. python2rust/core/frontend/walrus.py +59 -0
  37. python2rust/core/ir/__init__.py +1 -0
  38. python2rust/core/ir/nodes.py +675 -0
  39. python2rust/core/ir/rtypes.py +122 -0
  40. python2rust/core/ir/types.py +326 -0
  41. python2rust/core/lower/__init__.py +1 -0
  42. python2rust/core/lower/calls.py +1125 -0
  43. python2rust/core/lower/context.py +223 -0
  44. python2rust/core/lower/exceptions.py +317 -0
  45. python2rust/core/lower/exprs.py +845 -0
  46. python2rust/core/lower/fstrings.py +141 -0
  47. python2rust/core/lower/funcs.py +276 -0
  48. python2rust/core/lower/lowerer.py +366 -0
  49. python2rust/core/lower/modelcalls.py +195 -0
  50. python2rust/core/lower/models.py +645 -0
  51. python2rust/core/lower/stmts.py +722 -0
  52. python2rust/core/lower/testing.py +601 -0
  53. python2rust/core/lower/validation.py +253 -0
  54. python2rust/core/passes/__init__.py +1 -0
  55. python2rust/core/passes/aliasing.py +311 -0
  56. python2rust/core/passes/analysis.py +207 -0
  57. python2rust/core/passes/devirt.py +329 -0
  58. python2rust/core/passes/ownership.py +259 -0
  59. python2rust/core/passes/raises.py +275 -0
  60. python2rust/core/rt_lib.rs +2071 -0
  61. python2rust/data/README.md +81 -0
  62. python2rust/data/py2many_builtins.toml +4744 -0
  63. python2rust/errors.py +28 -0
  64. python2rust/py.typed +0 -0
  65. python2rust/report/__init__.py +0 -0
  66. python2rust/report/constructs.py +31 -0
  67. python2rust/report/contract.py +688 -0
  68. python2rust/report/corpus.py +323 -0
  69. python2rust/report/explain.py +168 -0
  70. python2rust/report/schemas.py +914 -0
  71. python2rust/server/__init__.py +0 -0
  72. python2rust/server/mcp_server.py +289 -0
  73. python2rust/server/mcp_workflow.py +100 -0
  74. python2rust/skill/SKILL.md +214 -0
  75. python2rust/verify/__init__.py +0 -0
  76. python2rust/verify/check.py +1135 -0
  77. python2rust/verify/equiv/__init__.py +1264 -0
  78. python2rust/verify/equiv/compare.py +455 -0
  79. python2rust/verify/equiv/harness.py +505 -0
  80. python2rust/verify/equiv/judge.py +358 -0
  81. python2rust/verify/equiv/procs.py +255 -0
  82. python2rust/verify/equiv/runner.py +248 -0
  83. python2rust/verify/equiv/types.py +543 -0
  84. python2rust/verify/keystore.py +76 -0
  85. python2rust/verify/ladder.py +396 -0
  86. python2rust/verify/sandbox.py +370 -0
  87. python2rust/verify/testrun.py +280 -0
  88. python2rust/workflow/__init__.py +0 -0
  89. python2rust/workflow/brief.py +312 -0
  90. python2rust/workflow/interview.py +366 -0
  91. python2rust/workflow/layout.py +103 -0
  92. python2rust/workflow/planner.py +409 -0
  93. python2rust/workflow/project.py +134 -0
  94. python2rust/workflow/schemas.py +265 -0
  95. python2rust/workflow/state.py +392 -0
  96. python2rust/workflow/staticscan.py +209 -0
  97. python2rust-0.1.0.dist-info/METADATA +395 -0
  98. python2rust-0.1.0.dist-info/RECORD +102 -0
  99. python2rust-0.1.0.dist-info/WHEEL +4 -0
  100. python2rust-0.1.0.dist-info/entry_points.txt +4 -0
  101. python2rust-0.1.0.dist-info/licenses/LICENSE +21 -0
  102. python2rust-0.1.0.dist-info/licenses/NOTICE +65 -0
@@ -0,0 +1,102 @@
1
+ python2rust/__init__.py,sha256=sW9Of3zMlA5brmQBG1XoE_a3HaWDTbc95Oej1WzzhQM,301
2
+ python2rust/__main__.py,sha256=0b_gUaWqrlZemtb9rUrcyLrQLmI8Bt0Au_opxzzDs3c,68
3
+ python2rust/_core.py,sha256=H3SBJLarBQ390mPvEwa_fOcDUI10DCIict4cAJuSP6k,1514
4
+ python2rust/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ python2rust/agent/agents.py,sha256=WBurgQMeLF6cmehSwLa5A62fH--hgBFWwkUYyeOss5Q,12199
6
+ python2rust/agent/apply.py,sha256=iyEyJTohbFyGV7ZSuyid1f_TtnB1QIDAz6yN6Yks6Z0,21824
7
+ python2rust/agent/finish.py,sha256=7hocAKTKSXfpkUaeDANhUm0X3Sa8qvmCU9Kusfz9j9s,12610
8
+ python2rust/agent/fixers.py,sha256=XowuVPvW6-nCBoG5r83mbybGjlMw4inuzc52SX1135c,9285
9
+ python2rust/agent/loop.py,sha256=IMz0-SKp-rmYhbgWoloR9FHYnNZiwiaycq5EuLa6_Nw,17325
10
+ python2rust/agent/patches.py,sha256=V3Z4CrLLh5FgVj9VnMNdGVZMUV2wi6HlAmpLdECKVBQ,49418
11
+ python2rust/agent/port.py,sha256=tJ6nk03CroZ-BG_-UkmtiUG_TdJpts1XXtOou13oXWU,23924
12
+ python2rust/agent/prompts/judge_v2.md,sha256=VHpsRXw7NKrg6RffWirtW1tjfU_xNKOMf5QVJqSG_sw,3556
13
+ python2rust/agent/review.py,sha256=DT5_QCXhXBPGzKnXiR_C3_4IV8yhefSnRrzZ1YH8goQ,1472
14
+ python2rust/agent/rustlex.py,sha256=yrFpMk79KkG54G5WLJeHEsgS3UGjeyponqlcYHeWEpY,9385
15
+ python2rust/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ python2rust/cli/doctor.py,sha256=MoT27dkpZfF2rsSxCNnR-JyBFoVRoLg56rxaewLaTP8,2242
17
+ python2rust/cli/inputs.py,sha256=Vl6lm81oWvgXGHUA3oSTxGeIZtMtYHVPjCln3FvCv4E,3616
18
+ python2rust/cli/main.py,sha256=G0YKopUWfgiS-BWFRjp7En8eXngQqN7zaDoogVh58ug,45447
19
+ python2rust/cli/ops.py,sha256=Lr5N1yTkeuZBEyt7m7xJkCrEV_MgS56rDXcoJ9CWUhg,25972
20
+ python2rust/cli/workflow.py,sha256=qo95qw8XmYS3cku1uMJqZ2qQ3nJmvMW8sfeSn0xbrN8,7005
21
+ python2rust/core/__init__.py,sha256=-R9vV2VDBysVCl-oh5JNohCZYi92yABTHAJt1HC5sgw,982
22
+ python2rust/core/config.py,sha256=kzydAEMdRTVcvlsJ4FQivhRJ0VOGoz0Q5BZ2yeJt0cs,10974
23
+ python2rust/core/constructs.py,sha256=wgbZQ0CUHarOAsS3CfuAhvCf-Fp1Cbj1Z1Et0Bum0Hk,6913
24
+ python2rust/core/diagnostics.py,sha256=qP5uD9PVh9BGt5QxF1qmnu_ovbWXzJP5cSiAbOMM3rQ,13939
25
+ python2rust/core/emit/__init__.py,sha256=-FhPfNXSs_lEnaz3zk9uSKAr9i9PnXZYJSwQRl2qJ64,222
26
+ python2rust/core/emit/crates.py,sha256=CNK0ih4BLLo8HK9F91pXGcRsJwSIOd1JUf3Bo0g2X5Q,2198
27
+ python2rust/core/emit/render.py,sha256=GqJxobSyst6gs2YlqC8cJueX_zypaakLWIrKKhc_vcI,21073
28
+ python2rust/core/emit/schema.py,sha256=GqnRhcVpP9o4Nr1Tg7L-Eslsmo4sIOmnd53IQzEDE24,6860
29
+ python2rust/core/emit/translate.py,sha256=RQK9To9ycLYEI0PJ_qZUhjHz25SrfBhoH5BKY00xRSM,11243
30
+ python2rust/core/frontend/__init__.py,sha256=L4svHwirUol44fn6N_lOBOuMMcBDmZWA-q8wP5Eh-aQ,85
31
+ python2rust/core/frontend/module.py,sha256=iPYbSZhgmEZYOC-GegjOQPN3ouIOUTzuEov3jlTH-Kc,37988
32
+ python2rust/core/frontend/names.py,sha256=hQ3iH081gZXkqebYFRzefbQPDvt4WU1et4HTW8UyKIc,3466
33
+ python2rust/core/frontend/project.py,sha256=BX8OqYYZzjv9xE2a2koKNjf1Od9XP3G_CtBvr6xceBk,11717
34
+ python2rust/core/frontend/project_imports.py,sha256=GCNbdR4HMv_lbJBa-xw5ivgYLfSLyWjozW3M0RSvuKA,6461
35
+ python2rust/core/frontend/symbols.py,sha256=G4O14ySEfru4PHuyYyhz_beZR56we_xv6gYFJKlGkhU,5328
36
+ python2rust/core/frontend/walrus.py,sha256=2bB57jSRdbcu4rkL5BBOks9lRIjVguwLxryoFngWaIs,2091
37
+ python2rust/core/ir/__init__.py,sha256=1aLVRrz5_JeAHv553C0cWp3-0y-yJ5lmq_1eGfDqFfE,90
38
+ python2rust/core/ir/nodes.py,sha256=qr3LafWpUwCYkvIWNNBt9r6VoQfN45Y_nzh8JJgzQHI,15150
39
+ python2rust/core/ir/rtypes.py,sha256=ARBRH5Yt_ox6wJLPw8-POa0WM3CDn-MIBK_l4_qu2Js,3571
40
+ python2rust/core/ir/types.py,sha256=XTMpuhON0VOndBY7DTUE4-GYYOYlVncNsbJlBxeBf0s,12932
41
+ python2rust/core/lower/__init__.py,sha256=FOK4wP21N5wagC5j5Hhk12jmPEcuJLSpWC1yS-uwb-8,47
42
+ python2rust/core/lower/calls.py,sha256=6_maCmB7EI_Y6o9yGUBes6zE6xtF5vZ4HLWeNCFj5tE,51891
43
+ python2rust/core/lower/context.py,sha256=jMAhaZN4LhpZQlQcHyUQkBWtUGWQT0pwmbhZ2PCDgq4,10272
44
+ python2rust/core/lower/exceptions.py,sha256=hjShf7UeJ1wnGb1JpPNN8p6kNLOaBoopfbqJPDzlgRY,13834
45
+ python2rust/core/lower/exprs.py,sha256=COISbz72WCxIzfZ4ZSypK5IzHNnPFp5CUpBl2JCDRKo,39682
46
+ python2rust/core/lower/fstrings.py,sha256=FmTdFvVVDqL16enx1Qg7lNYpZmpZkmKBAj0o_-D0xx4,6060
47
+ python2rust/core/lower/funcs.py,sha256=pcoJBL6GwKm37vIvhhbJJokwq6i9j5wjqmqgQ9zIwPM,10852
48
+ python2rust/core/lower/lowerer.py,sha256=ToF_ZLY-KGsXK3xMoUrP5_3hva0WWTPr282YZEyCd2M,15391
49
+ python2rust/core/lower/modelcalls.py,sha256=SPXyLc2sWc9nJd9_UGor7Z5zAFnzahlpjeK9S6q4KGU,8553
50
+ python2rust/core/lower/models.py,sha256=-mO76bOSNGB2SzJ0m9e11eNgh3hntM98y64YmLD6dmc,24376
51
+ python2rust/core/lower/stmts.py,sha256=H_7CjH8sA7P8lj5vEwjbblWCQ0yWgQAHj9bK73CVHGA,33168
52
+ python2rust/core/lower/testing.py,sha256=jSiXoox1Hm_C0Ulb1oLX7vpl-vVhacg2JYweM5J9JJw,23943
53
+ python2rust/core/lower/validation.py,sha256=Nw1qr-ymhthJJRkGK0r7qDylFxAaFIPm6tfndtOZqEY,10674
54
+ python2rust/core/passes/__init__.py,sha256=XgKarOvS5p6EMA1z3b0to4qO-HN57E4xk0crGDcumeE,82
55
+ python2rust/core/passes/aliasing.py,sha256=GVZpqR9e0nGEAT9XD3WqqGkvQKKvyr-H2gpOzVLhWb8,13291
56
+ python2rust/core/passes/analysis.py,sha256=KR9_474wyUDq82TK38nZvpL7IB2tbqgRGc82e9gCGRc,8368
57
+ python2rust/core/passes/devirt.py,sha256=2izoMRGZXhTkEeh8Xctk4XIpVTlY_brbKFyqgH7sWEI,12406
58
+ python2rust/core/passes/ownership.py,sha256=Ts2_SYeZ47IiZuoXmwBGT-2inTt8sXfRht4-mnP5_-4,9360
59
+ python2rust/core/passes/raises.py,sha256=SOKrqGzEiYxAqQn_bMip9GUrYyHXOOaMiC2F1KqYqxc,12120
60
+ python2rust/core/rt_lib.rs,sha256=ky70ApxK1wfhm6qzgkbi2yH1FtmbDmIR7QK7wn9fpJQ,76639
61
+ python2rust/data/README.md,sha256=pQei980CcXvjE4pYf1Fx8m9Kv2U3N-fO1N-uJEEP_gs,5004
62
+ python2rust/data/py2many_builtins.toml,sha256=oAJxjakvvuTIpZ5faV6HcpDWqf5blR4riotm2fGtGp0,130519
63
+ python2rust/errors.py,sha256=ncpeikJRjBn03lHFvFuiqMc6E49vvD_dG80gu5KfNvU,1084
64
+ python2rust/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
65
+ python2rust/report/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
+ python2rust/report/constructs.py,sha256=9prWpQfsgbOaeB9K7G54aBDNcjGje90sT_jTwPldOT4,1144
67
+ python2rust/report/contract.py,sha256=gtwddzhipzVt7r27CmMvuqEFbqSOkV_-wMBxpxGNGow,27844
68
+ python2rust/report/corpus.py,sha256=Am427YB5k2RjZEo1wOTCIIhMCoaOwURhiFVWIbqg834,12901
69
+ python2rust/report/explain.py,sha256=9o7zWalDq_0LPt3BsKEloNFE0S2bGMLaDQCKA9xtBYA,8458
70
+ python2rust/report/schemas.py,sha256=T3sW-63naoyVCOhvSCCmDtUf3EvP41rlfXIl2KkLKiw,34007
71
+ python2rust/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
72
+ python2rust/server/mcp_server.py,sha256=WyDrqVaBLxg2-WYIoNbM0sGCGpofJDUBeXBdwHHhszM,13284
73
+ python2rust/server/mcp_workflow.py,sha256=K8eUWotKh_-BWB75EE-7-1RXaE1V5ar8qrG36HSs64E,5074
74
+ python2rust/skill/SKILL.md,sha256=VCmhOYGzWNMSeIZf16DGadXJueoBaEH_HInyECuR80E,14517
75
+ python2rust/verify/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
+ python2rust/verify/check.py,sha256=qr27MoExlrb-Vx0k9KIuEVg-_vpfyOnP0pEcl3GWmL4,46277
77
+ python2rust/verify/equiv/__init__.py,sha256=eBAQeJ4s-hAGUQJM-VS272k83K_UoVn0OIeNF8c3kC8,46676
78
+ python2rust/verify/equiv/compare.py,sha256=rOc_Diy5aRloZEulfBT-BbspCK1_wY-Ko7kFcOj995c,18657
79
+ python2rust/verify/equiv/harness.py,sha256=yoIaebYMDVuUVA0hbtAQf01DErdclAw_-GJ7LHQ03Vo,19872
80
+ python2rust/verify/equiv/judge.py,sha256=VtSDU9eYFtQ-_vXovctLRjWAfmvVHEf_BlhjyYBxhGM,14098
81
+ python2rust/verify/equiv/procs.py,sha256=IYfZvb8OyvpYynIrsNiCyfwb8M0vYlnVunmruHQ74Bc,9747
82
+ python2rust/verify/equiv/runner.py,sha256=WWj04dErvPtxAr_Np_rR_VJO9p9RNXL8RVRwZt1-JGM,8674
83
+ python2rust/verify/equiv/types.py,sha256=IxUjScpVksRPST-McQjjtvk0dFzf0CcKLjJJCc32KOQ,20413
84
+ python2rust/verify/keystore.py,sha256=OI1EOCc3CFjBPPCVlOm5CpZku0y5QQiSUN41M_aSqh8,2752
85
+ python2rust/verify/ladder.py,sha256=-L8OIrLmv56igzJ5z1WcOevrjJ_aqn-t-AtWd2h_qOY,15393
86
+ python2rust/verify/sandbox.py,sha256=SuzBIX3689rJ767bXczSXIPnU4rQ7-r7SJnSFkwgwsI,15870
87
+ python2rust/verify/testrun.py,sha256=HUcK3fJzTHct9JO4B0RbiMjh7-zDieyZpkuUygGNeJs,11120
88
+ python2rust/workflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
+ python2rust/workflow/brief.py,sha256=TTdX9OwAEU7EtsDYe_I7BS7KJQHLM95ouO8_FMUfLJo,14084
90
+ python2rust/workflow/interview.py,sha256=Wxf5CUNsDgSp9Y3dLht9adH1n7boAM97juKwJJxZ4jo,19060
91
+ python2rust/workflow/layout.py,sha256=KfEUs2zIYQYn62UonhZ8AkFBQfsv_P49lCb-Pw88zAI,4121
92
+ python2rust/workflow/planner.py,sha256=HV6E0JyNxR6zNiP_H7YeSI7QFARdztVhbwgOTlF-prw,15965
93
+ python2rust/workflow/project.py,sha256=sXBXwUKdcb8sC3XlEu0E3AS4iDKPghdUVHctbaxGL2M,5838
94
+ python2rust/workflow/schemas.py,sha256=6vUI6rJS8XpJQpq003XRfPCnVG2qAfJpodrnWIM4PeY,9297
95
+ python2rust/workflow/state.py,sha256=8cUrgIyUje2ILSVgdUV7NegeWmAn-pDGLMbpvM4IhDY,16255
96
+ python2rust/workflow/staticscan.py,sha256=CIHuDcWWjmLx2Ej6eVoHunglaihgxOTSpO34yI30Eqg,7742
97
+ python2rust-0.1.0.dist-info/licenses/LICENSE,sha256=u9FjDtLtoaF44hAh30LqLwwkzzUs0Sdjjicew-n7Rxw,1067
98
+ python2rust-0.1.0.dist-info/licenses/NOTICE,sha256=ujjHe8o50S8hqH29qZb_ZcGmB0YKW7ktp0sBtMuv8XQ,2882
99
+ python2rust-0.1.0.dist-info/WHEEL,sha256=wfHFB5CQ4yOA68LQ_ISeFjKJGxj2GfVzMH9QxkYgrCw,81
100
+ python2rust-0.1.0.dist-info/entry_points.txt,sha256=cW3FWnKsFpI1-lI4iHgb5Vh3z04zFWfZaK2xT13xMF0,95
101
+ python2rust-0.1.0.dist-info/METADATA,sha256=2lwmCZKEUvPr6zKDdUMsG9tWFx_T2D19N827GEVvNWc,25226
102
+ python2rust-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.13.13
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ py2rust = python2rust.cli.main:main
3
+ python2rust = python2rust.cli.main:main
4
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 BMS Suisse
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,65 @@
1
+ python2rust
2
+ Copyright (c) 2026 BMS Suisse (see LICENSE)
3
+
4
+ This product includes material derived from py2many, which is licensed under the
5
+ MIT License. The material is listed below. The full license text of py2many is
6
+ reproduced after the list, as the MIT License requires.
7
+
8
+ py2many https://github.com/py2many/py2many (version 0.9)
9
+ Copyright (c) 2015 Lukas Martinelli
10
+ Copyright (c) 2019 Julian Konchunas
11
+ Copyright (c) 2020 Arun Sharma
12
+
13
+ py2many is itself based on pyrs by Julian Konchunas and on Py14 by Lukas
14
+ Martinelli (with the python-3 branch by Valentin Lorentz), according to the
15
+ "Project History" section of its README.
16
+
17
+ Derived material in this repository
18
+ -----------------------------------
19
+
20
+ 1. src/python2rust/data/py2many_builtins.toml
21
+ A data file whose entries record, restate or correct the Rust mappings found in
22
+ py2many's Rust backend (pyrs/plugins.py, pyrs/transpiler.py, pyrs/inference.py,
23
+ pyrs/clike.py and py2many/clike.py). Entries marked origin = "py2many" are
24
+ derived from a py2many table; entries marked origin = "original" are not.
25
+ Generated by tools/mine_py2many.py.
26
+
27
+ 2. tests/data/py2many_cases/*.py
28
+ Verbatim copies of py2many's tests/cases/*.py, used as input programs.
29
+
30
+ 3. tests/data/py2many_cases/*.py2many.rs
31
+ Verbatim copies of py2many's tests/expected/*.rs. They are reference material
32
+ showing what py2many produced. They are not endorsed as correct translations.
33
+
34
+ 4. tools/mine_py2many.py and docs/FROM_PY2MANY.md
35
+ Written for this project. They describe py2many's behaviour and reimplement no
36
+ py2many code; ideas are credited in the text.
37
+
38
+
39
+ py2many license text (from py2many 0.9, LICENSE, verbatim)
40
+ -----------------------------------------------------------
41
+
42
+ The MIT License (MIT)
43
+
44
+ Copyright (c) 2015 Lukas Martinelli
45
+ Copyright (c) 2019 Julian Konchunas
46
+ Copyright (c) 2020 Arun Sharma
47
+
48
+ Permission is hereby granted, free of charge, to any person obtaining a copy
49
+ of this software and associated documentation files (the "Software"), to deal
50
+ in the Software without restriction, including without limitation the rights
51
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
52
+ copies of the Software, and to permit persons to whom the Software is
53
+ furnished to do so, subject to the following conditions:
54
+
55
+ The above copyright notice and this permission notice shall be included in all
56
+ copies or substantial portions of the Software.
57
+
58
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
59
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
60
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
61
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
62
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
63
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
64
+ SOFTWARE.
65
+