guardrails-api-client

View on PyPIReverse Dependencies (1)

0.3.13 guardrails_api_client-0.3.13-py3-none-any.whl

Wheel Details

Project: guardrails-api-client
Version: 0.3.13
Filename: guardrails_api_client-0.3.13-py3-none-any.whl
Download: [link]
Size: 108214
MD5: 71ffd215b378ad406f139bbf8f2a12a7
SHA256: c9c5297355d022428a573e6e845d4876cdfbda81635d9c65fb107db1f3bb0ac2
Uploaded: 2024-09-25 04:42:50 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: guardrails-api-client
Version: 0.3.13
Summary: Guardrails API Client.
Author-Email: Guardrails AI <contact[at]guardrailsai.com>
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 [yyyy] [name of copyright owner] 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: Guardrails,Guardrails AI,Guardrails API,Guardrails API Client
Requires-Python: >=3.8, <4
Requires-Dist: python-dateutil (>=2.5.3)
Requires-Dist: setuptools (>=21.0.0)
Requires-Dist: urllib3 (<2.1.0,>=1.25.3)
Requires-Dist: pydantic (>=2)
Requires-Dist: typing-extensions (>=4.7.1)
Requires-Dist: pyright; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Provides-Extra: dev
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 6005 characters]

WHEEL

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

RECORD

