semvec/pypi-packages huggingface dataset:
pglogginghandler 0.3
Simple logging handler to enter logs directly to postgres databases
Requires Python: >=3.8

# Postgres Logging Handler

Simple handler to enter logs directly to postgres databases, uses psycopg2 for connection. Creates a new `table` if does not already exist, and groups logs by `job_id`.

Table columns are,
 - id 
 - created_at
 - name
 - levelname
 - message
 - job_id

## Example Usage

```python
from pglogginghandler import PostgresHandler

db_config = {
    'dbname': <dbname>,
    'user': <user>,
    'password': <password>,
    'host': <host>,
}
logger_name = 'logger name'
job_id = 'test_id'
table = 'table name'

logger = PostgresHandler(logger_name, job_id, table, db_config)
logger.info("this is a test info message")
```
specific-import 0.9.6
This package simplifies importing relative and absolute module paths
Requires Python: >=3.6

# specific_import

## This package allows you to import resources by their relative or absolute file paths.<br><br>

## Features
  * Is open source
  * Is compatible with the latest version of Python3
  * Is great at doing imports relative to the file doing the actual importing
    * (as opposed to relative to the file doing the calling as other import libraries do.)
  * Doesn't reload module if module already loaded
  
## How to install
* Method 1: Use PIP
```
pip install specific_import
```

* Method 2: 
Download from Github<br><br>  
  
  
 ## Example
```python
from specific_import import import_file

# import relatively
app_setup = import_file('../app_setup.py')

# import absolutely
app_setup = import_file('/home/projects/my_project/app_setup.py')

```

 ## Why?
 I love Python but sometimes the builtin import system can be a headache