incqueryserver-api-python-client
This package offers an easy way to connect to a running IncQuery Server instance.
Connect to a running IncQuery Server
from iqs_api import connect
No authentication
iqs = connect("https://incqueryserver.url.com")
OpenID Connect (OIDC)
token = "token"
iqs = connect(
address="https://incqueryserver.url.com",
auth_header_name="Authorization",
auth_header_value=f"Bearer {token}",
use_auth_header=True
)
Basic Authentication
iqs = connect(
address="https://incqueryserver.url.com",
username="username",
password="password"
)
Issue API calls
GET request example:
response = iqs.server_management.get_server_info()
POST request example:
from iqs_client import models
response = iqs.demo.update_model_compartment_index(
index_compartment=models.IndexCompartment(
model_compartment="model_compartment_uri",
indexes=["index1", "index2"]
)
)
IMPORTANT: It is recommended to provide parameters as keyword arguments (opposed to positional)
Other options
Configure self-signed certificate
from iqs_client import Configuration
custom_config = Configuration()
custom_config.ssl_ca_cert = "path/to/cert.cer"
iqs = connect(
address="https://incqueryserver.url.com",
configuration=custom_config
)
Disable SSL verification
from iqs_client import Configuration
custom_config = Configuration()
custom_config.verify_ssl = False
iqs = connect(
address="https://incqueryserver.url.com",
configuration=custom_config
)
Metadata
Release files for incqueryserver-api-python-client 0.27.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 | |
|---|---|---|---|---|
| incqueryserver-api-python-client-0.27.0.tar.gz | 167.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| incqueryserver_api_python_client-0.27.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 558.1 kB
Release files / incqueryserver-api-python-client-0.27.0.tar.gz
| Download URL | incqueryserver-api-python-client-0.27.0.tar.gz |
|---|---|
| Size | 167.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d48e46e599e4b91ccb6ddde8addb21ff45ef2d4ac7592fbc6198a803f8182c88
|
|
BLAKE2b-256 checksum How to use checksums |
cce2b0dd0a586f46e0ce404799195d9eb2e65cfbe35f49006c4650d7b3763480
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Release files / incqueryserver_api_python_client-0.27.0-py3-none-any.whl
| Download URL | incqueryserver_api_python_client-0.27.0-py3-none-any.whl |
|---|---|
| Size | 391.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1af6b1a21c64a9655fdb0df78c8bfecf41e554b72fa997747e0e54215e7ce281
|
|
BLAKE2b-256 checksum How to use checksums |
a9f96ff311764ac9803a4fdc22bd61e97de06a925c3b359a694ee95de8549d79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
|
Security for incqueryserver-api-python-client 0.27.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.