dynamic-learning-model 3.5.2__tar.gz → 4.0.1__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 (18) hide show
  1. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/PKG-INFO +10 -19
  2. dynamic_learning_model-4.0.1/dlm/__init__.py +20 -0
  3. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/dynamic_learning_model.egg-info/PKG-INFO +10 -19
  4. dynamic_learning_model-4.0.1/dynamic_learning_model.egg-info/requires.txt +5 -0
  5. dynamic_learning_model-4.0.1/pyproject.toml +25 -0
  6. dynamic_learning_model-3.5.2/dlm/__init__.py +0 -1
  7. dynamic_learning_model-3.5.2/dynamic_learning_model.egg-info/requires.txt +0 -6
  8. dynamic_learning_model-3.5.2/pyproject.toml +0 -3
  9. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/LICENSE +0 -0
  10. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/README.md +0 -0
  11. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/dlm/DLM.py +0 -0
  12. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/dlm/DLM_Compute_Model.py +0 -0
  13. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/dlm/DLM_Memory_Model.py +0 -0
  14. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/dynamic_learning_model.egg-info/SOURCES.txt +0 -0
  15. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/dynamic_learning_model.egg-info/dependency_links.txt +0 -0
  16. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/dynamic_learning_model.egg-info/top_level.txt +0 -0
  17. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/setup.cfg +0 -0
  18. {dynamic_learning_model-3.5.2 → dynamic_learning_model-4.0.1}/setup.py +0 -0
@@ -1,34 +1,25 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dynamic-learning-model
3
- Version: 3.5.2
4
- Summary: A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.
3
+ Version: 4.0.1
4
+ Summary: A Dynamic-Learning Model (DLM) chatbot with memory and compute reasoning modes.
5
5
  Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
6
6
  Author: Vignesh Thondikulam
7
- Author-email: vignesh.tho2006@gmail.com
7
+ Author-email: Vignesh Thondikulam <vignesh.tho2006@gmail.com>
8
8
  License: MIT
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Operating System :: OS Independent
11
- Classifier: License :: OSI Approved :: MIT License
9
+ Project-URL: Homepage, https://github.com/VigneshT24/Dynamic_Learning_Model
10
+ Project-URL: Repository, https://github.com/VigneshT24/Dynamic_Learning_Model
12
11
  Requires-Python: >=3.12,<3.13
13
12
  Description-Content-Type: text/markdown
14
13
  License-File: LICENSE
15
- Requires-Dist: nltk
16
- Requires-Dist: spacy
17
- Requires-Dist: better_profanity
18
- Requires-Dist: word2number
19
- Requires-Dist: transformers
20
- Requires-Dist: hf_xet
14
+ Requires-Dist: spacy>=3.7
15
+ Requires-Dist: transformers>=4.30
16
+ Requires-Dist: torch>=2.0
17
+ Requires-Dist: better-profanity>=0.7
18
+ Requires-Dist: nltk>=3.8
21
19
  Dynamic: author
22
- Dynamic: author-email
23
- Dynamic: classifier
24
- Dynamic: description
25
- Dynamic: description-content-type
26
20
  Dynamic: home-page
27
- Dynamic: license
28
21
  Dynamic: license-file
29
- Dynamic: requires-dist
30
22
  Dynamic: requires-python
31
- Dynamic: summary
32
23
 
33
24
  ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)
34
25
  ![SQLite](https://img.shields.io/badge/SQLite-003B57?style=flat-square&logo=SQLite&logoColor=white)
@@ -0,0 +1,20 @@
1
+ import nltk
2
+ import spacy
3
+ from spacy.cli import download as spacy_download
4
+
5
+ def _ensure_nltk_data():
6
+ try:
7
+ nltk.data.find('corpora/names')
8
+ except LookupError:
9
+ nltk.download('names', quiet=True)
10
+
11
+ def _ensure_spacy_model(model_name="en_core_web_lg"):
12
+ try:
13
+ spacy.load(model_name)
14
+ except OSError:
15
+ spacy_download(model_name)
16
+
17
+ _ensure_nltk_data()
18
+ _ensure_spacy_model()
19
+
20
+ from .DLM import DLM
@@ -1,34 +1,25 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dynamic-learning-model
3
- Version: 3.5.2
4
- Summary: A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.
3
+ Version: 4.0.1
4
+ Summary: A Dynamic-Learning Model (DLM) chatbot with memory and compute reasoning modes.
5
5
  Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
6
6
  Author: Vignesh Thondikulam
7
- Author-email: vignesh.tho2006@gmail.com
7
+ Author-email: Vignesh Thondikulam <vignesh.tho2006@gmail.com>
8
8
  License: MIT
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Operating System :: OS Independent
11
- Classifier: License :: OSI Approved :: MIT License
9
+ Project-URL: Homepage, https://github.com/VigneshT24/Dynamic_Learning_Model
10
+ Project-URL: Repository, https://github.com/VigneshT24/Dynamic_Learning_Model
12
11
  Requires-Python: >=3.12,<3.13
13
12
  Description-Content-Type: text/markdown
14
13
  License-File: LICENSE
15
- Requires-Dist: nltk
16
- Requires-Dist: spacy
17
- Requires-Dist: better_profanity
18
- Requires-Dist: word2number
19
- Requires-Dist: transformers
20
- Requires-Dist: hf_xet
14
+ Requires-Dist: spacy>=3.7
15
+ Requires-Dist: transformers>=4.30
16
+ Requires-Dist: torch>=2.0
17
+ Requires-Dist: better-profanity>=0.7
18
+ Requires-Dist: nltk>=3.8
21
19
  Dynamic: author
22
- Dynamic: author-email
23
- Dynamic: classifier
24
- Dynamic: description
25
- Dynamic: description-content-type
26
20
  Dynamic: home-page
27
- Dynamic: license
28
21
  Dynamic: license-file
29
- Dynamic: requires-dist
30
22
  Dynamic: requires-python
31
- Dynamic: summary
32
23
 
33
24
  ![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)
34
25
  ![SQLite](https://img.shields.io/badge/SQLite-003B57?style=flat-square&logo=SQLite&logoColor=white)
@@ -0,0 +1,5 @@
1
+ spacy>=3.7
2
+ transformers>=4.30
3
+ torch>=2.0
4
+ better-profanity>=0.7
5
+ nltk>=3.8
@@ -0,0 +1,25 @@
1
+ [build-system]
2
+ requires = ["setuptools>=42", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "dynamic-learning-model"
7
+ version = "4.0.1"
8
+ description = "A Dynamic-Learning Model (DLM) chatbot with memory and compute reasoning modes."
9
+ readme = "README.md"
10
+ requires-python = ">=3.12"
11
+ license = { text = "MIT" }
12
+ authors = [
13
+ { name = "Vignesh Thondikulam", email = "vignesh.tho2006@gmail.com" }
14
+ ]
15
+ dependencies = [
16
+ "spacy>=3.7",
17
+ "transformers>=4.30",
18
+ "torch>=2.0",
19
+ "better-profanity>=0.7",
20
+ "nltk>=3.8",
21
+ ]
22
+
23
+ [project.urls]
24
+ Homepage = "https://github.com/VigneshT24/Dynamic_Learning_Model"
25
+ Repository = "https://github.com/VigneshT24/Dynamic_Learning_Model"
@@ -1 +0,0 @@
1
- from .DLM import DLM
@@ -1,6 +0,0 @@
1
- nltk
2
- spacy
3
- better_profanity
4
- word2number
5
- transformers
6
- hf_xet
@@ -1,3 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools>=42", "wheel"]
3
- build-backend = "setuptools.build_meta"