Skip to main content

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_luca_bds-1.0.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file python_luca_bds-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_luca_bds-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b78d539483f394b8946bc2e31bb9108bf5afba94144432eec2ba946b053392c2
MD5 a8f9f49c70ae472ec48f955c0508c769
BLAKE2b-256 1edd54917adff9801a2164ea632be402dff15f13d1995ddac3304faaccfd2357

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page