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.
Normal installation
To install, run the following command:
pip install --upgrade bgdiscovery
Pre-release installation
To install a pre-release version, use the following command with the corresponding version:
pip install --upgrade bgdiscovery==0.9.31rc4
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
Built Distribution
File details
Details for the file bgdiscovery-0.9.31rc6.tar.gz
.
File metadata
- Download URL: bgdiscovery-0.9.31rc6.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28acd660cb73cd3baeabb4bb168bea2b2ff91312459cdbbe20ef2e637c82645a |
|
MD5 | 4c7338da5d1dd492df7a68ed018983ee |
|
BLAKE2b-256 | aad9bbd65421ceb780b9cb042dea482fb75ea46a43e6bf0c63739b7e32c963fe |
File details
Details for the file bgdiscovery-0.9.31rc6-py3-none-any.whl
.
File metadata
- Download URL: bgdiscovery-0.9.31rc6-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f36b762979e2537e41e80bee1dc81912fbee396fbe7b9168ca47c32a51941eb |
|
MD5 | d775bc853903f3f3fa7331b6812069f6 |
|
BLAKE2b-256 | d19a6b1d27ccfdcb4e08cdd50ae3c1fe314f37ef2400be70420172fbe695ec21 |