Skip to main content

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.4

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


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.40.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

bgdiscovery-0.9.40-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file bgdiscovery-0.9.40.tar.gz.

File metadata

  • Download URL: bgdiscovery-0.9.40.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

Hashes for bgdiscovery-0.9.40.tar.gz
Algorithm Hash digest
SHA256 0f94cf3317cd8743b6bb0e7d6bbbb0034b9ba599e00a46842e83e12ef21e4df7
MD5 d8e5dfe8858ac55e4a318dd5966df8cd
BLAKE2b-256 9e75613f3bdf579235f249e282e78dade717623a5c982e3f0f8c627bed263d5a

See more details on using hashes here.

File details

Details for the file bgdiscovery-0.9.40-py3-none-any.whl.

File metadata

File hashes

Hashes for bgdiscovery-0.9.40-py3-none-any.whl
Algorithm Hash digest
SHA256 724f4186eeb524bbfc6a2401c7f0ca94f99bb89e73e491005c8b9a8683fc1c03
MD5 335d85a76646dd1f44804a8301978283
BLAKE2b-256 757ac335611d0501ed1badc7e603e8049758c83b61034c5b5ebf2feef694ea4a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page