aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info')
-rw-r--r--.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/INSTALLER1
-rw-r--r--.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/LICENSE21
-rw-r--r--.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/METADATA201
-rw-r--r--.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/RECORD13
-rw-r--r--.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/WHEEL5
-rw-r--r--.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/top_level.txt1
6 files changed, 242 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/INSTALLER
new file mode 100644
index 00000000..a1b589e3
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/INSTALLER
@@ -0,0 +1 @@
+pip
diff --git a/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/LICENSE
new file mode 100644
index 00000000..5db04ff6
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (C) 2022, Twilio SendGrid, Inc. <help@twilio.com>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/METADATA b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/METADATA
new file mode 100644
index 00000000..d13e1fa3
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/METADATA
@@ -0,0 +1,201 @@
+Metadata-Version: 2.1
+Name: python-http-client
+Version: 3.3.7
+Summary: HTTP REST client, simplified for Python
+Home-page: https://github.com/sendgrid/python-http-client
+Author: Elmer Thomas
+Author-email: help@twilio.com
+License: MIT
+Download-URL: https://github.com/sendgrid/python-http-client/tarball/3.3.7
+Keywords: REST,HTTP,API
+Platform: UNKNOWN
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Description-Content-Type: text/x-rst
+License-File: LICENSE
+
+.. image:: https://github.com/sendgrid/sendgrid-python/raw/HEAD/twilio_sendgrid_logo.png
+ :target: https://www.sendgrid.com
+
+|Test and Deploy Badge| |Twitter Follow| |Codecov branch| |Code Climate| |Python Versions| |PyPI Version| |GitHub contributors| |MIT licensed|
+
+**The default branch name for this repository has been changed to `main` as of 07/27/2020.**
+
+**Quickly and easily access any RESTful or RESTful-like API.**
+
+If you are looking for the Twilio SendGrid API client library, please see `this repo`_.
+
+Table of Contents
+=================
+
+- `Installation <#installation>`__
+- `Quick Start <#quick-start>`__
+- `Usage <#usage>`__
+- `How to Contribute <#how-to-contribute>`__
+- `Local Setup of the Project <#local-setup-of-the-project>`__
+- `Troubleshooting <#troubleshooting>`__
+- `Announcements <#announcements>`__
+- `Thanks <#thanks>`__
+- `About <#about>`__
+- `License <#license>`__
+
+Installation
+============
+
+Prerequisites
+-------------
+
+- Python version 2.7 or 3.4+
+
+Install Package
+---------------
+
+.. code:: bash
+
+ pip install python_http_client
+
+or
+
+.. code:: bash
+
+ easy_install python_http_client
+
+API Key
+-------
+
+Store your Twilio SendGrid API key in a ``.env`` file.
+
+.. code:: bash
+
+ cp .env_sample .env
+
+Edit the ``.env`` file and add your API key.
+
+Quick Start
+===========
+
+Here is a quick example:
+
+``GET /your/api/{param}/call``
+
+.. code:: python
+
+ import python_http_client
+
+ global_headers = {"Authorization": "Bearer XXXXXXX"}
+ client = Client(host='base_url', request_headers=global_headers)
+ client.your.api._(param).call.get()
+ print(response.status_code)
+ print(response.headers)
+ print(response.body)
+
+``POST /your/api/{param}/call`` with headers, query parameters and a request body with versioning.
+
+.. code:: python
+
+ import python_http_client
+
+ global_headers = {"Authorization": "Bearer XXXXXXX"}
+ client = Client(host='base_url', request_headers=global_headers)
+ query_params = {"hello":0, "world":1}
+ request_headers = {"X-Test": "test"}
+ data = {"some": 1, "awesome": 2, "data": 3}
+ response = client.your.api._(param).call.post(request_body=data,
+ query_params=query_params,
+ request_headers=request_headers)
+ print(response.status_code)
+ print(response.headers)
+ print(response.body)
+
+Usage
+=====
+
+- `Example Code`_
+
+How to Contribute
+=================
+
+We encourage contribution to our projects, please see our `CONTRIBUTING`_ guide for details.
+
+Quick links:
+
+- `Feature Request`_
+- `Bug Reports`_
+- `Improvements to the Codebase`_
+- `Review Pull Requests`_
+
+Local Setup of the Project
+==========================
+
+The simplest local development workflow is by using docker.
+
+1. Install Docker
+2. Run ``docker-compose build`` (this builds the container)
+3. Run ``docker-compose up`` (this runs tests by default)
+
+Troubleshooting
+===============
+
+Please see our `troubleshooting guide`_ for any issues.
+
+Announcements
+=============
+
+All updates to this project is documented in our `CHANGELOG`_.
+
+Thanks
+======
+
+We were inspired by the work done on `birdy`_ and `universalclient`_.
+
+About
+=====
+
+**python-http-client** is maintained and funded by Twilio SendGrid, Inc.
+The names and logos for **python-http-client** are trademarks of Twilio SendGrid, Inc.
+
+License
+=======
+
+`The MIT License (MIT)`_
+
+.. _this repo: https://github.com/sendgrid/sendgrid-python
+.. _Example Code: https://github.com/sendgrid/python-http-client/tree/HEAD/examples
+.. _CONTRIBUTING: https://github.com/sendgrid/python-http-client/blob/HEAD/CONTRIBUTING.md
+.. _Feature Request: https://github.com/sendgrid/python-http-client/blob/HEAD/CONTRIBUTING.md#feature-request
+.. _Bug Reports: https://github.com/sendgrid/python-http-client/blob/HEAD/CONTRIBUTING.md#submit-a-bug-report
+.. _Improvements to the Codebase: https://github.com/sendgrid/python-http-client/blob/HEAD/CONTRIBUTING.md#improvements-to-the-codebase
+.. _Review Pull Requests: https://github.com/sendgrid/python-http-client/blob/HEAD/CONTRIBUTING.md#code-reviews
+.. _troubleshooting guide: https://github.com/sendgrid/python-http-client/blob/HEAD/TROUBLESHOOTING.md
+.. _CHANGELOG: https://github.com/sendgrid/python-http-client/blob/HEAD/CHANGELOG.md
+.. _birdy: https://github.com/inueni/birdy
+.. _universalclient: https://github.com/dgreisen/universalclient
+.. _The MIT License (MIT): https://github.com/sendgrid/python-http-client/blob/HEAD/LICENSE
+.. _this is an incredible opportunity to join our #DX team: https://sendgrid.com/careers/role/1421152/?gh_jid=1421152
+
+.. |Test and Deploy Badge| image:: https://github.com/sendgrid/python-http-client/actions/workflows/test-and-deploy.yml/badge.svg
+ :target: https://github.com/sendgrid/python-http-client/actions/workflows/test-and-deploy.yml
+.. |Twitter Follow| image:: https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow
+ :target: https://twitter.com/sendgrid
+.. |Codecov branch| image:: https://img.shields.io/codecov/c/github/sendgrid/python-http-client/main.svg?style=flat-square&label=Codecov+Coverage
+ :target: https://codecov.io/gh/sendgrid/python-http-client
+.. |Code Climate| image:: https://codeclimate.com/github/sendgrid/python-http-client/badges/gpa.svg
+ :target: https://codeclimate.com/github/sendgrid/python-http-client
+.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/python-http-client.svg
+ :target: https://pypi.org/project/python-http-client
+.. |PyPI Version| image:: https://img.shields.io/pypi/v/python-http-client.svg
+ :target: https://pypi.org/project/python-http-client
+.. |GitHub contributors| image:: https://img.shields.io/github/contributors/sendgrid/python-http-client.svg
+ :target: https://github.com/sendgrid/python-http-client/graphs/contributors
+.. |MIT licensed| image:: https://img.shields.io/badge/license-MIT-blue.svg
+ :target: https://github.com/sendgrid/python-http-client/blob/HEAD/LICENSE
+
+
diff --git a/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/RECORD b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/RECORD
new file mode 100644
index 00000000..27cc6206
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/RECORD
@@ -0,0 +1,13 @@
+python_http_client-3.3.7.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+python_http_client-3.3.7.dist-info/LICENSE,sha256=0mVMU-p0cjEE7VTX1C85XTs1fK3MjJZGUsBZzaD_ltk,1097
+python_http_client-3.3.7.dist-info/METADATA,sha256=kmBVUArelQNw98cE6cVsJNPgwglnAuGgG7hpqv2zjHQ,6927
+python_http_client-3.3.7.dist-info/RECORD,,
+python_http_client-3.3.7.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
+python_http_client-3.3.7.dist-info/top_level.txt,sha256=2JnUimcxRHkpXlcL22LcQStBT2-2f7uE6bN32da2nX0,19
+python_http_client/VERSION.txt,sha256=NsXZj-fjwhWofU16C2RJ7wdruDaXG5xgeQk9jUAPDpg,6
+python_http_client/__init__.py,sha256=fU3Hvupc6zEfI7tHmwTzPq5d6M_9SJ-zc455ROEa38E,604
+python_http_client/__pycache__/__init__.cpython-312.pyc,,
+python_http_client/__pycache__/client.cpython-312.pyc,,
+python_http_client/__pycache__/exceptions.cpython-312.pyc,,
+python_http_client/client.py,sha256=dkdI9Y86GzKmH3F-XRe8G2vWOXyB8erS3IaQuZpVJM0,9921
+python_http_client/exceptions.py,sha256=cP9hcA1kZMIrdHleSGcaoDyeJRX7bOFt_VCds-WV2Tk,1796
diff --git a/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/WHEEL
new file mode 100644
index 00000000..becc9a66
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/WHEEL
@@ -0,0 +1,5 @@
+Wheel-Version: 1.0
+Generator: bdist_wheel (0.37.1)
+Root-Is-Purelib: true
+Tag: py3-none-any
+
diff --git a/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/top_level.txt
new file mode 100644
index 00000000..4bbf5e0a
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/python_http_client-3.3.7.dist-info/top_level.txt
@@ -0,0 +1 @@
+python_http_client