aoi


Nameaoi JSON
Version 0.1.2 PyPI version JSON
download
home_page
SummarySQLITE3 CLI wrapper build on python.
upload_time2023-01-04 22:34:47
maintainer
docs_urlNone
authorsarthhh
requires_python>=3.8,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 🍥 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


![](./assets/usage.png)


### 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
```
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "aoi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "sarthhh",
    "author_email": "shiva02939@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/51/5d/8506dea4020012e82d8e3aa5eb56d1d9ed88427953133d9a53bdc3b7cb9b/aoi-0.1.2.tar.gz",
    "platform": null,
    "description": "# \ud83c\udf65 aoi\n<p>\n<img src=\"https://img.shields.io/github/license/sarthhh/aoi?style=flat-square\">\n<img src=\"https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square\">\n<img src=\"https://img.shields.io/github/stars/sarthhh/aoi?style=flat-square\">\n<img src=\"https://img.shields.io/github/last-commit/sarthhh/aoi?style=flat-square\">\n<img src=\"https://img.shields.io/pypi/pyversions/aoi?style=flat-square\">\n<img src=\"https://img.shields.io/pypi/v/aoi?style=flat-square\">\n<p>\nA simple python based sqlite3 CLI.\n\n```sh\n$python -m pip install aoi\n```\n---\n\n## Usage \n```sh\n$aoi [-c \"path to connect\"]\n# if the above fails try executing using full python path. ( read note below image. )\n$python -m aoi [-c \"path to connect\"]\n```\nusing the -c/--connect option will connect the application to the provided db file path.\n\nIf no option is provided, `:memory:` ( in memory database ) will be used.\n\n## Additional Features\n\nApart from normal sqlite queries you can run the following commands within the CLI:\n\n`:h/:help`: Get help for commands.\n\n`:q/:quit`: Exit the CLI.\n\n`:r/:recent [amount=5]`: Show last [amount=5] queries.\n\n`:t/:tables`: Shows the tables inside the database\n\n\n![](./assets/usage.png)\n\n\n### NOTE\nThe `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.\n\n---\n## Installation\n* Requires Python (3.8 or later)\n\nInstalling aoi in your environment using pip, poetry or any favourable package manager\n```sh\n# pip\n$pip install aoi # from pypi\n$python -m pip install git+https://github.com/sarthhh/aoi.git # from source\n# poetry\n$poetry add aoi # from pypi\n$poetry add git+https://github.com/sarthhh/aoi.git # from source\n```",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "SQLITE3 CLI wrapper build on python.",
    "version": "0.1.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "18051f214e61d203601c008712dbc0a443c3d951ba55744fc9009edc82040c54",
                "md5": "8001ff3c2446b45ac12064ea556b1c90",
                "sha256": "6daf019d3fd027b5dc0209dea35f6e6ccda045813ff384c0c5c6cf2ff9c85b32"
            },
            "downloads": -1,
            "filename": "aoi-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8001ff3c2446b45ac12064ea556b1c90",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 6406,
            "upload_time": "2023-01-04T22:34:45",
            "upload_time_iso_8601": "2023-01-04T22:34:45.244458Z",
            "url": "https://files.pythonhosted.org/packages/18/05/1f214e61d203601c008712dbc0a443c3d951ba55744fc9009edc82040c54/aoi-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "515d8506dea4020012e82d8e3aa5eb56d1d9ed88427953133d9a53bdc3b7cb9b",
                "md5": "bb6317d0e0337a52f810d386cd6bccd2",
                "sha256": "356b0b37a8377105f929fa053f3a25878ca61bbeb928c047c4f9644217a62f1a"
            },
            "downloads": -1,
            "filename": "aoi-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "bb6317d0e0337a52f810d386cd6bccd2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 5405,
            "upload_time": "2023-01-04T22:34:47",
            "upload_time_iso_8601": "2023-01-04T22:34:47.776964Z",
            "url": "https://files.pythonhosted.org/packages/51/5d/8506dea4020012e82d8e3aa5eb56d1d9ed88427953133d9a53bdc3b7cb9b/aoi-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-04 22:34:47",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "aoi"
}
        
Elapsed time: 0.02512s