Python SDK for Analyzr API
Project description
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://support.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': '2023 (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 -v
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file analyzr-sdk-python-1.2.49.tar.gz.
File metadata
- Download URL: analyzr-sdk-python-1.2.49.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2113b47f9b890f755a3a48025ff37b770c4d9f5377db706b73deca7c5431ef7b
|
|
| MD5 |
61127629e2105333c35486b366c626c1
|
|
| BLAKE2b-256 |
9a3e6f4f5449b16ff3f926535d7aee7b7e092bd66742d95494c944e750d1d8fa
|
File details
Details for the file analyzr_sdk_python-1.2.49-py3-none-any.whl.
File metadata
- Download URL: analyzr_sdk_python-1.2.49-py3-none-any.whl
- Upload date:
- Size: 33.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57b23d3646b9a34f840c5248e01c6f8e8a3d7a26046452ebfcd41bdce6fe597b
|
|
| MD5 |
9caf38e31f5d7d37da0faa6ffe5d2eee
|
|
| BLAKE2b-256 |
2a962da2914b6c99024ea901d56ebe5cf8acac656f3698e490dc511272eafe0a
|