semvec/pypi-packages huggingface dataset:
postgres-database-utils 1.1.0
A package for postgres database utilities
Requires Python: >=3.10.4

# Postgres Database Utils

[![Downloads](https://static.pepy.tech/personalized-badge/postgres-database-utils?period=total&units=none&left_color=grey&right_color=blue&left_text=Downloads)](https://pepy.tech/project/postgres-database-utils)

A python package for postgres database utilities.

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Support](#support)
- [Contributing](#contributing)

## Installation

Install the package using pip:

```sh
pip install database-utils
```

## Usage

Create a database connection:
```python
from postgres_database_utils import create_connection, PostgresCredentials

credentials = PostgresCredentials(host='localhost', database='postgres', user='postgres', password='postgres', port=5432)

connection = create_connection(credentials)
```

## Support

Please [open an issue](https://github.com/apinanyogaratnam/postgres-database-utils/issues/new) for support.

## Contributing

Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/apinanyogaratnam/postgres-database-utils/compare/).

<!-- TODO: remove parameters from create_connection except postgres credentials on next version update -->
FoxBox 0.0.5
An usefull package

# FoxBox

Foxbox is a python package to simplify messagebox and bin converter.

## Installation


```bash
pip install foxbox
```

## Usage

```python
from foxbox import * #Be sure to add * to import all Subpackages

int2bin(15)
# returns 1111

bin2int(1111)
# returns 15

str2bin('Text')
# returns 01110100011001010111100001110100

bin2str('01110100011001010111100001110100') #Add binairy text into ''

box("Text", MB_ICONQUESTION | MB_CANCELTRYCONTINUE, "Title")
           #Message box icon| Message box mode
file('filename.anyformat')
#create a file
```

## Message box mode list

### Mode

MB_ABORTRETRYIGNORE

MB_CANCELTRYCONTINUE

MB_HELP

MB_OK

MB_OKCANCEL

MB_RETRYCANCEL

MB_YESNO

MB_YESNOCANCEL
_________
### Icons

MB_ICONEXCLAMATION

MB_ICONWARNING

MB_ICONINFORMATION

MB_ICONASTERISK

MB_ICONQUESTION

MB_ICONSTOP

MB_ICONERROR

MB_ICONHAND
_____
### Buttons value

IDABORT = 3

IDCANCEL = 2

IDCONTINUE = 11

IDIGNORE = 5

IDNO = 7

IDOK = 1

IDRETRY = 4

IDTRYAGAIN = 10

IDYES = 6
___

#### Examples

```python
from foxbox import *
mybox = box("SOMETHING WEN WRONG. would you like to restart?", MB_ICONERROR | MB_YESNO, "ERROR!")
if mybox == IDYES:
    print('Restarted!')
if mybox == IDYES:
    print('Closed')
```

## Help

Thanks for use if you have any question join my Discord server link here [(--)](https://discord.gg/c6twk26h)

## What's new?

v0.0.1 - first release

v0.0.2 - updating package file

v0.0.3 - description added

v0.0.4 - changed description (current)

v0.0.5 - deleted markdown readme
handsilicon 0.5
Hand Tracking module that is fast and easy to use. (Mac Silicon)
Keywords: python,video,hand,tracking,computer vision ai



<h1 align="center">
  <br>
  <img src="https://github.com/advaith-22/assets/blob/main/image-removebg-preview.png?raw=true" alt="Markdownify" width="200"></a>
  <br>
  Hand (Silicon Mac)
  <br>
</h1>

<h4 align="center">A package that allows to track the x, y, z locations of specific points from 0-20 in your hands.</h4>

<hr>

<p align="center">
  <a href="#key-features">Key Features</a> •
  <a href="#how-to-use">How To Use</a> •
  <a href="#Install">Install</a> •
</p>

![screenshot](https://github.com/advaith-22/assets/blob/main/Modern%20Gaming%20Cover%20YouTube%20Channel%20Art.png?raw=true)

## Key Features

* Tracks your hand
* The hand connections or lines can be show or hidden
* Works for almost all computers
* Quick and not much lag
* Simple code that is easy to understand and customize if needed

## How To Use

The following code gets the x, y locations of the index finger tip and moves the mouse accordingly

```python
import handsilicon
import pyautogui
import cv2

screen_w, screen_h = pa.size()
cap = cv2.VideoCapture(0)
while 1:
    tracker = handsilicon.handtrack.hand(cap=cap, vid_exit='q')
    if tracker:
        for id, landmarks in enumerate(tracker[0]):
            x = int(landmarks.x * tracker[2])
            y = int(landmarks.y * tracker[1])
            if id == 8:
                main_x  = screen_w/tracker[2] * x
                main_y = screen_h/tracker[1] * y
                pyautogui.moveTo(main_x, main_y)
        if tracker[4] == None:
            break
```

## Install

Install with pip

```bash
$ pip install handsilicon
```

## License

MIT

---

> [http://advaith.athenaserv.com](http://advaith.athenaserv.com) &nbsp;&middot;&nbsp;
> GitHub [@advaith-22](https://github.com/advaith-22) &nbsp;&middot;&nbsp;
> Twitter [@_Advaith_S](https://twitter.com/_Advaith_S)