-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
99 lines (93 loc) · 2.91 KB
/
setup.py
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
from setuptools import find_packages, setup
# Read README for the long description
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
def __version__():
return "0.1.0b11" # Incremented version number
project_urls = {
"Homepage": "https://datafog.ai",
"Documentation": "https://docs.datafog.ai",
"Discord": "https://discord.gg/bzDth394R4",
"Twitter": "https://twitter.com/datafoginc",
"GitHub": "https://github.com/datafog/datafog-instructor",
}
setup(
name="datafog-instructor",
version=__version__(),
author="Sid Mohan",
author_email="sid@datafog.ai",
description="Scan, redact, and manage PII in your documents before they get uploaded to a Retrieval Augmented Generation (RAG) system.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=[
"torch",
"gguf",
"uvicorn[standard]",
"requests==2.32.3",
"spacy==3.7.5",
"pydantic>=2.8.2,<3.0.0",
"sentencepiece",
"protobuf",
"aiohttp",
"numpy",
"fastapi",
"asyncio",
"setuptools",
"pydantic-settings==2.3.4",
"typer==0.12.3",
"sqlmodel",
"sphinx",
"cryptography",
"rellm",
"transformers",
"sentence-transformers",
"python-dotenv",
"regex",
"uuid",
"rich",
],
extras_require={
"dev": [
"just",
"isort",
"black",
"blacken-docs",
"certifi",
"flake8",
"prettier",
"tox",
"pytest==7.4.0",
"pytest-asyncio==0.21.0",
"pytest-cov",
"mypy",
"autoflake",
"pre-commit",
],
},
python_requires=">=3.10,<3.13",
entry_points={
"console_scripts": [
"datafog-instructor=app.main:app",
],
},
classifiers=[
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: tox",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
],
keywords="transformers, models, language, models, embeddings, sentence-transformers, rag, huggingface, hugging-face, hugging-face-transformers, huggingface-transformers, huggingface-models, huggingface-embeddings, huggingface-sentence-transformers",
maintainer="Sid Mohan (DataFog, Inc.)",
maintainer_email="sid@datafog.ai",
url="https://datafog.ai",
project_urls=project_urls,
license="MIT",
)