ashmatics-tools 0.7.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. ashmatics_tools-0.7.2/LICENSE +18 -0
  2. ashmatics_tools-0.7.2/PKG-INFO +1525 -0
  3. ashmatics_tools-0.7.2/README.md +1416 -0
  4. ashmatics_tools-0.7.2/pyproject.toml +247 -0
  5. ashmatics_tools-0.7.2/setup.cfg +4 -0
  6. ashmatics_tools-0.7.2/src/ashmatics_tools/__init__.py +356 -0
  7. ashmatics_tools-0.7.2/src/ashmatics_tools/chunkers/__init__.py +42 -0
  8. ashmatics_tools-0.7.2/src/ashmatics_tools/chunkers/azure_chunker.py +573 -0
  9. ashmatics_tools-0.7.2/src/ashmatics_tools/chunkers/base.py +144 -0
  10. ashmatics_tools-0.7.2/src/ashmatics_tools/chunkers/docling_chunker.py +254 -0
  11. ashmatics_tools-0.7.2/src/ashmatics_tools/chunkers/factory.py +86 -0
  12. ashmatics_tools-0.7.2/src/ashmatics_tools/chunkers/simple_chunker.py +134 -0
  13. ashmatics_tools-0.7.2/src/ashmatics_tools/document_storage/__init__.py +47 -0
  14. ashmatics_tools-0.7.2/src/ashmatics_tools/document_storage/figure_storage.py +372 -0
  15. ashmatics_tools-0.7.2/src/ashmatics_tools/document_storage/table_storage.py +349 -0
  16. ashmatics_tools-0.7.2/src/ashmatics_tools/embedders/__init__.py +47 -0
  17. ashmatics_tools-0.7.2/src/ashmatics_tools/embedders/azure_embedder.py +584 -0
  18. ashmatics_tools-0.7.2/src/ashmatics_tools/embedders/base.py +185 -0
  19. ashmatics_tools-0.7.2/src/ashmatics_tools/embedders/factory.py +81 -0
  20. ashmatics_tools-0.7.2/src/ashmatics_tools/embedders/openai_embedder.py +270 -0
  21. ashmatics_tools-0.7.2/src/ashmatics_tools/embedding/__init__.py +51 -0
  22. ashmatics_tools-0.7.2/src/ashmatics_tools/embedding/base.py +126 -0
  23. ashmatics_tools-0.7.2/src/ashmatics_tools/embedding/mongodb_pipeline.py +381 -0
  24. ashmatics_tools-0.7.2/src/ashmatics_tools/embedding/specialized/__init__.py +22 -0
  25. ashmatics_tools-0.7.2/src/ashmatics_tools/embedding/specialized/cards.py +295 -0
  26. ashmatics_tools-0.7.2/src/ashmatics_tools/embedding/specialized/framework.py +150 -0
  27. ashmatics_tools-0.7.2/src/ashmatics_tools/embedding/specialized/usecases.py +179 -0
  28. ashmatics_tools-0.7.2/src/ashmatics_tools/enrichers/__init__.py +80 -0
  29. ashmatics_tools-0.7.2/src/ashmatics_tools/enrichers/metrics_extractor.py +623 -0
  30. ashmatics_tools-0.7.2/src/ashmatics_tools/enrichers/table_classifier.py +361 -0
  31. ashmatics_tools-0.7.2/src/ashmatics_tools/enrichers/table_consolidator.py +1029 -0
  32. ashmatics_tools-0.7.2/src/ashmatics_tools/enrichers/training_data_extractor.py +531 -0
  33. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/__init__.py +93 -0
  34. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/accessgudid/__init__.py +103 -0
  35. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/accessgudid/client.py +695 -0
  36. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/accessgudid/config.py +83 -0
  37. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/accessgudid/models.py +506 -0
  38. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/accessgudid/transforms.py +430 -0
  39. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/base.py +315 -0
  40. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/factory.py +133 -0
  41. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/openfda/__init__.py +59 -0
  42. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/openfda/client.py +475 -0
  43. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/openfda/config.py +111 -0
  44. ashmatics_tools-0.7.2/src/ashmatics_tools/external_apis/openfda/transforms.py +273 -0
  45. ashmatics_tools-0.7.2/src/ashmatics_tools/graphql/__init__.py +9 -0
  46. ashmatics_tools-0.7.2/src/ashmatics_tools/graphql/client.py +417 -0
  47. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/__init__.py +151 -0
  48. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/azure_ai_foundry.py +328 -0
  49. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/azure_openai.py +519 -0
  50. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/base.py +386 -0
  51. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/context.py +371 -0
  52. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/factory.py +245 -0
  53. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/huggingface.py +576 -0
  54. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/llamacpp.py +794 -0
  55. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/ollama.py +1024 -0
  56. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/openai.py +548 -0
  57. ashmatics_tools-0.7.2/src/ashmatics_tools/llm/retry.py +287 -0
  58. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/__init__.py +67 -0
  59. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/accessgudid/__init__.py +43 -0
  60. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/accessgudid/__main__.py +254 -0
  61. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/accessgudid/config.py +64 -0
  62. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/accessgudid/server.py +447 -0
  63. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/base.py +201 -0
  64. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/factory.py +126 -0
  65. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/openfda/__init__.py +32 -0
  66. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/openfda/__main__.py +248 -0
  67. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/openfda/config.py +60 -0
  68. ashmatics_tools-0.7.2/src/ashmatics_tools/mcp_servers/openfda/server.py +410 -0
  69. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/__init__.py +66 -0
  70. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/categories/__init__.py +26 -0
  71. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/categories/manager.py +419 -0
  72. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/categories/schemas.py +106 -0
  73. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/core/__init__.py +51 -0
  74. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/core/ashcai_ontology.py +1397 -0
  75. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/core/ashmatics_ontology.py +842 -0
  76. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/core/bioportal_client.py +696 -0
  77. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/data/__init__.py +10 -0
  78. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/data/ashcai-ontology-v1.0.json +828 -0
  79. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/data/ashmatics-ontology-v20250616.json +624 -0
  80. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/terms/__init__.py +144 -0
  81. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/terms/ashcai_schemas.py +1046 -0
  82. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/terms/resolver.py +429 -0
  83. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/terms/schemas.py +477 -0
  84. ashmatics_tools-0.7.2/src/ashmatics_tools/ontology/terms/valueset_schemas.py +56 -0
  85. ashmatics_tools-0.7.2/src/ashmatics_tools/parsers/__init__.py +50 -0
  86. ashmatics_tools-0.7.2/src/ashmatics_tools/parsers/base.py +306 -0
  87. ashmatics_tools-0.7.2/src/ashmatics_tools/parsers/docling_parser.py +511 -0
  88. ashmatics_tools-0.7.2/src/ashmatics_tools/parsers/factory.py +129 -0
  89. ashmatics_tools-0.7.2/src/ashmatics_tools/parsers/llama_parser.py +239 -0
  90. ashmatics_tools-0.7.2/src/ashmatics_tools/parsers/simple_parser.py +205 -0
  91. ashmatics_tools-0.7.2/src/ashmatics_tools/processors/__init__.py +9 -0
  92. ashmatics_tools-0.7.2/src/ashmatics_tools/processors/base.py +340 -0
  93. ashmatics_tools-0.7.2/src/ashmatics_tools/search/__init__.py +100 -0
  94. ashmatics_tools-0.7.2/src/ashmatics_tools/search/base.py +205 -0
  95. ashmatics_tools-0.7.2/src/ashmatics_tools/search/exceptions.py +74 -0
  96. ashmatics_tools-0.7.2/src/ashmatics_tools/search/factory.py +154 -0
  97. ashmatics_tools-0.7.2/src/ashmatics_tools/search/mcp_tools.py +361 -0
  98. ashmatics_tools-0.7.2/src/ashmatics_tools/search/prompts.py +70 -0
  99. ashmatics_tools-0.7.2/src/ashmatics_tools/search/strategies/__init__.py +16 -0
  100. ashmatics_tools-0.7.2/src/ashmatics_tools/search/strategies/multi_query_rag.py +577 -0
  101. ashmatics_tools-0.7.2/src/ashmatics_tools/search/strategies/simple_rag.py +402 -0
  102. ashmatics_tools-0.7.2/src/ashmatics_tools/storage/__init__.py +50 -0
  103. ashmatics_tools-0.7.2/src/ashmatics_tools/storage/adls_store.py +651 -0
  104. ashmatics_tools-0.7.2/src/ashmatics_tools/storage/base.py +457 -0
  105. ashmatics_tools-0.7.2/src/ashmatics_tools/storage/factory.py +112 -0
  106. ashmatics_tools-0.7.2/src/ashmatics_tools/storage/minio_store.py +674 -0
  107. ashmatics_tools-0.7.2/src/ashmatics_tools/utils/__init__.py +11 -0
  108. ashmatics_tools-0.7.2/src/ashmatics_tools/utils/export_utils.py +314 -0
  109. ashmatics_tools-0.7.2/src/ashmatics_tools/utils/import_utils.py +554 -0
  110. ashmatics_tools-0.7.2/src/ashmatics_tools/utils/schema_utils.py +324 -0
  111. ashmatics_tools-0.7.2/src/ashmatics_tools/vector_stores/__init__.py +90 -0
  112. ashmatics_tools-0.7.2/src/ashmatics_tools/vector_stores/base.py +377 -0
  113. ashmatics_tools-0.7.2/src/ashmatics_tools/vector_stores/cosmosdb_store.py +622 -0
  114. ashmatics_tools-0.7.2/src/ashmatics_tools/vector_stores/factory.py +105 -0
  115. ashmatics_tools-0.7.2/src/ashmatics_tools/vector_stores/index_manager.py +413 -0
  116. ashmatics_tools-0.7.2/src/ashmatics_tools/vector_stores/pgvector_store.py +601 -0
  117. ashmatics_tools-0.7.2/src/ashmatics_tools/vector_stores/qdrant_store.py +503 -0
  118. ashmatics_tools-0.7.2/src/ashmatics_tools.egg-info/PKG-INFO +1525 -0
  119. ashmatics_tools-0.7.2/src/ashmatics_tools.egg-info/SOURCES.txt +137 -0
  120. ashmatics_tools-0.7.2/src/ashmatics_tools.egg-info/dependency_links.txt +1 -0
  121. ashmatics_tools-0.7.2/src/ashmatics_tools.egg-info/requires.txt +111 -0
  122. ashmatics_tools-0.7.2/src/ashmatics_tools.egg-info/top_level.txt +1 -0
  123. ashmatics_tools-0.7.2/tests/test_accessgudid.py +702 -0
  124. ashmatics_tools-0.7.2/tests/test_azure_storage_integration.py +361 -0
  125. ashmatics_tools-0.7.2/tests/test_chunkers.py +491 -0
  126. ashmatics_tools-0.7.2/tests/test_document_storage-ASHKBAPP-45-2025-11-29.py +138 -0
  127. ashmatics_tools-0.7.2/tests/test_embedders.py +546 -0
  128. ashmatics_tools-0.7.2/tests/test_enrichers-ASHKBAPP-45-2025-11-29.py +229 -0
  129. ashmatics_tools-0.7.2/tests/test_external_apis.py +240 -0
  130. ashmatics_tools-0.7.2/tests/test_llamacpp-ASHTOOLS-1-2025-12-04.py +434 -0
  131. ashmatics_tools-0.7.2/tests/test_llamacpp_live.py +453 -0
  132. ashmatics_tools-0.7.2/tests/test_llm.py +351 -0
  133. ashmatics_tools-0.7.2/tests/test_llm_streaming-ASHTOOLS5-2025-12-28.py +248 -0
  134. ashmatics_tools-0.7.2/tests/test_mcp_servers.py +233 -0
  135. ashmatics_tools-0.7.2/tests/test_openfda_transforms.py +239 -0
  136. ashmatics_tools-0.7.2/tests/test_parsers.py +573 -0
  137. ashmatics_tools-0.7.2/tests/test_search-ASHTOOLS5-2025-12-28.py +1046 -0
  138. ashmatics_tools-0.7.2/tests/test_storage.py +281 -0
  139. ashmatics_tools-0.7.2/tests/test_vector_stores.py +553 -0
@@ -0,0 +1,18 @@
1
+ Proprietary License
2
+
3
+ Copyright (c) 2025 Asher Informatics PBC. All Rights Reserved.
4
+
5
+ Last Updated: 2025-11-11
6
+ Forked from: ashmatics-knowledgebase-tools repository
7
+
8
+ This software and associated documentation files (the "Software") are the
9
+ proprietary and confidential property of Asher Informatics PBC.
10
+
11
+ Unauthorized copying, modification, distribution, or use of this Software,
12
+ via any medium, is strictly prohibited without the express written permission
13
+ of Asher Informatics PBC.
14
+
15
+ This Software is provided for internal use by Asher Informatics PBC and its
16
+ authorized personnel only. No license or rights are granted to any third party.
17
+
18
+ For licensing inquiries, please contact: info@ashmatics.com