semvec/pypi-packages huggingface dataset:
ocr-meter 0.0.7
A small example package
Requires Python: >=3.8

## Overview
OCR Meter Reading
## Setup
`conda create -n ocr_meter python=3.8`

`conda activate ocr_meter`

`pip install ocr-meter==0.0.6`

Example code:
```
from ocr import ocr
img_path = "tests/meter/5/1.png"
ocr_meter = ocr.OcrMeter()
# num_digit: number black digits
# meter_type choice in (water, electicity, gas)
ocr_meter.inference_single(img_path, num_digit=5, meter_type="water")
```
surreal-db-python 1.0.2
Python client for the Surreal Database (Websocket not supported)

# surreal-db-python

A pure python (and compilable) database client for SurrealDB.

## Installation

1. Install with

```bash
pip install surreal-db-python
```

## Usage

```py
import surreal

client = surreal.SurrealDB(
    host: str,
    username: str,
    password: str,
    db: str,
    namespace: str
)

client.execute("CREATE deez:nut SET nice = 69 + 420;")
client.fetch("SELECT * FROM deez:nut;")
```

## Features

- Supported Asynchronous Operation (with class `AsyncSurrealDB`) (`AsyncSurrealDB` have same API as `SurrealDB but you await them.)
- (not) Supported websocket (yet)

## Build from source

1. Clone repository

2. `poetry install`

3. `./setup.py sdist bdist_wheel` for wheel or `./setup.py install` for install package directly (egg included)
sachin-webserver 2.0.6
This is a small web server to serve PHP/Web files
Keywords: php webserver localhost

# webserver
This is simple webserver that uses PHP development Environments.  
This helps you to use local-webserver for your developement environment.  
This feature comes along with the PHP you have on you computer.  
This program just help to access it with single command.  
This is a Command-Line Tool  

----------------------------------------------------
## Installation
(Note: To use this module, you must have PHP installed in your device [which you can download from here](https://www.php.net/downloads)  
add it in your system path variable)  
You can find .whl(wheel) file in dist folder.  
Navigate to dist folder and hit the following command  
````cmd
python -m pip install wheel_file_name ; try pip3 if pip didn't work.  
````
## Warning
For Python version above or equals to 3.10, only version 3 (webserver-1.0.3-py3-none-any.whl) will work.  
I don't know but I find it hard to install pathlib in these versions of python which is essential package for webserver.  
However, version 3 (webserver) uses pathlib2 so it is good to go.  

There is no difference between v2 and v3 otherthan pathlib packages
## Usages
1. Basic Command
````powershell
    server --help
````
This displayes all the options

2. Starting Server
````powershell
    server
````
This start server on port 8000
URL: http://localhost:8000

3. Passing Options
host: your hostname. Default localhost or 127.0.0.1  
port your port. Default 8000  
````powershell
    server --host hostname --port port_number # These are optional parameter. These are not manditory
````
If --update is passed along with the above flags, Host and Port will be added to settings.json

4. Opening PHPMYADMIN
````powershell
    server --admin
````
This opens phpmyadmin.  
cannot use this with --admin  
It opens PhpMyAdmin under the port and host found in settings.json in installed folder or  
The PORT and HOST passed with flag --port and --host previously.  
To Access and edit this file, --set can be use as a flag.  
````powershell
    server --set
````

[More](webserver/README.md)
flwave 1.0
A Python Package that enables easy integration of Flutterwave Payment Platform into a new or already existing python project
Requires Python: >=3.7
Keywords: flutterwave,payment,django,flask,flutter


![Logo](https://i.postimg.cc/9Q0y8PtC/White-and-Black-Minimalist-Elegant-Boutique-Logo-cropped.png)


# FLWAVE LIBRARY

This Library Enables Easy Integration of Standard Flutterwave API into a python project New or Existing. It contains functions to initiate and Verify Transaction(s).

## Installation

To install the package via pip use:

```bash
  pip install flwave
```
    
## Usage/Examples
1. To Initiate a transaction:

```javascript
from flwave import flwaveapi
```

2. To Verfify A Transaction Using Transaction Reference:

```javascript
from flwaveapi import verify_transaction
```

3. To Verify a Transaction using Transaction ID:

```javascript
from flwaveapi import verfify_transaction
```

4. To Create Refund for a transaction:

```javascript
from flwaveapi import make_refund
```

5. To get transaction details (Single or Multiple):

```javascript
from flwaveapi import transaction_details
```





## LIBRARY FUNCTIONS

| Funtion |Required Arguments     | Description                |
| :-------- | :------- | :------------------------- |
| `create_transaction` | key`string`, amount`float`, e-mail`string`, redirect_url`string`, url`string`|This function makes a POST request to flutterwave payment API and returns a unique payment link.
| `verify_transaction`|  key`string` |This function makes a GET request to flutterwave verify Transaction API and returns a Dict Containing Details of Transaction. |
| `make_refund` | key`string`, txn_id`int` |  This function makes a POST request to make a refund in a disputed Transaction.|
| `transaction_details` |key`string` | This function makes a GET request to flutterwave and returns a Dict Containing Details of Transaction. |


The Output of each Function above is a python dictionary.This dictionary should be parsed to retrieve needed information.
## Contributing

Contributions are always welcome!

Please feel free to reach out to the creator for pull request and other possible questions regarding the use of this library.


## Documentation
For more info visit Flutterwave official API Docs: 

[Documentation](https://developer.flutterwave.com)


## License

[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)


## Appendix

PYPI Link: https://pypi.org/project/flwave/