Skip to main content

A python cookiecutter application to create a new python project for GenAI RAG application that uses poetry to manage its dependencies.

Project description

Cookiecutter General AI RAG Application Development Template

This is a modern Cookiecutter template for initializing Python projects, particularly for General AI RAG Application Development. It provides a comprehensive setup for development, testing, and deployment, incorporating essential tools for effective project management.

Features

This template includes the following features:

You can find an example repository created using this template here.

Quickstart

To get started, follow these steps:

Step 1: Install cookiecutter-rag

First, navigate to the directory where you want to create the project and run:

pip install cookiecutter-rag

Alternatively, you can install cookiecutter and use the GitHub repository URL directly:

pip install cookiecutter
cookiecutter git@github.com:DeepakPant93/cookiecutter-rag.git

Step 2: Create a GitHub Repository

Create a new repository on GitHub, then run the following commands in your terminal, replacing <project-name> with your GitHub repository name and <github_author_handle> with your GitHub username:

cd <project_name>
make init-repo

Step 3: Install the Environment and Pre-commit Hooks

Run the following command to install the environment and pre-commit hooks:

make bake-env

Now you're all set to start development! The CI/CD pipeline will automatically trigger on pull requests, merges to the main branch, and new releases.

For instructions on publishing to PyPI, refer to this guide. To enable automatic documentation with MkDocs, follow the steps in this guide. For code coverage setup, refer to this guide.

Documentation

You can find the documentation for this template here.

Acknowledgements

This project is inspired by Audrey Feldroy's excellent work on the cookiecutter-pypackage template.

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

cookiecutter_rag-0.0.1.tar.gz (107.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cookiecutter_rag-0.0.1-py3-none-any.whl (121.1 kB view details)

Uploaded Python 3

File details

Details for the file cookiecutter_rag-0.0.1.tar.gz.

File metadata

  • Download URL: cookiecutter_rag-0.0.1.tar.gz
  • Upload date:
  • Size: 107.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.8 Linux/6.5.0-1025-azure

File hashes

Hashes for cookiecutter_rag-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d9373be42fb7991f1e18e6d0fddc988f6b2a393995f7c1f3befb2b71b7c4713a
MD5 09ba18ccb1054ff894d35b4a9985a011
BLAKE2b-256 694de0ead7ba14f87bd42b0eb812fab00ebf4f0482f03a6af1a451646a124e03

See more details on using hashes here.

File details

Details for the file cookiecutter_rag-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cookiecutter_rag-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 121.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.8 Linux/6.5.0-1025-azure

File hashes

Hashes for cookiecutter_rag-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f695b029b274b05f4ad82dabfb241accaf415873a680b1da3cbb90e4b8ddec5
MD5 1477cc1b1a3feab70e9a40cc862cd908
BLAKE2b-256 828c19eed1fa6c34d4408e9b1ddf7c98e7aad61d922c516bc8124f754c0d0cff

See more details on using hashes here.

Supported by

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