Python SDK for the Analyzr API
Overview
This Python client will give you access to the Analyzr API. See files in the examples folder
for examples showing how to use the client. Note that a client_id should always be provided when querying the API; it is used for reporting purposes.
- For general information please see https://analyzr.ai.
- For help and support see https://help.analyzr.ai.
- For SDK reference documentation see https://analyzr-sdk-python.readthedocs.io.
Installation instructions
Getting the client set up will require the following:
- Install the latest version of the client on your local machine:
pip install analyzr-sdk-python
-
Get an API username and password from your Analyzr admin (you may need SSO credentials from your local admin instead).
-
Confirm you are able to connect to the API, and check the API version as follows from a Python session:
>>> from analyzrclient import Analyzer
>>> analyzer = Analyzer(host="<your host>")
>>> analyzer.login()
Login successful
>>> Analyzer().version()
{'status': 200, 'response': {'version': 'x.x.xxx', 'tenant': <your tenant name>, 'copyright': '2024 (c) Go2Market Insights Inc. All rights reserved.'}}
Testing instructions
If you are developing the SDK and would like to test the repo, clone it locally using git then run the following from the root directory:
python -m unittest tests.test_all -v # all tests
python -m unittest tests.test_quick -v # quick tests
Make sure you update the config.json file first to include the name of your API tenant.
To run a single test case do:
python -m unittest tests.test_all.PropensityTest.test_logistic_regression_classifier -v
Metadata
Release files for analyzr-sdk-python 1.3.76
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 |
|---|---|---|---|---|
| analyzr-sdk-python-1.3.76.tar.gz | 31.0 kB | Without provenance | Details for analyzr-sdk-python-1.3.76.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| analyzr_sdk_python-1.3.76-py3-none-any.whl | Python 3 | none | any | Details for analyzr_sdk_python-1.3.76-py3-none-any.whl |
Total release size: 69.8 kB
Release files / analyzr-sdk-python-1.3.76.tar.gz
| Download URL | analyzr-sdk-python-1.3.76.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb091fdb2cf739c49c1daa5111c8d653fe44b18d4d0524c64b13945bc5fb0d22
|
|
BLAKE2b-256 checksum How to use checksums |
2d42ca8d7b6e8fa8be83a5cf75c9cb6d85f2c0a417ce941573c5cb1c70386df8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.7
|
Release files / analyzr_sdk_python-1.3.76-py3-none-any.whl
| Download URL | analyzr_sdk_python-1.3.76-py3-none-any.whl |
|---|---|
| Size | 38.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae9361d33a2e7e9ec6342154418bb82dcedaa2a232411fac2ea1efc53fd14380
|
|
BLAKE2b-256 checksum How to use checksums |
9bf28950c676395312812694c8508b1a6ddd03c30c8bf33de33428fbbf12cb9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.7
|
Security for analyzr-sdk-python 1.3.76
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.