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 Distribution

python_luca_bds-0.1.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file python_luca_bds-0.1.1.tar.gz.

File metadata

  • Download URL: python_luca_bds-0.1.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for python_luca_bds-0.1.1.tar.gz
Algorithm Hash digest
SHA256 835ff19ef3d350e244754ac9f7f683140ba14406a0caee37bd7d847f87d5a0fc
MD5 9f727e0f9a61865b68c383df991ef737
BLAKE2b-256 d2d3ed70fbbc1b8cdb6bf9eaec9a556442fc1aa2f56935b331e74f371194661e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_luca_bds-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd18cf643fa7b305d1939cb6f059b5e2aef94f579a227380863b81f77367f267
MD5 5a736220cf2a937a9f9c082a4d4c694e
BLAKE2b-256 bd105421d68c83eb4f3d43eebca0aaae261814517c06490d608ec8bcb5096141

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