orbmem 1.0.4__py3-none-any.whl

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.
@@ -0,0 +1,177 @@
1
+ Metadata-Version: 2.4
2
+ Name: orbmem
3
+ Version: 1.0.4
4
+ Summary: OrbMem – A lightweight Cognitive Memory & Vector framework (Memory, Vectors, Graph, Safety).
5
+ Author-email: Tetala Lakshmi Abhishek Reddy <tetalaharitha@gmail.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2025 Tetala Lakshmi Abhishek Reddy
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26
+ THE SOFTWARE.
27
+
28
+
29
+
30
+ Project-URL: Homepage, https://github.com/abhis-byte/orbynt-database-OrbMem
31
+ Project-URL: Documentation, https://github.com/abhis-byte/orbynt-database-OrbMem
32
+ Project-URL: Source, https://github.com/abhis-byte/orbynt-database-OrbMem
33
+ Project-URL: Issues, https://github.com/abhis-byte/orbynt-database-OrbMem/issues
34
+ Keywords: ai,database,vector,memory,agents,cognitive-db,orbmem
35
+ Classifier: Development Status :: 4 - Beta
36
+ Classifier: Programming Language :: Python :: 3
37
+ Classifier: Programming Language :: Python :: 3 :: Only
38
+ Classifier: License :: OSI Approved :: MIT License
39
+ Classifier: Operating System :: OS Independent
40
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
41
+ Requires-Python: >=3.8
42
+ Description-Content-Type: text/markdown
43
+ License-File: LICENSE
44
+ Requires-Dist: numpy
45
+ Requires-Dist: faiss-cpu
46
+ Requires-Dist: networkx
47
+ Requires-Dist: pymongo
48
+ Requires-Dist: python-dotenv
49
+ Requires-Dist: pydantic
50
+ Dynamic: license-file
51
+
52
+ # OCDB β€” Cognitive Database Framework
53
+
54
+ OCDB (Orbynt Cognitive Database) is a lightweight, modular framework that combines
55
+ **🧠 Memory**, **πŸ” Vector Search**, **πŸ•Έ Graph Reasoning**, and **πŸ›‘ Safety Scanning** into a single Python package.
56
+
57
+ Designed for:
58
+
59
+ - AI agents
60
+ - Chatbots
61
+ - Automation systems
62
+ - Reasoning pipelines
63
+ - Personal assistants
64
+ - Any system that needs context, memory, search, and safety
65
+
66
+ This is the **local developer** version for PyPI.
67
+ A fully hosted **OCDB Cloud Platform** will launch separately.
68
+
69
+ ---
70
+
71
+ ## ✨ Features
72
+
73
+
74
+ ### 🧠 1. Memory Engine
75
+ Store and retrieve structured memory using a simple API.
76
+
77
+ ```python
78
+ from ocdb.core.ocdb import OCDB
79
+
80
+ ocdb = OCDB()
81
+ ocdb.memory_set("name", {"value": "Abhishek"})
82
+ print(ocdb.memory_get("name"))
83
+ ```
84
+
85
+ ---
86
+
87
+
88
+ ### πŸ” 2. Vector Search (FAISS local engine)
89
+ Semantic search powered by FAISS.
90
+
91
+ ```python
92
+ ocdb.vector_engine.add_text("hello world", {"id": "1"})
93
+ results = ocdb.vector_search("hello", k=3)
94
+ ```
95
+
96
+ ---
97
+
98
+ ### πŸ•Έ 3. Graph Engine (NetworkX)
99
+ Build reasoning trees or node-based logic.
100
+
101
+ ```python
102
+ ocdb.graph_add("root", "Start")
103
+ ocdb.graph_add("child", "Next", parent="root")
104
+ ```
105
+
106
+ ---
107
+
108
+ ### πŸ›‘ 4. Safety Engine
109
+ Simple text-safety scanning with MongoDB + time-series tracking.
110
+
111
+ ```python
112
+ events = ocdb.safety_scan("This is a sample text")
113
+ ```
114
+
115
+ ---
116
+
117
+ ### πŸ“¦ Installation
118
+
119
+ ```nginx
120
+ pip install orbmem
121
+ ```
122
+
123
+ ---
124
+
125
+ ### πŸ“ Project Structure
126
+ ```makefile
127
+ ocdb/
128
+ β”œβ”€β”€ core/ # Config, auth, high-level OCDB interface
129
+ β”œβ”€β”€ engines/ # Memory, vector, graph, safety engines
130
+ β”œβ”€β”€ models/ # Memory & safety models
131
+ β”œβ”€β”€ utils/ # Helpers, exceptions, logging
132
+ └── db/ # Database connectors (Mongo, Neo4j, Postgres, Redis)
133
+ ```
134
+
135
+ ---
136
+
137
+ ### πŸš€ Quickstart Example
138
+
139
+ ```python
140
+ from ocdb.core.ocdb import OCDB
141
+
142
+ ocdb = OCDB()
143
+
144
+ # Memory
145
+ ocdb.memory_set("demo", {"text": "Hello OCDB"})
146
+ print(ocdb.memory_get("demo"))
147
+
148
+ # Vector
149
+ ocdb.vector_engine.add_text("Abhishek is building OCDB", {"id": "vec1"})
150
+ print(ocdb.vector_search("Abhishek"))
151
+
152
+ # Graph
153
+ ocdb.graph_add("n1", "Start")
154
+ ocdb.graph_add("n2", "Next", parent="n1")
155
+
156
+ # Safety
157
+ print(ocdb.safety_scan("Harmless text"))
158
+ ```
159
+
160
+ ---
161
+
162
+ ### πŸ“license
163
+ This project is released under the *MIT License*.
164
+ See the `LICENSE` file for full terms.
165
+
166
+ ---
167
+
168
+ ### πŸ‘¨β€πŸ’» Author
169
+ **Tetala Lakshmi Abhishek Reddy**
170
+ Creator of OCDB
171
+ πŸ“§Email: `abhishek.orbynt@gmail.com`
172
+
173
+ ---
174
+
175
+ ### ⭐ Support OCDB
176
+ f you like this project, please star the repository and share it!
177
+ The OCDB Cloud Dashboard + Hosted API is coming soon… πŸš€
@@ -0,0 +1,29 @@
1
+ orbmem/__init__.py,sha256=zBdzutLFOwC1_AfGC4xRBb7DjFo_PbemGftY_1UGm4s,57
2
+ orbmem/core/auth.py,sha256=tZlDW0XBfUkAJfnXBS9QfmBZTLVHRLQL41bBZVz8tWY,822
3
+ orbmem/core/config.py,sha256=kF4qP-T3Yjqw0qDQv2lipuF0SoUE33LfgKKYfS-egok,3292
4
+ orbmem/core/ocdb.py,sha256=f2TBAKQkzVbwRrDIHfOEq7xOGCMiP_ShjF24EvjSNyw,4193
5
+ orbmem/db/mongo.py,sha256=bIMEPO8V0J6uIHIR0saCsCRLqqxUWi1DaoCGiWXLoq0,677
6
+ orbmem/db/neo4j.py,sha256=NcHQJ-57sWQJ7KPySTTB7m5IsGNGUXBIQ_tZmCkbVII,753
7
+ orbmem/db/postgres.py,sha256=muBMGKnLEUSdVqJLGJDK0ZiUG8q0yDsiww0loyRBLpE,1029
8
+ orbmem/db/redis.py,sha256=s7c1t5-tA9N3ivVnsfAxO2R9yrAHFNSPwT8rmuejYRg,689
9
+ orbmem/engines/base_engine.py,sha256=Wqjo3f3B9AnJbF3nTB1wt0kik5F570IhhhuwcYrinZg,1576
10
+ orbmem/engines/graph/neo4j_backend.py,sha256=hrRb8o0TdneiiZEEOnSeRE__ULZdJYO7c-yp3T9zffU,2526
11
+ orbmem/engines/memory/postgres_backend.py,sha256=1xiREdZwwYc95wfwgkFeZd08bTICImcPqpRAzFWaonA,3913
12
+ orbmem/engines/memory/redis_backend.py,sha256=OBidM_FOcHlMS2sv47f4HzVDfxGsNbokkhyj4erAB4g,2683
13
+ orbmem/engines/safety/mongo_backend.py,sha256=sYU6NRBjpSKSxtTOP5aDM2UGDPoYrsJDtbuiYQ9LC1Y,3018
14
+ orbmem/engines/safety/timeseries_backend.py,sha256=NSWlhFgf-Wy_AKrD7F2WCjcgxj-oGpV9aWyhGnxDWYA,972
15
+ orbmem/engines/vector/qdrant_backend.py,sha256=YjEgdciNyYyRXUDolyWD0pa4CAMBffzHk5Ey_rK_vQk,2393
16
+ orbmem/models/__init__.py,sha256=ZoTV53ukIFtQfr3M6G0PtxLrWPfT6dPH_TTIEAeEsq0,219
17
+ orbmem/models/fingerprints.py,sha256=1nRY2jK5BaaiiEvf6bSukEEfoCj5FgCIQfoULQehSFU,461
18
+ orbmem/models/memory.py,sha256=KcbRqT8ZPrxEcylq6np9yvBEYb5h3HirX8bEI5FbDuE,593
19
+ orbmem/models/safety.py,sha256=tpngHr1Uszom0keYB_6GuKLj_OFXvfkY5tjvykDmsb4,627
20
+ orbmem/utils/embeddings.py,sha256=iX92HxPJhx0wpuzH-zDzgi8TFGifJrFygFh5t4y9WR4,937
21
+ orbmem/utils/exceptions.py,sha256=iHy9GNtsCMrkaomUf9OjIcFPhhkJ2tLQADWLKB_BaDA,654
22
+ orbmem/utils/helpers.py,sha256=rtB-qbGhaYHCcv-_rkcJ_tyJmzKT5ysqC7Rq7g9ox6A,1206
23
+ orbmem/utils/logger.py,sha256=Z8VL3j2oeUcLxYc9V_zxHyvj_O0kNgSGnY_Pm7FxhoA,1040
24
+ orbmem/utils/validators.py,sha256=Rrj9U-v1xTM2l7ky6b8LoTkkYoeYMuzOjFR3cKvFV1s,1498
25
+ orbmem-1.0.4.dist-info/licenses/LICENSE,sha256=H8bz6WWTjT-IxYuAqoS2nET31in8vkixGFXhsouxoAE,1131
26
+ orbmem-1.0.4.dist-info/METADATA,sha256=tAtlDrTNHsVol7EWsGvMqVAO8BvgLJhiGcvD5ch4pLE,5274
27
+ orbmem-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
+ orbmem-1.0.4.dist-info/top_level.txt,sha256=r-qb7Q6Tx1hKQFXhEsFsQsTB-ZduJoSwFcPi_X4YAsE,7
29
+ orbmem-1.0.4.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tetala Lakshmi Abhishek Reddy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
22
+
23
+
@@ -0,0 +1 @@
1
+ orbmem