semvec/pypi-packages huggingface dataset:
openai-billing 0.1.0a2
Fetch openai billing info from command line
License: MIT
Requires Python: >=3.8,<4.0

# openai-billing-playwright
[![pytest](https://github.com/ffreemt/openai-billing-playwright/actions/workflows/routine-tests.yml/badge.svg)](https://github.com/ffreemt/openai-billing-playwright/actions)[![python](https://img.shields.io/static/v1?label=python+&message=3.8%2B&color=blue)](https://www.python.org/downloads/)[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)[![PyPI version](https://badge.fury.io/py/openai_billing.svg)](https://badge.fury.io/py/openai-billing)

Fetch openai billing info from command line

## Install it
Download [the latest release](https://github.com/ffreemt/openai-billing-playwright/releases) and unzip.

## Use it
Run `openai-billing.exe` from command line.
```bash
openai-billing.exe --help

openai-billing.exe u@gmai.com pw1 u2@gmai.com pw2

# check two pairs
openai-billing.exe u@gmai.com pw1 u2@gmai.com pw2

# or when special characters (&, * etc) are in passwords
openai-billing.exe "u@gmai.com pw*1 u2@gmai.com pw2&"

# check pairs in clipboard
openai-billing.exe openai_billing

# check pairs in a file
openai-billing.exe --filename email-pw-pairs.txt

# use a proxy
openai-billing.exe --proxy soscks5://127.0.0.1:1080 u@gmai.com pw1 u2@gmai.com pw2

# turn on browser: to see the whole thing in action
openai-billing.exe u@gmai.com pw1 --headful

# turn on debug
set LOGURU_LEVEL=TRACE
openai-billing.exe u@gmai.com pw1 --headful
```

## Use it with python
```shell
pip install openai-billing
# pip install git+https://github.com/ffreemt/openai-billing-playwright
# poetry add git+https://github.com/ffreemt/openai-billing-playwright
# git clone https://github.com/ffreemt/openai-billing-playwright && cd openai-billing-playwright
```

```bash
python -m openai_billing

# or
openai-billing

# help
python -m openai_billing --help

# check two pairs
python -m openai_billing u@gmai.com pw1 u2@gmai.com pw2

# or special characters (&, * etc) in passwords
python -m openai_billing "u@gmai.com pw*1 u2@gmai.com pw2&"

# check pairs in clipboard
python -m openai_billing

# check pairs in a file
python -m openai_billing --filename email-pw-pairs.txt

# use a proxy
python -m openai_billing --proxy soscks5://127.0.0.1:1080 u@gmai.com pw1 u2@gmai.com pw2

# turn on browser: to see the whole thing in action
python -m openai_billing u@gmai.com pw1 --headful

# turn on debug
set LOGURU_LEVEL=TRACE
python -m openai_billing u@gmai.com pw1 --headful

```