[build-system] requires = ["setuptools>=42", "wheel"] build-backend = "setuptools.build_meta" [project] name = "document-analysis-app" version = "0.1.0" description = "تطبيق تحليل المستندات باستخدام Docling و MLX VLM" requires-python = ">=3.8" dependencies = [ # الاعتماديات الأساسية "streamlit==1.32.0", "pandas==2.2.0", "numpy==1.26.3", "matplotlib==3.8.2", "seaborn==0.13.1", "plotly==5.18.0", # معالجة البيانات "openpyxl==3.1.2", "xlrd==2.0.1", "xlsxwriter==3.1.9", "pyarrow==14.0.1", # تحليل المستندات "PyPDF2==3.0.1", "python-docx==1.1.0", "pdf2image==1.17.0", "pytesseract==0.3.10", "pymupdf==1.23.7", "pdfplumber==0.10.3", "opencv-python-headless==4.8.1.78", # معالجة اللغة العربية "arabic-reshaper==3.0.0", "python-bidi==0.4.2", "langdetect==1.0.9", "farasapy==0.0.14", # الذكاء الاصطناعي والتعلم الآلي "scikit-learn==1.4.0", "transformers>=4.49.0", # تم تحديث الإصدار ليتوافق مع mlx-vlm "torch==2.1.2", "nltk==3.8.1", "gensim==4.3.2", # قواعد البيانات "SQLAlchemy==2.0.25", "SQLAlchemy-Utils==0.41.1", "alembic==1.13.1", "sqlite-utils==3.35.1", # مكونات واجهة المستخدم "streamlit-option-menu==0.3.2", "streamlit-elements==0.1.0", "streamlit-aggrid==0.3.4.post3", "streamlit-authenticator==0.2.3", "streamlit-extras==0.3.5", "streamlit-image-coordinates==0.1.6", # أدوات وتبعيات إضافية "pycountry==23.12.11", "watchdog==3.0.0", "python-dateutil==2.8.2", "python-dotenv==1.0.0", "requests==2.31.0", "tqdm>=4.66.2", "joblib==1.3.2", "ipython==8.20.0", # مكتبات Docling و MLX VLM للتحليل المتقدم "docling-core>=0.1.0", "mlx-vlm>=0.1.0", "mlx>=0.0.4", "pillow>=10.3.0", # تم تحديث الإصدار ليتوافق مع mlx-vlm "protobuf>=3.19.0,<4.0.0", ] [project.optional-dependencies] dev = [ "pytest>=6.0", "black>=22.1.0", "flake8>=4.0.0", ] [tool.setuptools] packages = ["modules"] # متطلبات النموذج [tool.script] requires-python = ">=3.8" dependencies = [ "docling-core", "mlx-vlm", "pillow>=10.3.0", "tqdm>=4.66.2", "transformers>=4.49.0" ]