pr-agent

View on PyPIReverse Dependencies (0)

0.2.1 pr_agent-0.2.1-py3-none-any.whl

Wheel Details

Project: pr-agent
Version: 0.2.1
Filename: pr_agent-0.2.1-py3-none-any.whl
Download: [link]
Size: 172229
MD5: 32c3292f3d751995062432f1d73704c2
SHA256: 256ee5d4812e2fc25fcc95d25e0c17debd6c0c74270ed81a04d7f1fdba03f2ba
Uploaded: 2024-03-23 14:25:25 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: pr-agent
Version: 0.2.1
Summary: CodiumAI PR-Agent aims to help efficiently review and handle pull requests, by providing AI feedbacks and suggestions.
Author-Email: CodiumAI <tal.r[at]codium.ai>
Maintainer-Email: Tal Ridnik <tal.r[at]codium.ai>, Ori Kotek <ori.k[at]codium.ai>, Hussam Lawen <hussam.l[at]codium.ai>
Project-Url: Homepage, https://github.com/Codium-ai/pr-agent
Project-Url: Documentation, https://pr-agent-docs.codium.ai/
License: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [2023] [Codium ltd] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Keywords: AI,Agents,Pull Request,Automation,Code Review
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: aiohttp (==3.9.1)
Requires-Dist: atlassian-python-api (==3.41.4)
Requires-Dist: azure-devops (==7.1.0b3)
Requires-Dist: azure-identity (==1.15.0)
Requires-Dist: boto3 (==1.33.6)
Requires-Dist: dynaconf (==3.2.4)
Requires-Dist: fastapi (==0.99.0)
Requires-Dist: GitPython (==3.1.32)
Requires-Dist: google-cloud-aiplatform (==1.35.0)
Requires-Dist: google-cloud-storage (==2.10.0)
Requires-Dist: Jinja2 (==3.1.2)
Requires-Dist: litellm (==1.31.10)
Requires-Dist: loguru (==0.7.2)
Requires-Dist: msrest (==0.7.1)
Requires-Dist: openai (==1.13.3)
Requires-Dist: pytest (==7.4.0)
Requires-Dist: PyGithub (==1.59.*)
Requires-Dist: PyYAML (==6.0.1)
Requires-Dist: python-gitlab (==3.15.0)
Requires-Dist: retry (==0.9.2)
Requires-Dist: starlette-context (==0.3.6)
Requires-Dist: tiktoken (==0.5.2)
Requires-Dist: ujson (==5.8.0)
Requires-Dist: uvicorn (==0.22.0)
Requires-Dist: tenacity (==8.2.3)
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 18560 characters]

WHEEL

