This will use spotfire REST API end points to login & execute the jobs
Project description
Using Spotfire class. Create the object to instantiate the spotfire class. And then login using "Client Id" & "Client Secret" to execute the jobs & check the status.
Example
pip install spotfirepill
import spotfirepill as spt spot_fire_instance = spt.SpotFire(base_url,client_id,client_secret) spot_fire_instance.login()
Execute the Job
spot_fire_instance.start_library('{job_id}') it returns job execution id
#Get the Status
spot_fire_instance.get_status('{job execution id}')
Project details
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 spotfirepill-0.14.tar.gz.
File metadata
- Download URL: spotfirepill-0.14.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe1fb95423462fe492941f3ea5a302e598c8e1660ff5066739bda236b7fc2147
|
|
| MD5 |
1a30d58b1d39b7bd82d37a1c7cf152e3
|
|
| BLAKE2b-256 |
6aba3b6707b6d29c4af5475a1da7306b5964a3dbb359a0c71d5822a0583bc8d6
|
File details
Details for the file spotfirepill-0.14-py3-none-any.whl.
File metadata
- Download URL: spotfirepill-0.14-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63b196c202ae195b31d08cd5b60605330a039202edfab8671550f15bcc493068
|
|
| MD5 |
3c9c401c5696ad663a657c6dec3329b3
|
|
| BLAKE2b-256 |
f329379ffc07e6ff5da4c3e4f2a8ba39ee9d2c0e002b46c7261a2cd0f71dcc90
|