Loading pkgs/development/python-modules/python-iso639/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "python-iso639"; version = "2025.2.18"; pyproject = true; src = fetchFromGitHub { owner = "jacksonllee"; repo = "iso639"; tag = "v${version}"; hash = "sha256-CVLyeXA0FXLCthNO3SLgTvxi4sJI5fPhuqEbnDb4L/s="; }; build-system = [ setuptools ]; pythonImportsCheck = [ "iso639" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/jacksonllee/iso639/blob/${src.tag}/CHANGELOG.md"; description = "ISO 639 language codes, names, and other associated information"; homepage = "https://github.com/jacksonllee/iso639"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; }; } pkgs/development/python-modules/python-oxmsg/default.nix 0 → 100644 +46 −0 Original line number Diff line number Diff line { buildPythonPackage, click, fetchFromGitHub, lib, olefile, pytestCheckHook, setuptools, typing-extensions, }: buildPythonPackage rec { pname = "python-oxmsg"; version = "0.0.2"; pyproject = true; src = fetchFromGitHub { owner = "scanny"; repo = "python-oxmsg"; tag = "v${version}"; hash = "sha256-ramM27+SylBeJyb3kkRm1xn3qAefiLuBOvI/iucK2wM="; }; build-system = [ setuptools ]; dependencies = [ click olefile typing-extensions ]; pythonImportsCheck = [ "oxmsg" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/scanny/python-oxmsg/blob/${src.tag}/CHANGELOG.md"; description = "Extract attachments from Outlook .msg files"; homepage = "https://github.com/scanny/python-oxmsg"; license = lib.licenses.mit; mainProgram = "oxmsg"; maintainers = with lib.maintainers; [ dotlambda ]; }; } pkgs/development/python-modules/typing-inspection/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, hatchling, lib, pytestCheckHook, typing-extensions, }: buildPythonPackage rec { pname = "typing-inspection"; version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "pydantic"; repo = "typing-inspection"; tag = "v${version}"; hash = "sha256-sWWO+TRqNf791s+q5YeEcl9ZMHCBuxQLGXHmEk1AU0Y="; }; build-system = [ hatchling ]; dependencies = [ typing-extensions ]; pythonImportsCheck = [ "typing_inspection" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/pydantic/typing-inspection/releases/tag/${src.tag}"; description = "Runtime typing introspection tools"; homepage = "https://github.com/pydantic/typing-inspection"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; } pkgs/development/python-modules/unstructured-client/default.nix 0 → 100644 +75 −0 Original line number Diff line number Diff line { aiofiles, buildPythonPackage, cryptography, deepdiff, eval-type-backport, fetchFromGitHub, httpx, lib, nest-asyncio, poetry-core, pydantic, pypdf, pytest-asyncio, pytestCheckHook, python, python-dateutil, requests-toolbelt, typing-inspection, }: buildPythonPackage rec { pname = "unstructured-client"; version = "0.31.5"; pyproject = true; src = fetchFromGitHub { owner = "Unstructured-IO"; repo = "unstructured-python-client"; tag = "v${version}"; hash = "sha256-b5Hnp3XKuuGUWEFhQzTArUUWbsZ2+Q2Iz+3+WjMn4XU="; }; preBuild = '' ${python.interpreter} scripts/prepare_readme.py ''; build-system = [ poetry-core ]; dependencies = [ aiofiles cryptography eval-type-backport httpx nest-asyncio pydantic pypdf python-dateutil requests-toolbelt typing-inspection ]; pythonImportsCheck = [ "unstructured_client" ]; nativeCheckInputs = [ deepdiff pytest-asyncio pytestCheckHook ]; pytestFlagsArray = [ # see test-unit in Makefile "_test_unstructured_client" "-k" "unit" ]; meta = { changelog = "https://github.com/Unstructured-IO/unstructured-python-client/blob/${src.tag}/RELEASES.md"; description = "Python Client SDK for Unstructured API"; homepage = "https://github.com/Unstructured-IO/unstructured-python-client"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; } pkgs/development/python-modules/unstructured/default.nix +15 −10 Original line number Diff line number Diff line Loading @@ -3,6 +3,9 @@ buildPythonPackage, fetchFromGitHub, # build-system setuptools, # core networking and async dependencies anyio, backoff, Loading Loading @@ -30,9 +33,9 @@ olefile, orderly-set, python-dateutil, # python-iso639, python-iso639, python-magic, # python-oxmsg, python-oxmsg, rapidfuzz, regex, soupsieve, Loading Loading @@ -65,7 +68,7 @@ pypandoc, pypdf, python-docx, # unstructured-client, unstructured-client, # unstructured-pytesseract, # optional dependencies # csv Loading Loading @@ -113,21 +116,23 @@ grpcio, }: let version = "0.16.15"; version = "0.17.2"; in buildPythonPackage { pname = "unstructured"; inherit version; format = "setuptools"; pyproject = true; src = fetchFromGitHub { owner = "Unstructured-IO"; repo = "unstructured"; tag = version; hash = "sha256-Wp51LOgM/zE81324Qzu83XGupUMAzz2wn+COmNq95H8="; hash = "sha256-DbNfhJzpPJObACWSc2r16kjIE2X/CrOCiT7fdgGNwIg="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ # Base dependencies anyio backoff Loading Loading @@ -163,9 +168,9 @@ buildPythonPackage { pycparser pypdf python-dateutil # python-iso639 python-iso639 python-magic # python-oxmsg python-oxmsg rapidfuzz regex requests Loading @@ -176,7 +181,7 @@ buildPythonPackage { tqdm typing-extensions typing-inspect # unstructured-client unstructured-client urllib3 webencodings wrapt Loading Loading
pkgs/development/python-modules/python-iso639/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "python-iso639"; version = "2025.2.18"; pyproject = true; src = fetchFromGitHub { owner = "jacksonllee"; repo = "iso639"; tag = "v${version}"; hash = "sha256-CVLyeXA0FXLCthNO3SLgTvxi4sJI5fPhuqEbnDb4L/s="; }; build-system = [ setuptools ]; pythonImportsCheck = [ "iso639" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/jacksonllee/iso639/blob/${src.tag}/CHANGELOG.md"; description = "ISO 639 language codes, names, and other associated information"; homepage = "https://github.com/jacksonllee/iso639"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ dotlambda ]; }; }
pkgs/development/python-modules/python-oxmsg/default.nix 0 → 100644 +46 −0 Original line number Diff line number Diff line { buildPythonPackage, click, fetchFromGitHub, lib, olefile, pytestCheckHook, setuptools, typing-extensions, }: buildPythonPackage rec { pname = "python-oxmsg"; version = "0.0.2"; pyproject = true; src = fetchFromGitHub { owner = "scanny"; repo = "python-oxmsg"; tag = "v${version}"; hash = "sha256-ramM27+SylBeJyb3kkRm1xn3qAefiLuBOvI/iucK2wM="; }; build-system = [ setuptools ]; dependencies = [ click olefile typing-extensions ]; pythonImportsCheck = [ "oxmsg" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/scanny/python-oxmsg/blob/${src.tag}/CHANGELOG.md"; description = "Extract attachments from Outlook .msg files"; homepage = "https://github.com/scanny/python-oxmsg"; license = lib.licenses.mit; mainProgram = "oxmsg"; maintainers = with lib.maintainers; [ dotlambda ]; }; }
pkgs/development/python-modules/typing-inspection/default.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { buildPythonPackage, fetchFromGitHub, hatchling, lib, pytestCheckHook, typing-extensions, }: buildPythonPackage rec { pname = "typing-inspection"; version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "pydantic"; repo = "typing-inspection"; tag = "v${version}"; hash = "sha256-sWWO+TRqNf791s+q5YeEcl9ZMHCBuxQLGXHmEk1AU0Y="; }; build-system = [ hatchling ]; dependencies = [ typing-extensions ]; pythonImportsCheck = [ "typing_inspection" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/pydantic/typing-inspection/releases/tag/${src.tag}"; description = "Runtime typing introspection tools"; homepage = "https://github.com/pydantic/typing-inspection"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; }
pkgs/development/python-modules/unstructured-client/default.nix 0 → 100644 +75 −0 Original line number Diff line number Diff line { aiofiles, buildPythonPackage, cryptography, deepdiff, eval-type-backport, fetchFromGitHub, httpx, lib, nest-asyncio, poetry-core, pydantic, pypdf, pytest-asyncio, pytestCheckHook, python, python-dateutil, requests-toolbelt, typing-inspection, }: buildPythonPackage rec { pname = "unstructured-client"; version = "0.31.5"; pyproject = true; src = fetchFromGitHub { owner = "Unstructured-IO"; repo = "unstructured-python-client"; tag = "v${version}"; hash = "sha256-b5Hnp3XKuuGUWEFhQzTArUUWbsZ2+Q2Iz+3+WjMn4XU="; }; preBuild = '' ${python.interpreter} scripts/prepare_readme.py ''; build-system = [ poetry-core ]; dependencies = [ aiofiles cryptography eval-type-backport httpx nest-asyncio pydantic pypdf python-dateutil requests-toolbelt typing-inspection ]; pythonImportsCheck = [ "unstructured_client" ]; nativeCheckInputs = [ deepdiff pytest-asyncio pytestCheckHook ]; pytestFlagsArray = [ # see test-unit in Makefile "_test_unstructured_client" "-k" "unit" ]; meta = { changelog = "https://github.com/Unstructured-IO/unstructured-python-client/blob/${src.tag}/RELEASES.md"; description = "Python Client SDK for Unstructured API"; homepage = "https://github.com/Unstructured-IO/unstructured-python-client"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; }
pkgs/development/python-modules/unstructured/default.nix +15 −10 Original line number Diff line number Diff line Loading @@ -3,6 +3,9 @@ buildPythonPackage, fetchFromGitHub, # build-system setuptools, # core networking and async dependencies anyio, backoff, Loading Loading @@ -30,9 +33,9 @@ olefile, orderly-set, python-dateutil, # python-iso639, python-iso639, python-magic, # python-oxmsg, python-oxmsg, rapidfuzz, regex, soupsieve, Loading Loading @@ -65,7 +68,7 @@ pypandoc, pypdf, python-docx, # unstructured-client, unstructured-client, # unstructured-pytesseract, # optional dependencies # csv Loading Loading @@ -113,21 +116,23 @@ grpcio, }: let version = "0.16.15"; version = "0.17.2"; in buildPythonPackage { pname = "unstructured"; inherit version; format = "setuptools"; pyproject = true; src = fetchFromGitHub { owner = "Unstructured-IO"; repo = "unstructured"; tag = version; hash = "sha256-Wp51LOgM/zE81324Qzu83XGupUMAzz2wn+COmNq95H8="; hash = "sha256-DbNfhJzpPJObACWSc2r16kjIE2X/CrOCiT7fdgGNwIg="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ # Base dependencies anyio backoff Loading Loading @@ -163,9 +168,9 @@ buildPythonPackage { pycparser pypdf python-dateutil # python-iso639 python-iso639 python-magic # python-oxmsg python-oxmsg rapidfuzz regex requests Loading @@ -176,7 +181,7 @@ buildPythonPackage { tqdm typing-extensions typing-inspect # unstructured-client unstructured-client urllib3 webencodings wrapt Loading