basic-memory 0.0.0__py3-none-any.whl → 0.1.0__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.
Potentially problematic release.
This version of basic-memory might be problematic. Click here for more details.
- basic_memory/api/app.py +23 -1
- basic_memory/api/routers/memory_router.py +1 -1
- basic_memory/cli/commands/__init__.py +3 -7
- basic_memory/cli/commands/import_memory_json.py +139 -0
- basic_memory/cli/main.py +1 -1
- basic_memory/config.py +5 -1
- basic_memory/db.py +40 -21
- basic_memory/file_utils.py +27 -62
- basic_memory/markdown/__init__.py +2 -0
- basic_memory/markdown/entity_parser.py +1 -1
- basic_memory/markdown/markdown_processor.py +2 -14
- basic_memory/markdown/plugins.py +1 -1
- basic_memory/markdown/schemas.py +1 -3
- basic_memory/mcp/tools/memory.py +8 -3
- basic_memory/models/__init__.py +9 -6
- basic_memory/models/base.py +4 -3
- basic_memory/repository/search_repository.py +8 -3
- basic_memory/schemas/base.py +5 -2
- basic_memory/schemas/memory.py +4 -1
- basic_memory/services/__init__.py +2 -1
- basic_memory/services/context_service.py +1 -1
- basic_memory/services/database_service.py +158 -0
- basic_memory/services/entity_service.py +52 -2
- basic_memory/services/file_service.py +0 -1
- basic_memory/sync/sync_service.py +25 -0
- basic_memory-0.1.0.dist-info/METADATA +296 -0
- {basic_memory-0.0.0.dist-info → basic_memory-0.1.0.dist-info}/RECORD +30 -28
- basic_memory-0.0.0.dist-info/METADATA +0 -71
- {basic_memory-0.0.0.dist-info → basic_memory-0.1.0.dist-info}/WHEEL +0 -0
- {basic_memory-0.0.0.dist-info → basic_memory-0.1.0.dist-info}/entry_points.txt +0 -0
- {basic_memory-0.0.0.dist-info → basic_memory-0.1.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
basic_memory/__init__.py,sha256=5AdJrNglWu8gvlZPWZDKmrYbpOaJJ7KcdBfSQxBl3A8,121
|
|
2
|
-
basic_memory/config.py,sha256=
|
|
3
|
-
basic_memory/db.py,sha256=
|
|
2
|
+
basic_memory/config.py,sha256=bmNBTbbl8YhEsHOI0fnC7EfxIuyKB25LhtNuXzFlXnY,1671
|
|
3
|
+
basic_memory/db.py,sha256=JA51udB4wg6HePJB1mnOqxaQCCoQAFVWf9gSSpZo9TY,4433
|
|
4
4
|
basic_memory/deps.py,sha256=YeDwqEmqUTPOc-JdItE1NEj3iunB2j6thYotweHXq98,5316
|
|
5
|
-
basic_memory/file_utils.py,sha256
|
|
5
|
+
basic_memory/file_utils.py,sha256=-B-ixIGo4kf27nXE7mlyO5SljK-BhXvSN9rsXfJu0HQ,5814
|
|
6
6
|
basic_memory/utils.py,sha256=FCXR_jQxr8qBtHSHkWoESEvSVwPiWjn5xfAPmyqYW0g,2321
|
|
7
7
|
basic_memory/api/__init__.py,sha256=2y71HVPvGBIjx2tTd6nsSGeAFuFEyNn2MZ9IcqIs1hY,70
|
|
8
|
-
basic_memory/api/app.py,sha256=
|
|
8
|
+
basic_memory/api/app.py,sha256=RcljMzKZIETofuybHDCmQizFcXddDiLSxOPm3ggWF1Q,1755
|
|
9
9
|
basic_memory/api/routers/__init__.py,sha256=iviQ1QVYobC8huUuyRhEjcA0BDjrOUm1lXHXhJkxP9A,239
|
|
10
10
|
basic_memory/api/routers/knowledge_router.py,sha256=9t-ogIL8HVtGi6_eM-OAM8yY5VZZK-goSKSqbG9GLvI,5756
|
|
11
|
-
basic_memory/api/routers/memory_router.py,sha256=
|
|
11
|
+
basic_memory/api/routers/memory_router.py,sha256=YVM_2B1-1N-8ytmW9NcMwR5ee8ykM935s6psO-5uLuo,4231
|
|
12
12
|
basic_memory/api/routers/resource_router.py,sha256=_Gp5HSJr-L-GUkQKbEP2bAZvCY8Smd-sBNWpGyqXS4c,1056
|
|
13
13
|
basic_memory/api/routers/search_router.py,sha256=eKUibpJGuniLgTxXI_C28CjMrSNoXIrEwrlTBTkf1y4,1168
|
|
14
14
|
basic_memory/cli/__init__.py,sha256=Hs6p69LnxlgO41EYFY0zMDCsbB3QxvPH9duNZz0hROs,32
|
|
15
15
|
basic_memory/cli/app.py,sha256=gevKtdiAIlsJCbvegd1Pt7NID96Bq7yM1Hv2irHS0tY,35
|
|
16
|
-
basic_memory/cli/main.py,sha256=
|
|
17
|
-
basic_memory/cli/commands/__init__.py,sha256=
|
|
16
|
+
basic_memory/cli/main.py,sha256=lLX_K5stSd96HKUbNk24BQ__nq7TPQI7IUqeFnwHVzE,1139
|
|
17
|
+
basic_memory/cli/commands/__init__.py,sha256=HAYxxI1wPPX6QfwuuLMmh_9wmND_U6-_tGtxcSIsF24,147
|
|
18
|
+
basic_memory/cli/commands/import_memory_json.py,sha256=jpGJpEx8QuARi3ZurH4bvDSF-c3c_hTktNLps-0YsSo,5207
|
|
18
19
|
basic_memory/cli/commands/init.py,sha256=5UmOasPd_65Evcw8QYWNZcrViBhWhrlFWCXOHtlrA1E,1189
|
|
19
20
|
basic_memory/cli/commands/status.py,sha256=Dqp8mGR7vFpB-bVkIBRKvWeIkfDN7KyYaAKdtoAEYY4,5691
|
|
20
21
|
basic_memory/cli/commands/sync.py,sha256=ycyD9yuZdKrtSd6L6sPQU1N3ang9FDIt5w-BHpqoD-c,8482
|
|
21
|
-
basic_memory/markdown/__init__.py,sha256=
|
|
22
|
-
basic_memory/markdown/entity_parser.py,sha256=
|
|
23
|
-
basic_memory/markdown/markdown_processor.py,sha256=
|
|
24
|
-
basic_memory/markdown/plugins.py,sha256=
|
|
25
|
-
basic_memory/markdown/schemas.py,sha256=
|
|
22
|
+
basic_memory/markdown/__init__.py,sha256=DdzioCWtDnKaq05BHYLgL_78FawEHLpLXnp-kPSVfIc,501
|
|
23
|
+
basic_memory/markdown/entity_parser.py,sha256=EBpBrmspZ7VbWdrro4K2fp5lCxMe-HKCcW5T3MoFB7s,4439
|
|
24
|
+
basic_memory/markdown/markdown_processor.py,sha256=7XUagES8n4gRW8xt9KC7XTyO1spFNzal8kKWGiQvyMU,4985
|
|
25
|
+
basic_memory/markdown/plugins.py,sha256=lc2C3kFsQdyw83j-T6ovT6489jr8QuUQ9Invqgj0Of0,7601
|
|
26
|
+
basic_memory/markdown/schemas.py,sha256=fUNzaf2YNhDJlG_PmHdwmU0H_S_uf332jcuU9raGaXs,1839
|
|
26
27
|
basic_memory/markdown/utils.py,sha256=jNSjpeDD2mBccbV3w5WXv6fzuiAKurU2jvT_vFOYbys,5234
|
|
27
28
|
basic_memory/mcp/__init__.py,sha256=UioEZETQ-1lEfbqi1XirraBaiHdMHDX6JBpRZbAXTYY,34
|
|
28
29
|
basic_memory/mcp/async_client.py,sha256=J4eSKs4VMef1AoWBHOwvzjS6kzfNntjg6cPxPpw56RQ,238
|
|
@@ -31,12 +32,12 @@ basic_memory/mcp/server.py,sha256=nSCgu7SCTMviZDi02FOD6PEsZumg1ZtTwvmpwIuxeXg,92
|
|
|
31
32
|
basic_memory/mcp/tools/__init__.py,sha256=j3XpNTu-f0IeOFfo6ZNNtl728fzNwsN4w_kZQiMIE4U,820
|
|
32
33
|
basic_memory/mcp/tools/ai_edit.py,sha256=0a6GTqJZdDyYhfecT23pP1VPPvk5bfPRX8bCFN_SKoE,2531
|
|
33
34
|
basic_memory/mcp/tools/knowledge.py,sha256=OX-4Sz7Ox1so4USwuhf1iAL-I6bzzPgE5U0hajs-5Cc,2010
|
|
34
|
-
basic_memory/mcp/tools/memory.py,sha256=
|
|
35
|
+
basic_memory/mcp/tools/memory.py,sha256=OTKwcOZiGPRDceyNsadvcqqY5Azpb0C1MjvzZatKt3s,5252
|
|
35
36
|
basic_memory/mcp/tools/notes.py,sha256=4GKnhDK53UkeZtpZENQ9id9XdemKxLzGwMQJeuX-Kok,3772
|
|
36
37
|
basic_memory/mcp/tools/search.py,sha256=ViYLp-yGTxOEJli3PyE_JiBP3JXQ0fs-XLS09Sl7hoc,1103
|
|
37
38
|
basic_memory/mcp/tools/utils.py,sha256=9sOE_zW-kr7zbwRRlLAhR5cCmcGfuewNsUtiInXULnk,4857
|
|
38
|
-
basic_memory/models/__init__.py,sha256=
|
|
39
|
-
basic_memory/models/base.py,sha256=
|
|
39
|
+
basic_memory/models/__init__.py,sha256=VA_RP2xVrghTkOtILKvRDkn8EoP6UfjhnP8UgqupSkk,355
|
|
40
|
+
basic_memory/models/base.py,sha256=SnOpuFxcw7QoLxXpmZ1NUoj1jEJKCXEWQqTIrXjJ3Z4,286
|
|
40
41
|
basic_memory/models/knowledge.py,sha256=F2vfKalqfqumUlASN22QnPzaOym5MahzZ3sAACE3y9Y,6792
|
|
41
42
|
basic_memory/models/search.py,sha256=iO1sgBiS1aVCts2EGfjys0i09-1_snxXs2pZNfK6Ojw,1163
|
|
42
43
|
basic_memory/repository/__init__.py,sha256=Q1T0Qn1AcyUWLpPrFcfdEa3A1xUkAzt63tgv5U59DpI,241
|
|
@@ -44,30 +45,31 @@ basic_memory/repository/entity_repository.py,sha256=Nn_ZS4K2cakMD_LVGJfGqQ-0SZ2W
|
|
|
44
45
|
basic_memory/repository/observation_repository.py,sha256=BOcy4wARqCXu-thYyt7mPxt2A2C8TW0le3s_X9wrK6I,1701
|
|
45
46
|
basic_memory/repository/relation_repository.py,sha256=mHZj3Uhapm9OG7NyTldIspJ7BdNKXKKjJD1lextQKGk,3234
|
|
46
47
|
basic_memory/repository/repository.py,sha256=UCMy7VXjtkxkKCI3ZuQm4_RFRKJT0NBDhEvt_ueqjzc,12945
|
|
47
|
-
basic_memory/repository/search_repository.py,sha256=
|
|
48
|
+
basic_memory/repository/search_repository.py,sha256=V49xaEVGBTbZ-Tf1y8NaflQGAOQMupANtJ-RFFYou2w,9368
|
|
48
49
|
basic_memory/schemas/__init__.py,sha256=m1Pou5ue1BNmHBm13WPBf3BJKKPsLaIYVnnGmgs2iwo,1618
|
|
49
|
-
basic_memory/schemas/base.py,sha256=
|
|
50
|
+
basic_memory/schemas/base.py,sha256=4O_uxXX_JDpMqPNk7jXduA3Ut3Uz1wjmrf27JlkI-e8,6694
|
|
50
51
|
basic_memory/schemas/delete.py,sha256=_tSyTHAujVxkSUy5Cu3s6yHw-n3JmokjeMR6gZqJhG4,1198
|
|
51
52
|
basic_memory/schemas/discovery.py,sha256=KtumdsujakYrl2rpX3bgIN-sK3826Cy_58nhq3vnl78,872
|
|
52
|
-
basic_memory/schemas/memory.py,sha256=
|
|
53
|
+
basic_memory/schemas/memory.py,sha256=TPT1Lhsxk6Y1tuisx6XidcC2We_DdZxaNrvF2fidvNw,2909
|
|
53
54
|
basic_memory/schemas/request.py,sha256=Cpz0cR5P-QdR9PAUapGfAxXhdooeVCH6X2G7MoOWMvw,2006
|
|
54
55
|
basic_memory/schemas/response.py,sha256=7oWk3GDS626pdgN2MF__tp9c7WU-_9K7hs1F2quB65Y,6226
|
|
55
56
|
basic_memory/schemas/search.py,sha256=7xlUc0HE13-v7iKy3eFs0IKasGbXVxCaq8GZ8qiUBTQ,3395
|
|
56
|
-
basic_memory/services/__init__.py,sha256=
|
|
57
|
-
basic_memory/services/context_service.py,sha256=
|
|
58
|
-
basic_memory/services/
|
|
57
|
+
basic_memory/services/__init__.py,sha256=5yx4U7iCi5gLjHxmkjeQ9JJoftWqy6P2gX2uV3ouMd0,279
|
|
58
|
+
basic_memory/services/context_service.py,sha256=9DWryOhHfowelk4JVNIAlOycjblocTw38FSEP2kDkGI,8095
|
|
59
|
+
basic_memory/services/database_service.py,sha256=qDeL2VL_bUExI30KS4xawKt3vS110QmcEbZav1gyOUE,5574
|
|
60
|
+
basic_memory/services/entity_service.py,sha256=Lh63SEt-PCwGgazMx-KIVz-oEsNqX1JC7ktWZtvrVWw,12594
|
|
59
61
|
basic_memory/services/exceptions.py,sha256=Z9cizi05f7QBY4HX6c0ywfzKk0_sie3283CP7gzy-dY,287
|
|
60
|
-
basic_memory/services/file_service.py,sha256=
|
|
62
|
+
basic_memory/services/file_service.py,sha256=oiS33BhD5zs7YgF6vMAgAvBBkHiLbUJ6g2cvN2JwymA,7166
|
|
61
63
|
basic_memory/services/link_resolver.py,sha256=0OiWN8_m2niVBi5oUNss5nRFqIUTa1Qe1LmH8-oY64Y,4492
|
|
62
64
|
basic_memory/services/search_service.py,sha256=yLXYs-PNimELM_5E44O25-fbD4PDzISsAwCm2dNPyQI,7842
|
|
63
65
|
basic_memory/services/service.py,sha256=oHsHKMTC2ojRsxeNdnC4nA5YdTL72VYjDzWI_dbmzyA,1134
|
|
64
66
|
basic_memory/sync/__init__.py,sha256=5BzfbvY-DKi-gswcjNzVqtNj4I0yXZ82CaupFiPihws,138
|
|
65
67
|
basic_memory/sync/file_change_scanner.py,sha256=x2xFaxCzPy5seNLqK-TcN106U2--UKvAR7qoBeq8M84,5919
|
|
66
|
-
basic_memory/sync/sync_service.py,sha256=
|
|
68
|
+
basic_memory/sync/sync_service.py,sha256=fNBQtJwhLEdFcTTnSpLVnV-QWppETwXzhlsAMqODdnY,7026
|
|
67
69
|
basic_memory/sync/utils.py,sha256=6P5-dvR5X-lA-BE3IZOzoC54uyiq9c_p9figRKaPq5E,2453
|
|
68
70
|
basic_memory/sync/watch_service.py,sha256=HIronKujbBTbbosz0HAqLBLkP5IK3zH6gQKoTCrrA9o,6744
|
|
69
|
-
basic_memory-0.
|
|
70
|
-
basic_memory-0.
|
|
71
|
-
basic_memory-0.
|
|
72
|
-
basic_memory-0.
|
|
73
|
-
basic_memory-0.
|
|
71
|
+
basic_memory-0.1.0.dist-info/METADATA,sha256=j9Y6XhZAMMQZ-DehSV4Im7wuTfu4uOHKTWTaBnLDExw,7771
|
|
72
|
+
basic_memory-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
73
|
+
basic_memory-0.1.0.dist-info/entry_points.txt,sha256=IDQa_VmVTzmvMrpnjhEfM0S3F--XsVGEj3MpdJfuo-Q,59
|
|
74
|
+
basic_memory-0.1.0.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
|
75
|
+
basic_memory-0.1.0.dist-info/RECORD,,
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: basic-memory
|
|
3
|
-
Version: 0.0.0
|
|
4
|
-
Summary: Local-first knowledge management combining Zettelkasten with knowledge graphs
|
|
5
|
-
Project-URL: Homepage, https://github.com/basicmachines-co/basic-memory
|
|
6
|
-
Project-URL: Repository, https://github.com/basicmachines-co/basic-memory
|
|
7
|
-
Project-URL: Documentation, https://github.com/basicmachines-co/basic-memory#readme
|
|
8
|
-
Author-email: Basic Machines <hello@basic-machines.co>
|
|
9
|
-
License: AGPL-3.0-or-later
|
|
10
|
-
License-File: LICENSE
|
|
11
|
-
Requires-Python: >=3.12.1
|
|
12
|
-
Requires-Dist: aiosqlite>=0.20.0
|
|
13
|
-
Requires-Dist: basic-foundation
|
|
14
|
-
Requires-Dist: dateparser>=1.2.0
|
|
15
|
-
Requires-Dist: greenlet>=3.1.1
|
|
16
|
-
Requires-Dist: icecream>=2.1.3
|
|
17
|
-
Requires-Dist: loguru>=0.7.3
|
|
18
|
-
Requires-Dist: markdown-it-py>=3.0.0
|
|
19
|
-
Requires-Dist: mcp>=1.2.0
|
|
20
|
-
Requires-Dist: pydantic-settings>=2.6.1
|
|
21
|
-
Requires-Dist: pydantic[email,timezone]>=2.10.3
|
|
22
|
-
Requires-Dist: pyright>=1.1.390
|
|
23
|
-
Requires-Dist: python-frontmatter>=1.1.0
|
|
24
|
-
Requires-Dist: pyyaml>=6.0.1
|
|
25
|
-
Requires-Dist: rich>=13.9.4
|
|
26
|
-
Requires-Dist: sqlalchemy>=2.0.0
|
|
27
|
-
Requires-Dist: typer>=0.9.0
|
|
28
|
-
Requires-Dist: unidecode>=1.3.8
|
|
29
|
-
Requires-Dist: watchfiles>=1.0.4
|
|
30
|
-
Provides-Extra: dev
|
|
31
|
-
Requires-Dist: pytest-asyncio>=0.24.0; extra == 'dev'
|
|
32
|
-
Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
|
|
33
|
-
Requires-Dist: pytest-mock>=3.12.0; extra == 'dev'
|
|
34
|
-
Requires-Dist: pytest>=8.3.4; extra == 'dev'
|
|
35
|
-
Requires-Dist: ruff>=0.1.6; extra == 'dev'
|
|
36
|
-
Description-Content-Type: text/markdown
|
|
37
|
-
|
|
38
|
-
# Basic Memory
|
|
39
|
-
|
|
40
|
-
> Local-first knowledge management combining Zettelkasten with knowledge graphs.
|
|
41
|
-
|
|
42
|
-
Basic Memory helps you capture and explore information the way your brain naturally works - across multiple dimensions and perspectives. Built on open standards and powered by proven technology, it's ready for the future of human-AI collaboration.
|
|
43
|
-
|
|
44
|
-
## Features
|
|
45
|
-
|
|
46
|
-
- Local-first design - your files stay yours
|
|
47
|
-
- Knowledge graph with natural relations
|
|
48
|
-
- Markdown files with automatic parsing
|
|
49
|
-
- Rich context building and search
|
|
50
|
-
- Native AI integration via MCP protocol
|
|
51
|
-
|
|
52
|
-
## Quick Start
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
pip install basic-memory
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
Initialize a new knowledge base:
|
|
59
|
-
```bash
|
|
60
|
-
basic-memory init my-knowledge
|
|
61
|
-
cd my-knowledge
|
|
62
|
-
basic-memory status
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## Contributing
|
|
66
|
-
|
|
67
|
-
Basic Memory is open source (AGPL-3.0) and welcomes contributions. See our [Contributing Guide](CONTRIBUTING.md) for details.
|
|
68
|
-
|
|
69
|
-
## License
|
|
70
|
-
|
|
71
|
-
AGPL-3.0 - See [LICENSE](LICENSE) for details.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|