-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (49 loc) · 1.59 KB
/
setup.py
File metadata and controls
52 lines (49 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# BEGIN: user added these matplotlib lines to ensure any plots do not pop-up in their UI
import matplotlib
matplotlib.use('Agg') # Set the backend to non-interactive
import matplotlib.pyplot as plt
plt.ioff()
import os
os.environ['TERM'] = 'dumb'
# END: user added these matplotlib lines to ensure any plots do not pop-up in their UI
# filename: setup.py
# execution: true
from setuptools import setup, find_packages
setup(
name="promptshield",
version="1.0.0",
description="A middleware system that intercepts user prompts before they reach LLMs and intelligently filters, classifies, and routes queries.",
author="PromptShield Team",
author_email="info@promptshield.ai",
packages=find_packages(),
install_requires=[
"fastapi>=0.95.0",
"uvicorn>=0.22.0",
"pydantic>=2.0.0",
"redis>=4.5.0",
"PyYAML>=6.0",
"transformers>=4.30.0",
"openai>=0.27.0",
"anthropic>=0.3.0",
"requests>=2.28.0",
"python-dotenv>=1.0.0",
"click>=8.1.0",
"streamlit>=1.22.0"
],
entry_points={
'console_scripts': [
'promptshield=promptshield.cli:main',
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
python_requires=">=3.8",
)
print("Setup file created successfully!")