Name | qwikcrud JSON |
Version |
0.0.4
JSON |
| download |
home_page | |
Summary | An AI-powered command-line tool that generates RESTful APIs and admin interfaces based on user prompts |
upload_time | 2023-12-18 22:02:57 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.9 |
license | |
keywords |
ai
chatgpt
crud
fastapi
sqlalchemy
starlette-admin
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# qwikcrud
[![PyPI - Version](https://img.shields.io/pypi/v/qwikcrud.svg)](https://pypi.org/project/qwikcrud)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qwikcrud.svg)](https://pypi.org/project/qwikcrud)
-----
`qwikcrud` is a powerful command-line tool designed to enhance your backend development experience by automating the
generation of comprehensive REST APIs and admin interfaces. Say goodbye to the tedious task of
writing repetitive CRUD (Create, Read, Update, Delete) endpoints when starting a new project, allowing developers to
concentrate on the core business logic and functionality.
> [!WARNING]
> The generated application is not ready for production use. Additional steps are required to
> set up a secure and production-ready environment.
[![qwikcrud demo](https://github.com/jowilf/qwikcrud/assets/31705179/fc010d41-597c-4ab7-a0ad-22570ba3b182)](https://youtu.be/XYuLDk0bjQA "qwikcrud demo - A restaurant management app")
## Table of Contents
* [Installation](#installation)
* [Quickstart](#quickstart)
* [Environment variables](#environment-variables)
* [Usage](#usage)
* [Generated Application stack](#generated-application-stack)
* [Roadmap](#roadmap)
* [Contributing](#contributing)
* [Acknowledgments](#acknowledgments)
* [License](#license)
## Installation
```shell
pip install qwikcrud
```
## Quickstart
### Environment variables
Before running the command-line tool, ensure the following environment variables are configured:
#### Google
```shell
export GOOGLE_API_KEY="your_google_api_key"
```
#### OpenAI
```shell
export OPENAI_API_KEY="your_openai_api_key"
export OPENAI_MODEL="your_openai_model" # Defaults to "gpt-3.5-turbo-1106"
```
### Usage
To generate your application, open your terminal, run the following command and follow the instructions:
#### Google
```shell
qwikcrud -o output_dir
```
#### OpenAI
```shell
qwikcrud -o output_dir --ai openai
```
### Generated Application stack
- [FastAPI](https://fastapi.tiangolo.com/)
- [SQLAlchemy v2](https://www.sqlalchemy.org/)
- [Pydantic v2](https://docs.pydantic.dev/latest/)
- [Starlette-admin](https://github.com/jowilf/starlette-admin)
- [SQLAlchemy-file](https://github.com/jowilf/sqlalchemy-file)
### Examples
- Task
Management ([prompt](./examples/fastapi/task-management/prompt), [generated app](./examples/fastapi/task-management/generated))
## Roadmap
`qwikcrud` is designed to support various frameworks and AI providers. Here's an overview of what has been accomplished
and
what is planned for the future:
### Frameworks
- [x] FastAPI + SQLAlchemy
- [x] Restful APIs
- [x] Admin interfaces
- [ ] Authentication
- [ ] FastAPI + Beanie
- [ ] Spring Boot
### AI providers
- [x] Google (_default_)
- [x] OpenAI
- [ ] Anthropic
- [ ] Ollama (_self-hosted LLMs_)
## Pricing
`qwikcrud` makes one API call per prompt and add a system prompt of around 900 tokens to
your prompt.
- **Google**: Currently free.
- **OpenAI**: With the default gpt-3.5-turbo model, each app generation costs approximately $0.003. The exact cost can
vary slightly based on the model selected and the output length
## Contributing
Contributions are welcome and greatly appreciated! If you have ideas for improvements or encounter issues, please feel
free to submit a pull request or open an issue.
## Acknowledgments
- The FastAPI + SQLAlchemy template is inspired by the excellent work
in [full-stack-fastapi-postgresql](https://github.com/tiangolo/full-stack-fastapi-postgresql)
by [Sebastian Ramirez (tiangolo)].
## License
``qwikcrud`` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
Raw data
{
"_id": null,
"home_page": "",
"name": "qwikcrud",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "ai,chatgpt,crud,fastapi,sqlalchemy,starlette-admin",
"author": "",
"author_email": "Jocelin Hounon <hounonj@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/0b/ae/94e752f6673cb901f14289e75ca800ff6d209297c29d0a395dd39a144357/qwikcrud-0.0.4.tar.gz",
"platform": null,
"description": "# qwikcrud\n\n[![PyPI - Version](https://img.shields.io/pypi/v/qwikcrud.svg)](https://pypi.org/project/qwikcrud)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/qwikcrud.svg)](https://pypi.org/project/qwikcrud)\n\n-----\n\n`qwikcrud` is a powerful command-line tool designed to enhance your backend development experience by automating the\ngeneration of comprehensive REST APIs and admin interfaces. Say goodbye to the tedious task of\nwriting repetitive CRUD (Create, Read, Update, Delete) endpoints when starting a new project, allowing developers to\nconcentrate on the core business logic and functionality.\n\n> [!WARNING]\n> The generated application is not ready for production use. Additional steps are required to\n> set up a secure and production-ready environment.\n\n\n[![qwikcrud demo](https://github.com/jowilf/qwikcrud/assets/31705179/fc010d41-597c-4ab7-a0ad-22570ba3b182)](https://youtu.be/XYuLDk0bjQA \"qwikcrud demo - A restaurant management app\")\n\n## Table of Contents\n\n* [Installation](#installation)\n* [Quickstart](#quickstart)\n * [Environment variables](#environment-variables)\n * [Usage](#usage)\n * [Generated Application stack](#generated-application-stack)\n* [Roadmap](#roadmap)\n* [Contributing](#contributing)\n* [Acknowledgments](#acknowledgments)\n* [License](#license)\n\n## Installation\n\n```shell\npip install qwikcrud\n```\n\n## Quickstart\n\n### Environment variables\n\nBefore running the command-line tool, ensure the following environment variables are configured:\n\n#### Google\n\n```shell\nexport GOOGLE_API_KEY=\"your_google_api_key\"\n```\n\n#### OpenAI\n\n```shell\nexport OPENAI_API_KEY=\"your_openai_api_key\"\nexport OPENAI_MODEL=\"your_openai_model\" # Defaults to \"gpt-3.5-turbo-1106\"\n```\n\n### Usage\n\nTo generate your application, open your terminal, run the following command and follow the instructions:\n\n#### Google\n\n```shell\nqwikcrud -o output_dir\n```\n\n#### OpenAI\n\n```shell\nqwikcrud -o output_dir --ai openai\n```\n\n### Generated Application stack\n\n- [FastAPI](https://fastapi.tiangolo.com/)\n- [SQLAlchemy v2](https://www.sqlalchemy.org/)\n- [Pydantic v2](https://docs.pydantic.dev/latest/)\n- [Starlette-admin](https://github.com/jowilf/starlette-admin)\n- [SQLAlchemy-file](https://github.com/jowilf/sqlalchemy-file)\n\n### Examples\n\n- Task\n Management ([prompt](./examples/fastapi/task-management/prompt), [generated app](./examples/fastapi/task-management/generated))\n\n## Roadmap\n\n`qwikcrud` is designed to support various frameworks and AI providers. Here's an overview of what has been accomplished\nand\nwhat is planned for the future:\n\n### Frameworks\n\n- [x] FastAPI + SQLAlchemy\n - [x] Restful APIs\n - [x] Admin interfaces\n - [ ] Authentication\n- [ ] FastAPI + Beanie\n- [ ] Spring Boot\n\n### AI providers\n\n- [x] Google (_default_)\n- [x] OpenAI\n- [ ] Anthropic\n- [ ] Ollama (_self-hosted LLMs_)\n\n## Pricing\n\n`qwikcrud` makes one API call per prompt and add a system prompt of around 900 tokens to\nyour prompt.\n\n- **Google**: Currently free.\n- **OpenAI**: With the default gpt-3.5-turbo model, each app generation costs approximately $0.003. The exact cost can\n vary slightly based on the model selected and the output length\n\n## Contributing\n\nContributions are welcome and greatly appreciated! If you have ideas for improvements or encounter issues, please feel\nfree to submit a pull request or open an issue.\n\n## Acknowledgments\n\n- The FastAPI + SQLAlchemy template is inspired by the excellent work\n in [full-stack-fastapi-postgresql](https://github.com/tiangolo/full-stack-fastapi-postgresql)\n by [Sebastian Ramirez (tiangolo)].\n\n## License\n\n``qwikcrud`` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.\n",
"bugtrack_url": null,
"license": "",
"summary": "An AI-powered command-line tool that generates RESTful APIs and admin interfaces based on user prompts",
"version": "0.0.4",
"project_urls": {
"Documentation": "https://github.com/jowilf/qwikcrud/#readme",
"Issues": "https://github.com/jowilf/qwikcrud/issues",
"Source": "https://github.com/jowilf/qwikcrud"
},
"split_keywords": [
"ai",
"chatgpt",
"crud",
"fastapi",
"sqlalchemy",
"starlette-admin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "683d203e753adbb1fd4cde8c8438715c84b45187dcd3d2903bb718a519be2e33",
"md5": "aa0575eab7d21ef00c504dccbecf8c57",
"sha256": "a3a5e6d7fe3c25e550041cdbc3a5fee77e997a0feff4475d0c167b6b4615bb66"
},
"downloads": -1,
"filename": "qwikcrud-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "aa0575eab7d21ef00c504dccbecf8c57",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 30805,
"upload_time": "2023-12-18T22:02:52",
"upload_time_iso_8601": "2023-12-18T22:02:52.949242Z",
"url": "https://files.pythonhosted.org/packages/68/3d/203e753adbb1fd4cde8c8438715c84b45187dcd3d2903bb718a519be2e33/qwikcrud-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0bae94e752f6673cb901f14289e75ca800ff6d209297c29d0a395dd39a144357",
"md5": "9debfd2e192d0b650e0fb9cb4845e11b",
"sha256": "290a1d3e44d651f21609ddc4fffeadaf447618d061b8528829c5aea881b6504d"
},
"downloads": -1,
"filename": "qwikcrud-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "9debfd2e192d0b650e0fb9cb4845e11b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 41617,
"upload_time": "2023-12-18T22:02:57",
"upload_time_iso_8601": "2023-12-18T22:02:57.556078Z",
"url": "https://files.pythonhosted.org/packages/0b/ae/94e752f6673cb901f14289e75ca800ff6d209297c29d0a395dd39a144357/qwikcrud-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-18 22:02:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jowilf",
"github_project": "qwikcrud",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "qwikcrud"
}