Skip to main content

An AI-powered command-line tool that generates RESTful APIs and admin interfaces based on user prompts

Project description

qwikcrud

PyPI - Version PyPI - Python Version


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

Table of Contents

Installation

pip install qwikcrud

Quickstart

Environment variables

Before running the command-line tool, ensure the following environment variables are configured:

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:

qwikcrud -o output_dir

Generated Application stack

Examples

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

  • FastAPI + SQLAlchemy
    • Restful APIs
    • Admin interfaces
    • Authentication
  • FastAPI + Beanie
  • Spring Boot

AI providers

  • 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. For example, with the OpenAI GPT-3.5-turbo-1106 model, it will cost around $0.003 to generate your application. The cost may vary depending on 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

License

qwikcrud is distributed under the terms of the Apache-2.0 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qwikcrud-0.0.3.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

qwikcrud-0.0.3-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file qwikcrud-0.0.3.tar.gz.

File metadata

  • Download URL: qwikcrud-0.0.3.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for qwikcrud-0.0.3.tar.gz
Algorithm Hash digest
SHA256 285c59e0b78914e047fea8f07a625ce633da036c49471ba5d6dd5fb0fd8b670e
MD5 9e7e1ad5555df8d971877d75bdf6ea10
BLAKE2b-256 0d04882e3160355465ac4e08e6ffc1ed1bd542f47b3a55b123375e0e1263975a

See more details on using hashes here.

File details

Details for the file qwikcrud-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: qwikcrud-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for qwikcrud-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4bf5ba6fd732dc82b9fb45ba7823bf8ae7aef098878c518fda8eb7d39441b474
MD5 0f77e90b476a7be3db494ec39bc702a6
BLAKE2b-256 b5a5c5f106fec35ff73688ff6b29340a745cebaf659f43f3d94cc7d42663c8b9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page