Skip to main content

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)

Metadata

Release files for python-luca-bds 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-luca-bds 1.0.1
File Size Uploaded
python_luca_bds-1.0.1.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-luca-bds 1.0.1
File Interpreter ABI Platform
python_luca_bds-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.3 kB

Release files / python_luca_bds-1.0.1.tar.gz

Download URL python_luca_bds-1.0.1.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
78030b63235cbeba874d749e08ec58f2302fbf8ea084ad5c54717b78c26857f9
BLAKE2b-256 checksum
How to use checksums
53fe6c54cbb20971664055fa3cb73be86b6b2f5bd82841e5ed8f9542f2dc9a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / python_luca_bds-1.0.1-py3-none-any.whl

Download URL python_luca_bds-1.0.1-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
541ef46a8d1203c747f81d3b65bdd7873c46030d8e0537f8843d5f951d7910a3
BLAKE2b-256 checksum
How to use checksums
fa964a31145d83550da62ac3749b4a19dfa96df833f88b9612177f287c187cff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

1 release file

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page