Metadata-Version: 2.4
Name: tokensfirwall
Version: 0.1.0
Summary: A lightweight kill switch & budget enforcer for OpenAI API calls
Author-email: yazeed kamel <yazed.ka51@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Yazeedx0/prompt_firewall
Project-URL: Repository, https://github.com/Yazeedx0/promptfirewall
Keywords: openai,budget,token,cost,firewall,middleware
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openai>=1.0.0
Requires-Dist: tiktoken>=0.5.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Dynamic: license-file

# PromptFirewall
Stop letting infinite loops drain your OpenAI API budget.

A lightweight, zero-configuration middleware for Python that tracks your prompt costs locally, prevents accidental loops, and enforces hard limits on your AI spending. Just add one line of code and sleep soundly
