bgdiscovery-0.9.9
توضیحات
biGENIUS Discovery App.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bgdiscovery-0.9.9 |
| نام | bgdiscovery |
| نسخه کتابخانه | 0.9.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | biGENIUS AG |
| ایمیل نویسنده | gergely.szecsenyi@bigenius.info |
| آدرس صفحه اصلی | https://www.bigenius.info/ |
| آدرس اینترنتی | https://pypi.org/project/bgdiscovery/ |
| مجوز | - |
# 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
```bash
bgdiscovery -f sample_source_file.yaml
```
## Sources
The following sources are supported:
### CSV
Example source yaml file:
```yaml
source:
type: s3
config:
path_specs:
-
include: "sample.csv"
sink:
type: file
config:
filename: ./csv_discovery_output.json
```
### Parquet
Example source yaml file:
```yaml
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:
```yaml
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:
```yaml
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:
```yaml
source:
type: s3
config:
path_specs:
-
include: "/tmp/parquet_folder/"
sink:
type: file
config:
filename: ./parquet_discovery_output.json
```
نیازمندی
| مقدار | نام |
|---|---|
| ==4.0.35 | pyodbc |
| - | pyyaml |
| ==5.8 | art |
| - | coloredlogs |
| - | colorama |
| - | acryl-datahub |
نحوه نصب
نصب پکیج whl bgdiscovery-0.9.9:
pip install bgdiscovery-0.9.9.whl
نصب پکیج tar.gz bgdiscovery-0.9.9:
pip install bgdiscovery-0.9.9.tar.gz