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:
pip install promptfileloader
Metadata
Release files for PromptFileLoader 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| promptfileloader-1.0.2.tar.gz | 3.3 kB | With provenance | Details for promptfileloader-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| promptfileloader-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for promptfileloader-1.0.2-py3-none-any.whl |
Total release size: 7.0 kB
Release files / promptfileloader-1.0.2.tar.gz
| Download URL | promptfileloader-1.0.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cf93076fd38a2bf7b04238c816a616d78b2b1dd744ba69ba4af57ad75a59274
|
|
BLAKE2b-256 checksum How to use checksums |
9622f6f1cb296459f7c461e7663c5552cd04b0dfe99097da1593e40a4c280c86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 9, 2025.
Transparency logRelease files / promptfileloader-1.0.2-py3-none-any.whl
| Download URL | promptfileloader-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6222f98d6259bc4ed903c9797cfec648afd68c01ba7d4eeb9be8337bc5f97fb
|
|
BLAKE2b-256 checksum How to use checksums |
31fde1125ea997241156b76dc987aa85d56e891e8318b1b279a69623edd032e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 9, 2025.
Transparency logSecurity for PromptFileLoader 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for promptfileloader-1.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 9, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.