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.2.tar.gz (7.5 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.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_luca_bds-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 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.2.tar.gz
Algorithm Hash digest
SHA256 26c6d1a2b98fe07e98deba7fdb9ca8daf3e50d6efc4cd7ede606fe507fb68cb4
MD5 48ed8de49f4f5877994f57d9f018ba4a
BLAKE2b-256 fffe3173570b0fa734eb78aa7bde595c733fb476a35bb95c538182585f6bcd60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_luca_bds-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1a2608f0a9f5b880357c892a8f8b804ecf1d6753874c90009d8122ccd6f2c68
MD5 9e312127a217613317481469f9c4c128
BLAKE2b-256 bf8f49050ae74459d4cadc899d5a0a4585c6d810e9e90e799bfb7a1b32cba4d8

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