suds_requests
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_requests 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| suds_requests-0.4.0.tar.gz | 1.8 kB | Without provenance | Details for suds_requests-0.4.0.tar.gz |
Release files / suds_requests-0.4.0.tar.gz
| Download URL | suds_requests-0.4.0.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
add545024cbadc17e66342188f900694cd9d9c633d49da4520b8279665c55c24
|
|
BLAKE2b-256 checksum How to use checksums |
cd21a0a6cf699d70e53b50cb2461c75a6687f1cf8d7d052cc591d73a2e562dcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for suds_requests 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.