Skip to main content

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.

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:

Google

export GOOGLE_API_KEY="your_google_api_key"

OpenAI

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

qwikcrud -o output_dir

OpenAI

qwikcrud -o output_dir --ai openai

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

  • Google (default)
  • 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

License

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

Metadata

Release files for qwikcrud 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qwikcrud 0.0.4
File Size Uploaded
qwikcrud-0.0.4.tar.gz 41.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qwikcrud 0.0.4
File Interpreter ABI Platform
qwikcrud-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 72.4 kB

Release files / qwikcrud-0.0.4.tar.gz

Download URL qwikcrud-0.0.4.tar.gz
Size 41.6 kB
Tags Source
SHA-256 checksum
How to use checksums
290a1d3e44d651f21609ddc4fffeadaf447618d061b8528829c5aea881b6504d
BLAKE2b-256 checksum
How to use checksums
0bae94e752f6673cb901f14289e75ca800ff6d209297c29d0a395dd39a144357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / qwikcrud-0.0.4-py3-none-any.whl

Download URL qwikcrud-0.0.4-py3-none-any.whl
Size 30.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3a5e6d7fe3c25e550041cdbc3a5fee77e997a0feff4475d0c167b6b4615bb66
BLAKE2b-256 checksum
How to use checksums
683d203e753adbb1fd4cde8c8438715c84b45187dcd3d2903bb718a519be2e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page