# 🛠️ openai-commands (`@openai`)
`@openai` is a command interface to the [OpenAI API](https://beta.openai.com/docs/introduction).
```bash
pip install openai-commands
```
```mermaid
graph LR
openai_complete["@openai<br>complete<br><prompt>"]
openai_generate_image["@openai<br>generate_image<br>filename=<filename.png><br><prompt><br><object-name>"]
openai_vision["@openai<br>vision - -<br><prompt><br><object-name>"]
litrev["@litrev<br>question=<question><br><object-name>"]
litrev_multiple["@litrev<br>multiple<br>questions=<question1+question2+...><br>to=<runner> -<br><object-name>"]
litrev_combine["@litrev<br>combine -<br><object-name-1><br><object-name-2><br><object-name>"]
text["📜 text"]:::folder
image["🖼️ image"]:::folder
object_1["object 1"]:::folder
object_2["object 2"]:::folder
object_3["object 3"]:::folder
text --> openai_complete
openai_complete --> text
text --> openai_generate_image
openai_generate_image --> image
image --> openai_vision
openai_vision --> text
object_1 --> litrev
litrev --> object_1
object_1 --> litrev_combine
object_2 --> litrev_combine
litrev_combine --> object_3
object_1 --> litrev_multiple
litrev_multiple --> object_1
litrev_multiple --> litrev
litrev_multiple --> litrev_combine
classDef folder fill:#999,stroke:#333,stroke-width:2px;
```
| | |
| --- | --- |
| [`literature review`](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/literature_review) [](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/literature_review) | [`prompt completion`](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/prompt_completion) [](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/prompt_completion) |
| [`image generation`](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/images) [](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/images) | [`vision`](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/vision) [](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/vision) |
---
🎁 [wish list and bugs](https://github.com/kamangir/openai-commands/issues/13)
[](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml) [](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml) [](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml) [](https://pypi.org/project/openai-commands/) [](https://pypistats.org/packages/openai-commands)
built by 🌀 [`blue_options-4.207.1`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.241.1`](https://github.com/kamangir/openai-commands).
Raw data
{
"_id": null,
"home_page": "https://github.com/kamangir/openai-commands",
"name": "openai-commands",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Arash Abadpour (Kamangir)",
"author_email": "arash@kamangir.net",
"download_url": "https://files.pythonhosted.org/packages/a6/9e/9d1224d94cd684dea4c2386e79d8066aafd6a15b28cbef134370f4d59cb3/openai_commands-3.241.1.tar.gz",
"platform": null,
"description": "# \ud83d\udee0\ufe0f openai-commands (`@openai`)\n\n`@openai` is a command interface to the [OpenAI API](https://beta.openai.com/docs/introduction).\n\n```bash\npip install openai-commands\n```\n\n```mermaid\ngraph LR\n openai_complete[\"@openai<br>complete<br><prompt>\"]\n\n openai_generate_image[\"@openai<br>generate_image<br>filename=<filename.png><br><prompt><br><object-name>\"]\n\n openai_vision[\"@openai<br>vision - -<br><prompt><br><object-name>\"]\n\n litrev[\"@litrev<br>question=<question><br><object-name>\"]\n litrev_multiple[\"@litrev<br>multiple<br>questions=<question1+question2+...><br>to=<runner> -<br><object-name>\"]\n litrev_combine[\"@litrev<br>combine -<br><object-name-1><br><object-name-2><br><object-name>\"]\n\n text[\"\ud83d\udcdc text\"]:::folder\n image[\"\ud83d\uddbc\ufe0f image\"]:::folder\n object_1[\"object 1\"]:::folder\n object_2[\"object 2\"]:::folder\n object_3[\"object 3\"]:::folder\n\n text --> openai_complete\n openai_complete --> text\n\n text --> openai_generate_image\n openai_generate_image --> image\n\n image --> openai_vision\n openai_vision --> text\n\n object_1 --> litrev\n litrev --> object_1\n\n object_1 --> litrev_combine\n object_2 --> litrev_combine\n litrev_combine --> object_3\n\n object_1 --> litrev_multiple\n litrev_multiple --> object_1\n litrev_multiple --> litrev\n litrev_multiple --> litrev_combine\n\n classDef folder fill:#999,stroke:#333,stroke-width:2px;\n```\n\n\n| | |\n| --- | --- |\n| [`literature review`](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/literature_review) [](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/literature_review) | [`prompt completion`](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/prompt_completion) [](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/prompt_completion) |\n| [`image generation`](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/images) [](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/images) | [`vision`](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/vision) [](https://raw.githubusercontent.com/kamangir/openai-commands/main/openai_commands/vision) |\n\n---\n\n\ud83c\udf81 [wish list and bugs](https://github.com/kamangir/openai-commands/issues/13)\n\n\n[](https://github.com/kamangir/openai-commands/actions/workflows/pylint.yml) [](https://github.com/kamangir/openai-commands/actions/workflows/pytest.yml) [](https://github.com/kamangir/openai-commands/actions/workflows/bashtest.yml) [](https://pypi.org/project/openai-commands/) [](https://pypistats.org/packages/openai-commands)\n\nbuilt by \ud83c\udf00 [`blue_options-4.207.1`](https://github.com/kamangir/awesome-bash-cli), based on [`openai_commands-3.241.1`](https://github.com/kamangir/openai-commands).\n",
"bugtrack_url": null,
"license": "Public Domain",
"summary": "\ud83d\udee0\ufe0f a command interface to the OpenAI API.",
"version": "3.241.1",
"project_urls": {
"Homepage": "https://github.com/kamangir/openai-commands"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "024070940f8149a724ac7d36eb6c0a597c48672a8daae91f7e1f7c6037c0bcb7",
"md5": "777b37cde34635a4b72ac1a4e4124b42",
"sha256": "dd26e76d71e6d5dc41dc266df56bec0feda9a12403c1538a741990f0c9b5f72b"
},
"downloads": -1,
"filename": "openai_commands-3.241.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "777b37cde34635a4b72ac1a4e4124b42",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 31974,
"upload_time": "2025-02-04T03:50:42",
"upload_time_iso_8601": "2025-02-04T03:50:42.773170Z",
"url": "https://files.pythonhosted.org/packages/02/40/70940f8149a724ac7d36eb6c0a597c48672a8daae91f7e1f7c6037c0bcb7/openai_commands-3.241.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a69e9d1224d94cd684dea4c2386e79d8066aafd6a15b28cbef134370f4d59cb3",
"md5": "3d14777cbcbc13cedb91945c64520838",
"sha256": "4982f79cdf8d9d85896f03985957fdf1ecbb85c9a5230577497c3b0aa1a0094e"
},
"downloads": -1,
"filename": "openai_commands-3.241.1.tar.gz",
"has_sig": false,
"md5_digest": "3d14777cbcbc13cedb91945c64520838",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19460,
"upload_time": "2025-02-04T03:50:44",
"upload_time_iso_8601": "2025-02-04T03:50:44.848706Z",
"url": "https://files.pythonhosted.org/packages/a6/9e/9d1224d94cd684dea4c2386e79d8066aafd6a15b28cbef134370f4d59cb3/openai_commands-3.241.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-04 03:50:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kamangir",
"github_project": "openai-commands",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "blueness",
"specs": []
},
{
"name": "abcli",
"specs": []
},
{
"name": "blueflow",
"specs": []
},
{
"name": "IPython",
"specs": []
},
{
"name": "beautifulsoup4",
"specs": []
},
{
"name": "boto3",
"specs": []
},
{
"name": "bs4",
"specs": []
},
{
"name": "Flask",
"specs": []
},
{
"name": "folium",
"specs": []
},
{
"name": "geojson",
"specs": []
},
{
"name": "geopandas",
"specs": []
},
{
"name": "matplotlib",
"specs": []
},
{
"name": "openai",
"specs": []
},
{
"name": "opencv-python",
"specs": []
},
{
"name": "pymysql",
"specs": []
},
{
"name": "pyyaml",
"specs": []
},
{
"name": "pylint",
"specs": []
},
{
"name": "pytest",
"specs": []
},
{
"name": "python-dotenv",
"specs": []
},
{
"name": "requests",
"specs": []
},
{
"name": "scikit-image",
"specs": []
},
{
"name": "tqdm",
"specs": []
}
],
"lcname": "openai-commands"
}