Wheel-Version: 1.0
Generator: bdist_wheel (0.43.0)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
pr_agent/__init__.py sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs 1
pr_agent/cli.py sha256=xfcBQVl91VKnyLoA14_URB5nn36BrskkpXR5Pygtk-0 2894
pr_agent/cli_pip.py sha256=kF1BjS039_7oz5x0KVZxywxdjZ1Ktei7dUhLXT5bNzM 790
pr_agent/config_loader.py sha256=-DlVQk63VkTjpcFy9sxRqqcVAzHLbeuCFf0LtlSJuE0 2131
pr_agent/agent/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
pr_agent/agent/pr_agent.py sha256=lYv7iNJDAcVRQtmmUKgIJIbghTcXOiB8fjPvBteLrR0 3798
pr_agent/algo/__init__.py sha256=B5SyRsSbM7lJralCU7717A9MUCw61NcLzHBckII701w 1257
pr_agent/algo/file_filter.py sha256=ILsWYMfRTfvqTcwLSbOX-1TUaNEAFsVSYHlyjYYb9f0 1145
pr_agent/algo/git_patch_processing.py sha256=5-A-pdCBjkOdAkIc_xbXMNyjBccEfljEMi7ahOD8Q7o 11353
pr_agent/algo/language_handler.py sha256=a4qv5hlTzEZ5TLtXvc-Y0ifykCt0lnrOVP7wJBfWQ_o 2910
pr_agent/algo/pr_processing.py sha256=ihy5UVyZ6LpXcmazDs-9K5n40_WcyCJqUd5lahWA0mo 17647
pr_agent/algo/token_handler.py sha256=2wdafnZ8U5B-tzEnOAtm0tLEiln4E6LBAh2hSPKhlr8 2566
pr_agent/algo/types.py sha256=oy6w6lkPkVm_9cOq9X6Ac5HJhnwfZvjueozd-dsjT7c 419
pr_agent/algo/utils.py sha256=6XQk6ulCL_N0Dt4px-vt5M9hKwo5qJJpJqIG7OU2SY8 27515
pr_agent/algo/ai_handlers/base_ai_handler.py sha256=iYKcF7Ysh9VPuHUSyc4YWdvUs71t1uKIJ5ngKACAWRI 888
pr_agent/algo/ai_handlers/langchain_ai_handler.py sha256=GX3-Q8tyxiIBH1a7ZNFhPAVjTPPU-SOtNGLHPcktruc 2849
pr_agent/algo/ai_handlers/litellm_ai_handler.py sha256=hXdaLiflemYQEpcAJ0oRZCjaA6ExxuoMntns_eP7XF8 6980
pr_agent/algo/ai_handlers/openai_ai_handler.py sha256=nPW7zgB6n2UeG2XfJmiXzf-AwATBpuRNu_Ols7cRDlo 2959
pr_agent/git_providers/__init__.py sha256=SZfNZGIzpW5uLtZ29pOhido7IEMBdzyyvwJKkZcA1ew 1293
pr_agent/git_providers/azuredevops_provider.py sha256=nrdYPNnFPY73aNMOas8PDkFe87RiHGUgXpUGdTkmVoU 22866
pr_agent/git_providers/bitbucket_provider.py sha256=dFDYHu4Imbf42LYQpR6eGrIFQLEKrFZdsPefSDaTy3E 16472
pr_agent/git_providers/bitbucket_server_provider.py sha256=8yDfH80sqF57gAdBLeFMKh0Evk9_4oxlo7E4g-DPjkk 13906
pr_agent/git_providers/codecommit_client.py sha256=3T5lbyfLMwDXkxfDrwP2AF8lpYv1Sq7vwG4-LRcJJcY 12545
pr_agent/git_providers/codecommit_provider.py sha256=Nc-9wIX6Jbt5fCJEDA1Mcz4iXO-Merti2xX9qdfveRs 19326
pr_agent/git_providers/gerrit_provider.py sha256=FMRDU_EJQ9xXRgGEp4DAPMwJsDIXVw8FZ3-SySNm7bo 12789
pr_agent/git_providers/git_provider.py sha256=trbQ5KLGu8qbDjnhDl03Vu_UYl3GFDQ4Rzn01IjJTpY 11182
pr_agent/git_providers/github_provider.py sha256=3uCBR4AA1Qutee5h7_bLk0p2Aajocq2-PBtRA_K1KU4 34209
pr_agent/git_providers/gitlab_provider.py sha256=ONWDKgtI6Vw5FZyxo4d4yte0JpPkWQhOoFAZ0RGic3Y 21964
pr_agent/git_providers/local_git_provider.py sha256=lTxfHfJOY2lrRfwzCh66RUOXJjJXLGs8CuiLUDIa6-4 8023
pr_agent/git_providers/utils.py sha256=UmmSUFctBSUlYewZQqWYW2oDSZRu8BhK6BXyLyyLJuo 2030
pr_agent/identity_providers/__init__.py sha256=mMj-1L6AcUetfvDSRG9NqDOtOiwALM5Yn2B8w7A-lxE 509
pr_agent/identity_providers/default_identity_provider.py sha256=8YYLg9HJ5iQ56NN6LjC3ugZqCiAM_wZWRhWtNCnnnWc 329
pr_agent/identity_providers/identity_provider.py sha256=J9EJUcMwGNIEcOUBZTPsseAE28RXl8_imgV05TElGEc 374
pr_agent/log/__init__.py sha256=b5FXrxRmfCCOYzm3kauiygJau1dYZCEAgffDJ3xtYDE 1700
pr_agent/secret_providers/__init__.py sha256=GFjibZFmrP2yGY1xyzT98hAmJedwLcg-G1Y8y-H6_og 652
pr_agent/secret_providers/google_cloud_storage_secret_provider.py sha256=mBEw_90bz4yrbjwkXbVgjdVWwZtdniv2zOJi1E1jkY0 1442
pr_agent/secret_providers/secret_provider.py sha256=ww7td7SgF9rK_nkR4Or_ci2xtCJZe5mI6kk-cqfdJ28 249
pr_agent/servers/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
pr_agent/servers/azuredevops_server_webhook.py sha256=DiaqRW_z1_mtp0Xpu146IGhrxnGZNdsJ7PTv-sr_t_4 6110
pr_agent/servers/bitbucket_app.py sha256=hL_hiSxF7i0ugJkJvmf32zeYM6-oRx6cwh_9qUloxpI 9586
pr_agent/servers/bitbucket_server_webhook.py sha256=I7PEoht0B7Ye8_U2TqrN5Pem5ycedouy8mdFlEyxlPU 2645
pr_agent/servers/gerrit_server.py sha256=wnb-H8Fd1laC5VBO2nktiruQSc8VEoOnssDT_Q5Rty0 1861
pr_agent/servers/github_action_runner.py sha256=-vFD7JASDmZnXerSuCbEcPd7kHbjEMwGbARJHesL-Ns 6249
pr_agent/servers/github_app.py sha256=VxAIvk9bQq0N1uDahJj2gxf2Cu_1pgKu99c5kbJwKsA 16806
pr_agent/servers/github_polling.py sha256=NXP3paTvco04Im294SNjGBn2Scq4SMu-f5mZecd8N8U 5417
pr_agent/servers/gitlab_webhook.py sha256=rWb8Hbn-pDzRRKbn1VGHAZn4vbQNjlDsgeEwf_7mvzA 6448
pr_agent/servers/help.py sha256=7O3vsT0L7dhZ7OAQ5CA65AF7kmhxBsPSWzufSoG1xTc 18105
pr_agent/servers/serverless.py sha256=bpnWMBFst0FU-ykT-v-di2XQBas984OFmcmIUTi5HY4 430
pr_agent/servers/utils.py sha256=6nmTaVQvTokuTSRxvjaoL9Zn5pm8etwF-MvhvB3TTos 3085
pr_agent/settings/.secrets_template.toml sha256=cWlL_NsghO_bItzMZTjZfmJyV8B5W53vIQq2LtRte_E 3347
pr_agent/settings/configuration.toml sha256=8tJ7ouFnOfwHZ50GyEF3GlDydevN4FYYKI3wtSyXdHQ 6850
pr_agent/settings/custom_labels.toml sha256=Wpo-1YXLDXzE-DaLeXjqpirjZWRB683m-VEMC76kq94 605
pr_agent/settings/ignore.toml sha256=wjKKr0HQPECFK-uCXQg3FCdnpyyY6Ecid_ZB6tJQ2XE 303
pr_agent/settings/language_extensions.toml sha256=RKWFVU7KYXt1Oov93qrZg5kwbjk4Bmc1nqROM_i6rXw 13640
pr_agent/settings/pr_add_docs.toml sha256=cOYoB8HumLgtBPcmcotzzzU6vRzxiaKBzd_W3xTCNqM 3274
pr_agent/settings/pr_code_suggestions_prompts.toml sha256=snP2qA6tYYkYcxDkIb9rBTDmi0F3p25vA00F58vtIDY 4717
pr_agent/settings/pr_custom_labels.toml sha256=0jM-bS-FYS79G8I52kA_l_3NmPcivCfRV2ilSHzkV3I 1802
pr_agent/settings/pr_description_prompts.toml sha256=CGLKdtPKgkOwy7gFpHon_63htaMNa6l_F7KKrvZtJso 4165
pr_agent/settings/pr_information_from_user_prompts.toml sha256=MwJbUVyq7GAMNSq3CvYn832c_1UNWGyAOdjaodZS3U0 1244
pr_agent/settings/pr_line_questions_prompts.toml sha256=1-yfLQpAINljM2-sPzJD-C0B0_3f1b4zJRPFGktKQv4 1437
pr_agent/settings/pr_questions_prompts.toml sha256=fP3LuxGd4yLoQyPoi4-g9mXt-bb9TD2TnDBXuo6cWgQ 1030
pr_agent/settings/pr_reviewer_prompts.toml sha256=FgQQ9YIUHWVMD9t8G_7-ItV2-S13mxjCJZA4JsiuEuY 7085
pr_agent/settings/pr_sort_code_suggestions_prompts.toml sha256=zVTOXSsXt72GPz5vICjQkqg_6Hsqa_9jZNn4QRnaVbQ 1389
pr_agent/settings/pr_update_changelog_prompts.toml sha256=o8s9JPssqV8ypE_yUyD8FQL8n-95pe7V9O9S23e3vS4 1321
pr_agent/tools/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
pr_agent/tools/pr_add_docs.py sha256=vIY4qhV8SDqDpLknGFdoGBW17ibaW8nbXjZwatFkWs4 8913
pr_agent/tools/pr_code_suggestions.py sha256=o8AaPdDQ3OKUUGQisaX2hBFCT0pVs4yPWMCdVSdTT9Q 24043
pr_agent/tools/pr_config.py sha256=KZU_PcENUEEOuMj5phvadk5i2s01cSYUGiLm-0pXo6U 2106
pr_agent/tools/pr_description.py sha256=94w5FxswyvOpBf6WTNQtnzu4WOH6MI7C2PEiCKyJNd0 22810
pr_agent/tools/pr_generate_labels.py sha256=tVEtmwy2tQ3zuoMNMtCxlB07r28IejMCyGyoP0_va88 7080
pr_agent/tools/pr_help_message.py sha256=SWWc9fT6d8a6l2SFzkzXJQkIn13rnqMF0gnEW9VTEVE 6809
pr_agent/tools/pr_information_from_user.py sha256=f2EEe50Xnz444wv_-D7RwfwhAOASyPIUBjQkJ1ykxqQ 4008
pr_agent/tools/pr_line_questions.py sha256=Ww83c6FxWR9KliXR7Ud2iGo1Xph5utZaK5occLbevE0 5414
pr_agent/tools/pr_questions.py sha256=jj8oSOLI_lo4KmrErZBOjDpqpUZLBrQWzf-DiSj32pc 4545
pr_agent/tools/pr_reviewer.py sha256=2hdPAmiyd4gjRxk6U7GL5S2XYAPhMhrNkdImcgCjKmg 21183
pr_agent/tools/pr_similar_issue.py sha256=HZhhIZmr4bGB_XuXUXpPSdGykyhIHrqtTbJ-i6GBeh0 21810
pr_agent/tools/pr_update_changelog.py sha256=_90vNbVXpJcfufQd7tNfnPkQYjRfIKBSBxwkpYhTPiA 7528
pr_agent-0.2.1.dist-info/LICENSE sha256=TUxzBrPY7UZZ8UF4-2zckzsz2V5hCwbOR4ZvZBeZmTY 11344
pr_agent-0.2.1.dist-info/METADATA sha256=grh9NDyk_BMwoPtWsXAe7X18bfyxelfK5nUwlMVBhJE 33358
pr_agent-0.2.1.dist-info/WHEEL sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ 92
pr_agent-0.2.1.dist-info/entry_points.txt sha256=6PdmQd5FEzDacTrdNLbeCukWLbBg0pdtFJkjKCLBkKQ 46
pr_agent-0.2.1.dist-info/top_level.txt sha256=i4FXPev-MtI3m_eDO4MsjWlTE9DvMzYZr8EZ9IV6HAI 9
pr_agent-0.2.1.dist-info/RECORD

top_level.txt

pr_agent

entry_points.txt

pr-agent = pr_agent.cli:run