Path Digest Size
guardrails_api_client/__init__.py sha256=o8lT6b4b2PMMERlv5IWQPoy3tU4a_mLJehIB0qa7Czs 5155
guardrails_api_client/api_client.py sha256=y2tmBHg0Yu2tK6__q5lnDFTGtXVrRf0xUoAxCTWVAOs 26183
guardrails_api_client/api_response.py sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s 652
guardrails_api_client/configuration.py sha256=ajyIGd6RtvpVimRr-RUfSEGZ5aUN4wCCilLueA1pLBg 15570
guardrails_api_client/exceptions.py sha256=Y9KPUkKM83xnR83CfivCVhyb1htSN72HJbrhIQAEI8M 5892
guardrails_api_client/openapi-spec.json sha256=qcX4we7Uf1OVKJMtCOrgQdrSTQ9i6ub8y9ykxyOggfA 49563
guardrails_api_client/py.typed sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
guardrails_api_client/rest.py sha256=cr3H18Vnyxct1BJiBfdW0JmpKa6jSA_BqVYa1QYduFg 9335
guardrails_api_client/api/__init__.py sha256=jIoBH7LnSFnjhH1Px4RBiLB2EbIfJ5VFSAgu4K74PZI 380
guardrails_api_client/api/guard_api.py sha256=hk0ULlBbZaWIomErecAnqhhX9u8_PR3qLn8FcNwKQsc 61659
guardrails_api_client/api/openai_api.py sha256=RYqQ3ecEpB53dgnsIfplOlQ0Dx7Nr7KUENBM4djc908 12537
guardrails_api_client/api/service_health_api.py sha256=ACKZaiaW1HIgg9jQ7m-dzgt1m1u0H3I2CftEwbafdEU 10043
guardrails_api_client/api/validate_api.py sha256=23DSj4HDZVysvHsZsijJaA07LG9iq-WmsvZIKG5vL1I 13079
guardrails_api_client/models/__init__.py sha256=dl4mMy1p1e4mXlkfICKGxLbre9TJ3a-F8_N--5UWHLg 4072
guardrails_api_client/models/any_type.py sha256=ou0CqQxt-dWbODw9Se_kel6PtysTb1lu2ltFclhFb8g 5619
guardrails_api_client/models/applicator.py sha256=Rtv4JRrsIGXXODf_NsAgRxK4lzJpCFu007p3iuNpGlo 5909
guardrails_api_client/models/args_and_kwargs.py sha256=ePmWC-7TTfEg_VZ6lbHU5zXAi-B8UbS4L59xyNN1syY 2813
guardrails_api_client/models/arrays_inner.py sha256=IVAyWxGL2htIiJSMZ_ZKTLYQPnyPPg3cHyNWXx9nVcs 4731
guardrails_api_client/models/call.py sha256=bchlYC34HiBs3D098UXsmo_F5VSQdnwo7g5zPFslqXo 3577
guardrails_api_client/models/call_inputs.py sha256=ILUAiO62QqL6yI8hJhhlgPLTWMVZdRsT4gjiR5fco1E 4827
guardrails_api_client/models/content.py sha256=o8SvHG_QK2Ehry21cGScs189VDRJHhUDifaAO3LAJUg 3012
guardrails_api_client/models/core.py sha256=IGYvqp1QVCDPSBBvXTPEWNa59nRteoR447QsP8rAfww 4000
guardrails_api_client/models/error_span.py sha256=nNcjp2RPJCfI3cl19taJMq60kj20gm8HXoxhLnv1L_o 2565
guardrails_api_client/models/fail_result.py sha256=mMncB04xHqqk_1ACht5Ufion9JH2CKONQN6G5JY8eBc 3407
guardrails_api_client/models/format_annotation.py sha256=1YhxR-bqPH-6T5CX0X4z4M5-uhjwtEljeM9lSw4hJ7A 2408
guardrails_api_client/models/guard.py sha256=ywOMpjRuikI6fiKCHc-ium3NI9pNW3vd-f6wZMFwc_Q 4374
guardrails_api_client/models/health_check.py sha256=J0jfGER_H6Ygrp-d8mNqQIkhEIWSa0x0dxBKCEL_v9I 2552
guardrails_api_client/models/http_error.py sha256=q9eQAfKoTCUtFWGsW3_HTBpdcg4jibTuuLKD_d7yLmc 3332
guardrails_api_client/models/inputs.py sha256=L85V-gYZ2objOgBNA1NOvKTo_i19llTejF93n8wU1Tw 4277
guardrails_api_client/models/iteration.py sha256=JX8fWZWkK8yJqJPJ10D6l8Gvo6W9luy4giWXeDVbh3E 3540
guardrails_api_client/models/llm_resource.py sha256=20Uk94aqYaWPQlg6EFPzwhxqAY6uXrT8COphZPFNPt0 1160
guardrails_api_client/models/llm_response.py sha256=xd8fNt2CM0pCfWwkCE6SDX8SgNiGyqOnIhNkZPGcCtk 3075
guardrails_api_client/models/meta_data.py sha256=O6L_neHAB3Lineapb9gq6TMMBZfUN0oiaXVyAQ6IT9s 3384
guardrails_api_client/models/model_schema.py sha256=CW6BOTz7TLBmEHZK-0-B374j2gTwT9CeSUWjRADvNbg 13690
guardrails_api_client/models/open_ai_chat_completion.py sha256=3LzK6qHVjTsk63j0WmzPgI1s2t2Pj5d7JkCVR4YAH4M 3389
guardrails_api_client/models/open_ai_chat_completion_payload.py sha256=PbAOLiEGvHXSZP5nDmh__li4UzwnNrcI1BHMmzRuk70 3732
guardrails_api_client/models/open_ai_chat_completion_payload_messages_inner.py sha256=rCIibKkEiKOtd_clLBvooyK_4Lc20QCwys7q5ZMAUz4 2702
guardrails_api_client/models/outputs.py sha256=R00Iy1hmrOk3pKUyA3KqGVdd4jH0oZlbbS_SgwASqkA 5973
guardrails_api_client/models/outputs_parsed_output.py sha256=m82s5vvKdPry7Vkyhiz6TrsP7ACOVGR-2nOc-hpXock 5574
guardrails_api_client/models/outputs_validation_response.py sha256=qj-qPz2Gky4sNLDI3u-iF1a11AWN2PzbuRQ5AgSH8sM 6236
guardrails_api_client/models/pass_result.py sha256=tJyIsNPaBu8G5EDqEkCFoWpnngDyZzjiOpwA8Tf5Ocs 3091
guardrails_api_client/models/primitives.py sha256=Ll1QzkbuFv75mu4co7bwX8MkydvzLjor3D7TQ0s4nAA 6167
guardrails_api_client/models/reask.py sha256=0JVXxCm202A7r-aT8OzW746JT01FySV--1hV-Mlvgfw 3924
guardrails_api_client/models/simple_types.py sha256=Iu1u8IMSzU7HZ6an9fI6EBlKQF6ZJy3JX7mbce1h1-Q 774
guardrails_api_client/models/unevaluated.py sha256=7H3-l5DxA5xFU2sVjj-5YOlEvkc9dLOZbS4sDgjYs-c 3188
guardrails_api_client/models/validate_payload.py sha256=oAAr5nXj3uTX0yw8NCMi2kV4V94SS7FBgZxuIdQSpwo 4110
guardrails_api_client/models/validation.py sha256=ePkRnMBcRuBqL5X-Dr9cfWieSzjw03n_lub0mMZ9-GU 5789
guardrails_api_client/models/validation_outcome.py sha256=EyXwDgxhzE5yWfXl6wRWQH09mkL4siUcC9BfM2MEJcI 5205
guardrails_api_client/models/validation_outcome_validated_output.py sha256=cgoTeKqmbtXjKAj8nvWeZ7lItc2zQb3RHmuFj8B20OM 5711
guardrails_api_client/models/validation_result.py sha256=CxpRN6blu2AzjtNK050vPSXAnB_M1MMXOrK3IxNUH6I 3131
guardrails_api_client/models/validation_summary.py sha256=LFI7HzWlaY7TYePVEjBqMayr8A89UxjeUqV9j6kI9V8 4071
guardrails_api_client/models/validation_type.py sha256=zKnWX27wFHO2MbLhrhBBIx0Oganp6IOqkUUmA2CuOrI 4853
guardrails_api_client/models/validator_log.py sha256=jyjZPxyMvfGcjAukwYffdInn6VZSQLFSRU0nNTqKrpY 5013
guardrails_api_client/models/validator_log_instance_id.py sha256=He0ZEEKM2lcZBezY0wYIlj9jI6oMfW6QcSC-Uv5Z-Y8 4717
guardrails_api_client/models/validator_log_validation_result.py sha256=dA21sDpe2JnBNg3d2qoI8nJNVyXzPZOYg50bspkOEk4 4642
guardrails_api_client/models/validator_reference.py sha256=GvmCr8BrQuUiupyPa2EW7EGj3YbaBrdGdluceMIiffA 3706
guardrails_api_client-0.3.13.dist-info/LICENSE sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ 11357
guardrails_api_client-0.3.13.dist-info/METADATA sha256=c7gTdCc4QXb3pTvliB2AU8c9OQu7byOsZrJp5QmCNj8 19623
guardrails_api_client-0.3.13.dist-info/WHEEL sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ 91
guardrails_api_client-0.3.13.dist-info/top_level.txt sha256=da5FFcY7WZaP6R8Oh-0ftcYCLdc04uKej2jZClV9fnI 22
guardrails_api_client-0.3.13.dist-info/RECORD

top_level.txt

guardrails_api_client