semvec/pypi-packages huggingface dataset:
brtgdb 0.3.6
A simple package for db connection.
Requires Python: >=3.7

# BRTG database connector
Simple package to establish connection with mysql/mariadb database using sqlalchemy.

## Prerequisite
Environmental variables:

DB_HOST=host.com
DB_PORT=3306
DB_USER=your_user
DB_PASS=your_password

## Installation
From package directory:

```
pip install brtgdb
```

## Usage
###Import
Pristupove udaje su v subore .env
```
from dotenv import load_dotenv
load_dotenv()
```

Vytovirm konektor
```
from brtgdb import BrtgDB

db = BrtgDB()
```

### Read SQL With pandas
```
pd.read_sql("SELECT ....", db.conn)
```

### Execute SQL command
```
db.execute(query)
```

### Add table connector and usage
```
table = db.add_table_connector(table_name, schema_name=None)
stmt = insert(table).values(column1= value1 , column2= value2)
db.conn.execute(stmt) 
```

### Logging db changes
```
db.log_change(job_name='update_data_analysis',
              table_name='ruz_t_data_analysis',
              event_type='INSERT AND UPDATE',  # ERROR
              details=json.dumps(result))
```

### Logging test results
```
db.log_test_results(test_run=validation_result["run_id"].run_name,
                    status=validation_result["success"],
                    details='See great_expectations report.')
```
pkg-luishidalgogt2003 0.0.1
A small package
Requires Python: >=3.6

# Covid Data Dashboard

## Introduction

This project is a Covid Data dashbord that outputs up to date covid data and outputs the latest News Articles, it also can schedule updates and is a fully interactive dashboard.

### Prerequisites

this project can be run in any version of python 3 but the ideal is **Python 3.8.1**

### Installation

installation required: **py -m pip install --upgrade build, py -m pip install flask**

### How to use the project

In side the folder src you will find the folder package with all the files needed to run the dashboard for every module and each function in each,
module there is clear instructions on how the function works and how to use it.

### Data Required

For the project you will need to include various thing to the **config.json** file so it works such as:

- **Api Key**
- **Location for the covid data**
- **Search Terms for the News Articles**

### Testing/Running

To test the code before running it there will be various test modules inside the file directory **tests**.
To run the code run **covid_user_interface.py** and search **"http://127.0.0.1:5000/"** in any browser

## Details

Project Created by **Luis Hidalgo Gutierrez De Tovar**,
Licence in file: **LICENSE.txt**
source code in **"index.html"** file
acknoledgments to Module Leader **Matt Collison** for the template ""index.html""
heroku-flask 0.0.1
Heroku setup for flask application

# Heroku Flask Setup

## Run & setup 

### Linux

`$ heroku_flask.sh`

### Windows

`$ heroku_flask.bat`


## Creating List Of Files

* Procfile
* runtime.txt
* app.py
* wsgi.py


### Procfile


```
web: gunicorn wsgi:app
```

### runtime.txt

```
python-3.6.9
```


### app.py

```
from flask import Flask

app = Flask(__name__)


@app.route("/")
def home_view():
    return "<h1>Welcome to HK World</h1>"

```

### wsgi.py

```
from app import app

if __name__ == "__main__":
    app.run()

```

## Extra Information

### Create Heroku App

Login to heroku CLI using 

`$ heroku login`

Now, Create a unique name for your Web app.

`$ heroku create heroku-flask-app`

Push your code from local to the heroku remote

`$ git push heroku master`
Difluorine 0.0.3.9
Another Discord API wrapper for Python.
Requires Python: >=3.6

# Difluorine

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/0fae9fe8720e4952af02db467ebd951d)](https://app.codacy.com/gh/SHI3DO/Difluorine?utm_source=github.com&utm_medium=referral&utm_content=SHI3DO/Difluorine&utm_campaign=Badge_Grade_Settings)
[![PyPI version](https://badge.fury.io/py/Difluorine.svg)](https://badge.fury.io/py/Difluorine)
[![Discord](https://discordapp.com/api/guilds/749595288280498188/widget.png?style=shield)](https://discord.gg/T3Z8hYS)  

Difluorine