suds_requests4
Simple port of the original suds_requests <https://github.com/armooo/suds_requests> to python 3. All API is the same.
suds_requests is a suds transport implemented with requests. This lets you use all of the goodness of requests (connection pooling, simple auth, etc.) along with the pain of soap.
Examples
Simple::
import suds.client
import suds_requests
c = suds.client.Client(
'http://wsdl_url',
transport=suds_requests.RequestsTransport()
)
Adding basic auth::
import requests
import suds.client
import suds_requests
session = requests.Session()
session.auth=('user', 'password')
c = suds.client.Client(
'http://wsdl_url',
transport=suds_requests.RequestsTransport(session)
)
Changing the connection pool size::
import requests
import requests.adapters
import suds.client
import suds_requests
session = requests.Session()
adapter = requests.adapters.HTTPAdapter(
pool_connections=1000,
pool_maxsize=1000,
)
session.mount('http://', adapter)
session.mount('https://', adapter)
c = suds.client.Client(
'http://wsdl_url',
transport=suds_requests.RequestsTransport(session)
)
Metadata
Release files for suds-requests4 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| suds_requests4-1.0.1.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| suds_requests4-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / suds_requests4-1.0.1.tar.gz
| Download URL | suds_requests4-1.0.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9e6c7186ed6b30b13b5f70752d86046ab3c0d5028e4b6b2aa1d077f30a487a8
|
|
BLAKE2b-256 checksum How to use checksums |
b86f8057935d4c09f643c21fe772a016a9ba4e04beb5d6c3327bdc9ad4f57e37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
|
Release files / suds_requests4-1.0.1-py3-none-any.whl
| Download URL | suds_requests4-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e917e6468e51200c7f6b91fc22da02ee48b506f24e4ca36b576d7cbd2a2c37c
|
|
BLAKE2b-256 checksum How to use checksums |
8cf4f48ea9ccc5281aee33eac751a19b2afa782f1c2a53fad9182733338f4f3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2
|