Metadata-Version: 2.4
Name: PromptFileLoader
Version: 1.0.1
Summary: A simple prompt loader supporting YAML and TXT files with caching
Home-page: https://github.com/akashhkrishh/PromptFileLoader
Author: Akashh Krishh
Author-email: akashhkrishh@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PyYAML
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# PromptFileLoader

A simple and efficient Python package to load prompt files in YAML or TXT format with built-in caching.

---

## Overview

`PromptFileLoader` helps you easy to load prompt files for your applications, supporting both:

- YAML files (`.yaml`, `.yml`) parsed into Python dictionaries or lists, and  
- Plain text files (`.txt`) loaded as strings.

It caches loaded files internally for faster repeated access without redundant disk reads.

---

## Features

- Supports YAML and TXT prompt files  
- Caching to optimize file loading performance  
- Easy to initialize with a custom prompts directory or default folder  
- Minimal dependencies (only requires PyYAML)  
- Clear error handling for missing files or unsupported extensions

---

## Installation

Install via pip:

```bash
pip install promptfileloader
