72 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			72 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
[[source]]
 | 
						|
url = "https://pypi.python.org/simple"
 | 
						|
verify_ssl = true
 | 
						|
name = "pypi"
 | 
						|
 | 
						|
[[source]]
 | 
						|
url = "https://www.piwheels.org/simple"
 | 
						|
verify_ssl = true
 | 
						|
name = "piwheels"
 | 
						|
 | 
						|
[packages]
 | 
						|
dateparser = "~=1.1"
 | 
						|
django = "~=4.0"
 | 
						|
django-cors-headers = "*"
 | 
						|
django-extensions = "*"
 | 
						|
django-filter = "~=21.1"
 | 
						|
django-q = "~=1.3"
 | 
						|
djangorestframework = "~=3.13"
 | 
						|
filelock = "*"
 | 
						|
fuzzywuzzy = {extras = ["speedup"], version = "*"}
 | 
						|
gunicorn = "*"
 | 
						|
imap-tools = "*"
 | 
						|
langdetect = "*"
 | 
						|
pathvalidate = "*"
 | 
						|
pillow = "~=9.1"
 | 
						|
# Any version update to pikepdf requires a base image update
 | 
						|
pikepdf = "~=5.1"
 | 
						|
python-gnupg = "*"
 | 
						|
python-dotenv = "*"
 | 
						|
python-dateutil = "*"
 | 
						|
python-magic = "*"
 | 
						|
# Any version update to psycopg2 requires a base image update
 | 
						|
psycopg2 = "*"
 | 
						|
redis = "*"
 | 
						|
# Pinned because aarch64 wheels and updates cause warnings when loading the classifier model.
 | 
						|
scikit-learn="==1.0.2"
 | 
						|
whitenoise = "~=6.0.0"
 | 
						|
watchdog = "~=2.1.0"
 | 
						|
whoosh="~=2.7.4"
 | 
						|
inotifyrecursive = "~=0.3"
 | 
						|
ocrmypdf = "~=13.4"
 | 
						|
tqdm = "*"
 | 
						|
tika = "*"
 | 
						|
# TODO: This will sadly also install daphne+dependencies,
 | 
						|
#  which an ASGI server we don't need. Adds about 15MB image size.
 | 
						|
channels = "~=3.0"
 | 
						|
channels-redis = "*"
 | 
						|
uvicorn = {extras = ["standard"], version = "*"}
 | 
						|
concurrent-log-handler = "*"
 | 
						|
"pdfminer.six" = "*"
 | 
						|
"backports.zoneinfo" = {version = "*", markers = "python_version < '3.9'"}
 | 
						|
"importlib-resources" = {version = "*", markers = "python_version < '3.9'"}
 | 
						|
zipp = {version = "*", markers = "python_version < '3.9'"}
 | 
						|
pyzbar = "*"
 | 
						|
pdf2image = "*"
 | 
						|
 | 
						|
[dev-packages]
 | 
						|
coveralls = "*"
 | 
						|
factory-boy = "*"
 | 
						|
pycodestyle = "*"
 | 
						|
pytest = "*"
 | 
						|
pytest-cov = "*"
 | 
						|
pytest-django = "*"
 | 
						|
pytest-env = "*"
 | 
						|
pytest-sugar = "*"
 | 
						|
pytest-xdist = "*"
 | 
						|
sphinx = "~=4.5.0"
 | 
						|
sphinx_rtd_theme = "*"
 | 
						|
tox = "*"
 | 
						|
black = "*"
 | 
						|
pre-commit = "*"
 |