mintmory-api 0.1.0__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.
- mintmory_api-0.1.0/.gitignore +59 -0
- mintmory_api-0.1.0/LICENSE +21 -0
- mintmory_api-0.1.0/PKG-INFO +33 -0
- mintmory_api-0.1.0/README.md +7 -0
- mintmory_api-0.1.0/pyproject.toml +45 -0
- mintmory_api-0.1.0/src/mintmory/api/__init__.py +1 -0
- mintmory_api-0.1.0/src/mintmory/api/app.py +559 -0
- mintmory_api-0.1.0/src/mintmory/api/py.typed +0 -0
- mintmory_api-0.1.0/src/mintmory/api/schemas.py +144 -0
- mintmory_api-0.1.0/tests/test_health_and_otel.py +141 -0
- mintmory_api-0.1.0/tests/test_routes.py +1254 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.pyo
|
|
5
|
+
.venv/
|
|
6
|
+
.env
|
|
7
|
+
*.egg-info/
|
|
8
|
+
dist/
|
|
9
|
+
build/
|
|
10
|
+
.coverage
|
|
11
|
+
.pytest_cache/
|
|
12
|
+
htmlcov/
|
|
13
|
+
.mypy_cache/
|
|
14
|
+
.ruff_cache/
|
|
15
|
+
|
|
16
|
+
# uv
|
|
17
|
+
# uv.lock IS committed (MM-44): the Dockerfile/CI build with `uv sync --frozen`
|
|
18
|
+
# for reproducible, supply-chain-pinned images. Do not re-ignore it.
|
|
19
|
+
.uv/
|
|
20
|
+
|
|
21
|
+
# SQLite databases (dev only — test DBs should not be committed)
|
|
22
|
+
*.db
|
|
23
|
+
*.sqlite
|
|
24
|
+
*.sqlite3
|
|
25
|
+
!tests/fixtures/*.db
|
|
26
|
+
|
|
27
|
+
# Embeddings cache
|
|
28
|
+
.embeddings_cache/
|
|
29
|
+
*.index
|
|
30
|
+
*.npy
|
|
31
|
+
|
|
32
|
+
# IDE
|
|
33
|
+
.idea/
|
|
34
|
+
.vscode/
|
|
35
|
+
*.swp
|
|
36
|
+
*.swo
|
|
37
|
+
|
|
38
|
+
# OS
|
|
39
|
+
.DS_Store
|
|
40
|
+
Thumbs.db
|
|
41
|
+
|
|
42
|
+
# Secrets
|
|
43
|
+
.env.local
|
|
44
|
+
.env.production
|
|
45
|
+
*.key
|
|
46
|
+
*.pem
|
|
47
|
+
|
|
48
|
+
# Firecrawl local cache (CLI scrape/crawl output)
|
|
49
|
+
.firecrawl/
|
|
50
|
+
|
|
51
|
+
# Docs build
|
|
52
|
+
docs/_build/
|
|
53
|
+
site/
|
|
54
|
+
|
|
55
|
+
# Local test corpus (verbatim internal data) and scratch DBs — keep out of git history
|
|
56
|
+
scripts/corpus_parts/
|
|
57
|
+
*.db
|
|
58
|
+
*.db-wal
|
|
59
|
+
*.db-shm
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 WeLikeCode
|
|
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 THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mintmory-api
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: MintMory HTTP REST API via FastAPI
|
|
5
|
+
Project-URL: Homepage, https://github.com/WeLikeCode/mint-mory
|
|
6
|
+
Project-URL: Repository, https://github.com/WeLikeCode/mint-mory
|
|
7
|
+
Project-URL: Issues, https://github.com/WeLikeCode/mint-mory/issues
|
|
8
|
+
Author: WeLikeCode
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: agents,llm,mcp,memory,sqlite,vector-search
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
+
Classifier: Typing :: Typed
|
|
19
|
+
Requires-Python: >=3.12
|
|
20
|
+
Requires-Dist: fastapi>=0.115
|
|
21
|
+
Requires-Dist: mintmory-core~=0.1.0
|
|
22
|
+
Requires-Dist: python-multipart>=0.0.12
|
|
23
|
+
Requires-Dist: structlog>=24.4
|
|
24
|
+
Requires-Dist: uvicorn[standard]>=0.32
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
|
|
27
|
+
# mintmory-api
|
|
28
|
+
|
|
29
|
+
FastAPI REST API for [MintMory](https://github.com/WeLikeCode/mint-mory) — the
|
|
30
|
+
typed agent-memory system. Entry point: `mintmory-api`.
|
|
31
|
+
|
|
32
|
+
Most users want the umbrella package instead: `pip install "mintmory[api]"`.
|
|
33
|
+
MIT licensed.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "mintmory-api"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "MintMory HTTP REST API via FastAPI"
|
|
5
|
+
requires-python = ">=3.12"
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
authors = [{ name = "WeLikeCode" }]
|
|
10
|
+
keywords = ["memory", "llm", "agents", "mcp", "sqlite", "vector-search"]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Development Status :: 4 - Beta",
|
|
13
|
+
"Intended Audience :: Developers",
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"Programming Language :: Python :: 3.12",
|
|
16
|
+
"Programming Language :: Python :: 3.13",
|
|
17
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
18
|
+
"Typing :: Typed",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
dependencies = [
|
|
22
|
+
"mintmory-core~=0.1.0",
|
|
23
|
+
"fastapi>=0.115",
|
|
24
|
+
"uvicorn[standard]>=0.32",
|
|
25
|
+
"python-multipart>=0.0.12",
|
|
26
|
+
"structlog>=24.4",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[project.urls]
|
|
30
|
+
Homepage = "https://github.com/WeLikeCode/mint-mory"
|
|
31
|
+
Repository = "https://github.com/WeLikeCode/mint-mory"
|
|
32
|
+
Issues = "https://github.com/WeLikeCode/mint-mory/issues"
|
|
33
|
+
|
|
34
|
+
[build-system]
|
|
35
|
+
requires = ["hatchling>=1.27"]
|
|
36
|
+
build-backend = "hatchling.build"
|
|
37
|
+
|
|
38
|
+
[tool.hatch.build.targets.wheel]
|
|
39
|
+
packages = ["src/mintmory"]
|
|
40
|
+
|
|
41
|
+
[tool.uv.sources]
|
|
42
|
+
mintmory-core = { workspace = true }
|
|
43
|
+
|
|
44
|
+
[project.scripts]
|
|
45
|
+
mintmory-api = "mintmory.api.app:main"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""mintmory-api: FastAPI HTTP REST API."""
|