aoi-0.1.2
توضیحات
SQLITE3 CLI wrapper build on python.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aoi-0.1.2 |
| نام | aoi |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | sarthhh |
| ایمیل نویسنده | shiva02939@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/aoi/ |
| مجوز | MIT |
# 🍥 aoi
<p>
<img src="https://img.shields.io/github/license/sarthhh/aoi?style=flat-square">
<img src="https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square">
<img src="https://img.shields.io/github/stars/sarthhh/aoi?style=flat-square">
<img src="https://img.shields.io/github/last-commit/sarthhh/aoi?style=flat-square">
<img src="https://img.shields.io/pypi/pyversions/aoi?style=flat-square">
<img src="https://img.shields.io/pypi/v/aoi?style=flat-square">
<p>
A simple python based sqlite3 CLI.
```sh
$python -m pip install aoi
```
---
## Usage
```sh
$aoi [-c "path to connect"]
# if the above fails try executing using full python path. ( read note below image. )
$python -m aoi [-c "path to connect"]
```
using the -c/--connect option will connect the application to the provided db file path.
If no option is provided, `:memory:` ( in memory database ) will be used.
## Additional Features
Apart from normal sqlite queries you can run the following commands within the CLI:
`:h/:help`: Get help for commands.
`:q/:quit`: Exit the CLI.
`:r/:recent [amount=5]`: Show last [amount=5] queries.
`:t/:tables`: Shows the tables inside the database

### NOTE
The `aoi` command may fail if the executeable's path wasn't added to the terminal's/system's PATH, however running the library as a module ( `python -m aoi` ) will always work as long as python is added to path.
---
## Installation
* Requires Python (3.8 or later)
Installing aoi in your environment using pip, poetry or any favourable package manager
```sh
# pip
$pip install aoi # from pypi
$python -m pip install git+https://github.com/sarthhh/aoi.git # from source
# poetry
$poetry add aoi # from pypi
$poetry add git+https://github.com/sarthhh/aoi.git # from source
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl aoi-0.1.2:
pip install aoi-0.1.2.whl
نصب پکیج tar.gz aoi-0.1.2:
pip install aoi-0.1.2.tar.gz