biGENIUS Discovery App.
Project description
BiGenius Discovery App
The BGD application is used to create discovery data for BG X. It is a Python module that automatically installs the necessary python packages.
As a parameter, you need to specify a source file with the necessary attributes defined, and the output will be a BGX-compatible discovery file.
Installation
To install, run the following command:
pip install bgdiscovery
Usage
bgdiscovery -f sample_source_file.yaml
Sources
The following sources are supported:
CSV
Example source yaml file:
source:
type: s3
config:
path_specs:
-
include: "sample.csv"
sink:
type: file
config:
filename: ./csv_discovery_output.json
Parquet
Example source yaml file:
source:
type: s3
config:
path_specs:
-
include: "/tmp/parquet_folder/"
sink:
type: file
config:
filename: ./parquet_discovery_output.json
Microsoft SQL Server
Example source yaml file with secure connection over ODBC:
source:
type: mssql
config:
# Coordinates
host_port: hostname:1433
database: f1
# Credentials
username: sa
password: Password
use_odbc: "True"
uri_args:
driver: "ODBC Driver 17 for SQL Server"
Encrypt: "yes"
TrustServerCertificate: "yes"
ssl: "True"
sink:
type: file
config:
filename: ./mssql_f1_output.json
Example source yaml file without secure connection:
source:
type: mssql
config:
# Coordinates
host_port: hostname:1433
database: f1
# Credentials
username: sa
password: Password
sink:
type: file
config:
filename: ./mssql_f1_output.json
Parquet
Example source yaml file:
source:
type: s3
config:
path_specs:
-
include: "/tmp/parquet_folder/"
sink:
type: file
config:
filename: ./parquet_discovery_output.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bgdiscovery-0.9.28.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for bgdiscovery-0.9.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25a49c1d0479891427d74431ed6e0569a3731f1c4433f6b6c785fbc52922a2a5 |
|
MD5 | 0d079830a9c27ed8c4ad71a3a46e3074 |
|
BLAKE2b-256 | 3d5f9661ac23b0725077fe1eda8347e50b1e604cfdeefc19cc1f4eb02b6e597a |