This library provides a set of tools for interacting with the LUCA BDS API. It allows you to perform queries and execute operations in the LUCA environment using secure connections
Project description
LUCA BDS
LUCA BDS is a business intelligence platform designed to centralize access to all your company's information, empowering users with real-time data analysis and visualization tools for informed decision-making. This library provides a set of tools for interacting with the LUCA BDS API. It allows you to perform queries and execute operations in the LUCA environment using secure connections.
Installation
You can install the library via PyPI. Make sure to have Python installed on your machine, then run:
pip install python-luca-bds
Usage
Below is an example of how to use the LUCA BDS client to connect to the server and test some functionality:
from luca.connectors import LucaConnector
from luca.querys import query
# LUCA connection configuration
luca_conn = LucaConnector(
server_url='https://luca-bds-domain/luca-api',
username='user',
password='pass'
)
# Retrieve connection information
info = luca_conn.info()
print(info)
# Execute a query by name
result, pag, state = query(
conn=luca_conn,
name='Prueba',
environment='DES'
)
print(result)
# Execute a query by ID
result, pag, state = query(
conn=luca_conn,
id=364,
environment='DES',
input_variables=[{'Usuario': 'luca', 'Sistema': 'LUCA'}]
)
print(result)
print(pag)
print(state)
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 python_luca_bds-1.0.1.tar.gz.
File metadata
- Download URL: python_luca_bds-1.0.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78030b63235cbeba874d749e08ec58f2302fbf8ea084ad5c54717b78c26857f9
|
|
| MD5 |
4a3b65760f0f34d7f7ebb0e33865d15a
|
|
| BLAKE2b-256 |
53fe6c54cbb20971664055fa3cb73be86b6b2f5bd82841e5ed8f9542f2dc9a4a
|
File details
Details for the file python_luca_bds-1.0.1-py3-none-any.whl.
File metadata
- Download URL: python_luca_bds-1.0.1-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
541ef46a8d1203c747f81d3b65bdd7873c46030d8e0537f8843d5f951d7910a3
|
|
| MD5 |
56f1205c5a6306b9c4d18f84ecdcd32d
|
|
| BLAKE2b-256 |
fa964a31145d83550da62ac3749b4a19dfa96df833f88b9612177f287c187cff
|