graph-me-maybe 0.1.73__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.
Files changed (158) hide show
  1. graph_me_maybe-0.1.73.dist-info/METADATA +330 -0
  2. graph_me_maybe-0.1.73.dist-info/RECORD +158 -0
  3. graph_me_maybe-0.1.73.dist-info/WHEEL +4 -0
  4. graph_me_maybe-0.1.73.dist-info/entry_points.txt +5 -0
  5. graph_me_maybe-0.1.73.dist-info/licenses/LICENSE.md +75 -0
  6. graph_me_maybe-0.1.73.dist-info/licenses/THIRD_PARTY_NOTICES.md +144 -0
  7. graphme/__init__.py +24 -0
  8. graphme/adapters/__init__.py +1 -0
  9. graphme/adapters/chat.py +259 -0
  10. graphme/adapters/embedding.py +87 -0
  11. graphme/adapters/export/__init__.py +0 -0
  12. graphme/adapters/export/neo4j.py +224 -0
  13. graphme/adapters/export/neo4j_admin.py +151 -0
  14. graphme/adapters/export/neo4j_import.py +284 -0
  15. graphme/adapters/extractors/__init__.py +1 -0
  16. graphme/adapters/extractors/docx.py +568 -0
  17. graphme/adapters/extractors/excel.py +1430 -0
  18. graphme/adapters/extractors/mail.py +478 -0
  19. graphme/adapters/extractors/pdf.py +1331 -0
  20. graphme/adapters/extractors/pdf_scans.py +97 -0
  21. graphme/adapters/extractors/pdf_tables.py +116 -0
  22. graphme/adapters/extractors/powerpoint.py +697 -0
  23. graphme/adapters/extractors/xlsx_drawings.py +463 -0
  24. graphme/adapters/extractors/xlsx_visual_tables.py +743 -0
  25. graphme/adapters/local_models.py +234 -0
  26. graphme/adapters/offline.py +218 -0
  27. graphme/adapters/rendering/__init__.py +0 -0
  28. graphme/adapters/rendering/browser_capture.py +171 -0
  29. graphme/adapters/rendering/browser_office.py +446 -0
  30. graphme/adapters/rendering/browser_render.html +204 -0
  31. graphme/adapters/rendering/chart_axes.py +87 -0
  32. graphme/adapters/rendering/embedded_images.py +74 -0
  33. graphme/adapters/rendering/hwp_print.html +72 -0
  34. graphme/adapters/rendering/hwp_print.py +307 -0
  35. graphme/adapters/rendering/page_image.py +37 -0
  36. graphme/adapters/rendering/page_renderer.py +106 -0
  37. graphme/adapters/rendering/pdf_pages.py +106 -0
  38. graphme/adapters/rendering/picture_anchors.py +67 -0
  39. graphme/adapters/rendering/viewer/README.md +94 -0
  40. graphme/adapters/rendering/viewer/UPSTREAM +6 -0
  41. graphme/adapters/rendering/viewer/dist-patches/0001-docx-metric-only-segments-do-not-merge.patch +11 -0
  42. graphme/adapters/rendering/viewer/dist-patches/0002-emf-16-bit-dib-pictures.patch +15 -0
  43. graphme/adapters/rendering/viewer/dist-patches/0003-smoothed-line-axis-covers-the-drawn-curve.patch +62 -0
  44. graphme/adapters/rendering/viewer/dist-patches/0004-emf-bitfields-dib-pictures.patch +51 -0
  45. graphme/adapters/rendering/viewer/patches/0001-drawing-rotation-and-grid-geometry.patch +521 -0
  46. graphme/adapters/rendering/viewer/patches/0002-combo-chart-secondary-category-axis.patch +134 -0
  47. graphme/adapters/rendering/viewer/patches/0003-smoothed-line-axis-covers-the-drawn-curve.patch +117 -0
  48. graphme/adapters/rendering/viewer/patches/0004-emf-16-bit-dib-pictures.patch +22 -0
  49. graphme/adapters/rendering/viewer/patches/0005-emf-bitfields-dib-pictures.patch +66 -0
  50. graphme/adapters/rendering/viewer/setup.sh +82 -0
  51. graphme/adapters/rendering/visual_binding.py +304 -0
  52. graphme/adapters/rendering/xlsx_measurement.py +202 -0
  53. graphme/adapters/sources/__init__.py +43 -0
  54. graphme/adapters/sources/box.py +176 -0
  55. graphme/adapters/sources/box_account.py +121 -0
  56. graphme/adapters/sources/cloud_files.py +97 -0
  57. graphme/adapters/sources/desktop_drives.py +217 -0
  58. graphme/adapters/sources/gmail_mail.py +116 -0
  59. graphme/adapters/sources/google_sign_in.py +113 -0
  60. graphme/adapters/sources/imap_mail.py +314 -0
  61. graphme/adapters/sources/mail_store.py +154 -0
  62. graphme/adapters/sources/microsoft_sign_in.py +116 -0
  63. graphme/adapters/sources/outlook_mail.py +134 -0
  64. graphme/adapters/sources/sign_in.py +98 -0
  65. graphme/adapters/storage/__init__.py +1 -0
  66. graphme/adapters/storage/answer_prompt.py +144 -0
  67. graphme/adapters/storage/assets.py +69 -0
  68. graphme/adapters/storage/graph_rag.py +1032 -0
  69. graphme/adapters/storage/hybrid_search.py +231 -0
  70. graphme/adapters/storage/local_neo4j.py +517 -0
  71. graphme/adapters/storage/neo4j_space.py +728 -0
  72. graphme/adapters/storage/similar_documents.py +212 -0
  73. graphme/adapters/storage/workspace_move.py +168 -0
  74. graphme/adapters/storage/workspace_scope.py +118 -0
  75. graphme/adapters/strict_schema.py +72 -0
  76. graphme/adapters/vision/carried_outline.py +109 -0
  77. graphme/adapters/vision/chat_completions.py +910 -0
  78. graphme/adapters/vision/hierarchy_scope.py +619 -0
  79. graphme/adapters/vision/outline_join.py +147 -0
  80. graphme/adapters/vision/prompts.py +289 -0
  81. graphme/adapters/vision/text_grouping.py +90 -0
  82. graphme/agent.py +365 -0
  83. graphme/agent_file.py +172 -0
  84. graphme/api.py +243 -0
  85. graphme/application/__init__.py +1 -0
  86. graphme/application/corpus_build.py +208 -0
  87. graphme/application/corpus_links.py +471 -0
  88. graphme/application/document_graph.py +192 -0
  89. graphme/application/document_references.py +293 -0
  90. graphme/application/embedded_documents.py +465 -0
  91. graphme/application/figure_groups.py +157 -0
  92. graphme/application/file_titles.py +194 -0
  93. graphme/application/final_edges.py +68 -0
  94. graphme/application/graph_chunks.py +186 -0
  95. graphme/application/hierarchy_decisions.py +228 -0
  96. graphme/application/ingest.py +121 -0
  97. graphme/application/outline_join.py +364 -0
  98. graphme/application/page_enrichment.py +85 -0
  99. graphme/application/page_hierarchy_scope.py +254 -0
  100. graphme/application/page_regions.py +358 -0
  101. graphme/application/page_units.py +149 -0
  102. graphme/application/passage_scores.py +61 -0
  103. graphme/application/progress.py +65 -0
  104. graphme/application/reading_order.py +116 -0
  105. graphme/application/unit_grouping.py +519 -0
  106. graphme/application/unit_placement.py +257 -0
  107. graphme/application/unit_regions.py +115 -0
  108. graphme/application/visual_captions.py +237 -0
  109. graphme/application/visual_crops.py +536 -0
  110. graphme/cli.py +373 -0
  111. graphme/config.py +412 -0
  112. graphme/domain/__init__.py +1 -0
  113. graphme/domain/enums.py +80 -0
  114. graphme/domain/ids.py +36 -0
  115. graphme/domain/models.py +854 -0
  116. graphme/domain/text_match.py +54 -0
  117. graphme/fonts/Pretendard-OFL.txt +94 -0
  118. graphme/fonts/Pretendard-Regular.otf +0 -0
  119. graphme/icons/AppIcon.icns +0 -0
  120. graphme/icons/AppIcon.ico +0 -0
  121. graphme/icons/logo.svg +1 -0
  122. graphme/launcher.py +232 -0
  123. graphme/login_item.py +68 -0
  124. graphme/mcp_server.py +452 -0
  125. graphme/model_endpoint.py +50 -0
  126. graphme/neo4j_install.py +30 -0
  127. graphme/passages.py +115 -0
  128. graphme/ports/__init__.py +1 -0
  129. graphme/ports/extractor.py +12 -0
  130. graphme/ports/sources.py +19 -0
  131. graphme/ports/storage.py +10 -0
  132. graphme/ports/vision.py +80 -0
  133. graphme/processes.py +58 -0
  134. graphme/providers.py +77 -0
  135. graphme/py.typed +0 -0
  136. graphme/release_assets.py +111 -0
  137. graphme/runtime.py +324 -0
  138. graphme/samples.py +483 -0
  139. graphme/server/__init__.py +4 -0
  140. graphme/server/app.py +1227 -0
  141. graphme/server/cloud_sources.py +160 -0
  142. graphme/server/corpus_builds.py +390 -0
  143. graphme/server/demo.py +99 -0
  144. graphme/server/demo_base.py +276 -0
  145. graphme/server/exports.py +118 -0
  146. graphme/server/jobs.py +207 -0
  147. graphme/server/mail_accounts.py +227 -0
  148. graphme/server/mail_sync.py +159 -0
  149. graphme/server/models.py +523 -0
  150. graphme/server/previews.py +156 -0
  151. graphme/server/reading.py +314 -0
  152. graphme/server/search_models.py +145 -0
  153. graphme/server/settings.py +237 -0
  154. graphme/server/space_jobs.py +262 -0
  155. graphme/server/state.py +422 -0
  156. graphme/server/workspaces.py +200 -0
  157. graphme/window_chrome.py +275 -0
  158. graphme/xlsx_bundle.py +741 -0
@@ -0,0 +1,330 @@
1
+ Metadata-Version: 2.5
2
+ Name: graph-me-maybe
3
+ Version: 0.1.73
4
+ Summary: Graph-Me-Maybe: local-first multimodal graph RAG over documents
5
+ Author: Graph-Me-Maybe contributors
6
+ License-Expression: LicenseRef-PolyForm-Noncommercial-1.0.0
7
+ License-File: LICENSE.md
8
+ License-File: THIRD_PARTY_NOTICES.md
9
+ Requires-Python: >=3.11
10
+ Requires-Dist: httpx<1,>=0.28
11
+ Requires-Dist: lxml<7,>=5
12
+ Requires-Dist: neo4j-graphrag[openai]>=1.22.0
13
+ Requires-Dist: neo4j>=6.4.0
14
+ Requires-Dist: numpy<3,>=2.2
15
+ Requires-Dist: olefile>=0.47
16
+ Requires-Dist: openpyxl<4,>=3.1
17
+ Requires-Dist: pillow<13,>=11
18
+ Requires-Dist: playwright<2,>=1.55
19
+ Requires-Dist: pydantic<3,>=2.11
20
+ Requires-Dist: pymupdf<2,>=1.26
21
+ Requires-Dist: python-docx<2,>=1.2
22
+ Requires-Dist: python-pptx<2,>=1.0
23
+ Requires-Dist: pyyaml<7,>=6.0
24
+ Requires-Dist: truststore<1,>=0.10
25
+ Requires-Dist: typer<1,>=0.16
26
+ Provides-Extra: app
27
+ Requires-Dist: fastapi<1,>=0.116; extra == 'app'
28
+ Requires-Dist: keyring<26,>=25; extra == 'app'
29
+ Requires-Dist: mcp<2,>=1.20; extra == 'app'
30
+ Requires-Dist: pystray<0.20,>=0.19.5; (sys_platform == 'darwin' or sys_platform == 'win32') and extra == 'app'
31
+ Requires-Dist: python-multipart<1,>=0.0.20; extra == 'app'
32
+ Requires-Dist: pywebview<7,>=5.4; (sys_platform == 'darwin' or sys_platform == 'win32') and extra == 'app'
33
+ Requires-Dist: uvicorn<1,>=0.35; extra == 'app'
34
+ Provides-Extra: dev
35
+ Requires-Dist: fastapi<1,>=0.116; extra == 'dev'
36
+ Requires-Dist: keyring<26,>=25; extra == 'dev'
37
+ Requires-Dist: mcp<2,>=1.20; extra == 'dev'
38
+ Requires-Dist: mypy<2,>=1.17; extra == 'dev'
39
+ Requires-Dist: pystray<0.20,>=0.19.5; (sys_platform == 'darwin' or sys_platform == 'win32') and extra == 'dev'
40
+ Requires-Dist: pytest<9,>=8.4; extra == 'dev'
41
+ Requires-Dist: python-multipart<1,>=0.0.20; extra == 'dev'
42
+ Requires-Dist: pywebview<7,>=5.4; (sys_platform == 'darwin' or sys_platform == 'win32') and extra == 'dev'
43
+ Requires-Dist: ruff<1,>=0.12; extra == 'dev'
44
+ Requires-Dist: types-pyyaml<7,>=6.0.12; extra == 'dev'
45
+ Requires-Dist: uvicorn<1,>=0.35; extra == 'dev'
46
+ Provides-Extra: server
47
+ Requires-Dist: fastapi<1,>=0.116; extra == 'server'
48
+ Requires-Dist: python-multipart<1,>=0.0.20; extra == 'server'
49
+ Requires-Dist: uvicorn<1,>=0.35; extra == 'server'
50
+ Description-Content-Type: text/markdown
51
+
52
+ <div align="center">
53
+
54
+ # Graph-Me-Maybe
55
+
56
+ **Turn a folder of PDF, Word, PowerPoint and Excel files into one knowledge graph, and ask it questions.**
57
+
58
+ [![Website](https://img.shields.io/badge/website-graphme.io-4F46E5)](https://graphme.io)
59
+ [![License: PolyForm Noncommercial](https://img.shields.io/badge/license-PolyForm%20Noncommercial%201.0.0-blue)](LICENSE.md)
60
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue)](https://www.python.org/)
61
+ [![Neo4j 5.26](https://img.shields.io/badge/Neo4j-5.26-018bff)](https://neo4j.com/)
62
+ ![Platforms](https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-lightgrey)
63
+
64
+ [Website](https://graphme.io) ·
65
+ [Live demo](https://graphme.io/demo/en/) ·
66
+ [Benchmarks](https://graphme.io/benchmarks/) ·
67
+ [Install](#-install-the-app) ·
68
+ [Usage](#-usage) ·
69
+ [How it works](#-how-it-works) ·
70
+ [Configuration](#-configuration) ·
71
+ [Develop](#-develop-from-source) ·
72
+ [Contribute](CONTRIBUTING.md)
73
+
74
+ <br>
75
+
76
+ <a href="https://graphme.io/demo/en/"><img src="docs/assets/demo.gif" alt="Asking a question in Graph-Me-Maybe: the answer cites a spreadsheet row and a slide, and the source cell is highlighted on the rendered page" width="860"></a>
77
+
78
+ <sub>An invented company's 32 documents. [Watch it as video](docs/assets/demo.mp4) · [Try the live demo](https://graphme.io/demo/en/)</sub>
79
+
80
+ </div>
81
+
82
+ ---
83
+
84
+ Graph-Me-Maybe is a local-first app. It reads each document the way a person would — as rendered
85
+ pages — works out what sits under what, links documents that cite or resemble each other, and stores
86
+ all of it in a single Neo4j graph. A question is answered from that graph with its sources: the
87
+ documents that match, and the documents linked to them.
88
+
89
+ Your documents, the graph and your keys stay on your machine. Only the model and embedding calls
90
+ leave it, to the provider you choose.
91
+
92
+ ## ✨ Features
93
+
94
+ - **Every common format, one graph.** PDF, DOCX, PPTX, XLSX and Hangul (HWP, HWPX), including files embedded inside other files
95
+ (a workbook in a deck, a PDF in a memo).
96
+ - **Structure read off the page.** A vision-language model reads each rendered page and decides the
97
+ outline — headings, sections, what a table or a figure belongs to — instead of trusting styles or
98
+ font sizes.
99
+ - **Documents linked to each other.** A document that names another by number or title is linked to
100
+ it; documents with similar content are linked too. Answers follow those links.
101
+ - **Hybrid retrieval.** Vector search and full-text search (BM25) run side by side in Neo4j and are
102
+ fused with weighted reciprocal rank fusion. A question about nothing in the graph gets "no related
103
+ documents", not a guess.
104
+ - **Search on this machine.** Passages are embedded by a small model run locally (a general one by
105
+ default, or one for Korean), so searching needs no key and sends nothing out. OpenAI or Gemini
106
+ embeddings remain a choice.
107
+ - **Your cloud drives.** Box Drive, Google Drive for desktop and OneDrive (with the SharePoint
108
+ libraries it syncs) are browsed in the app as folders and built from; Box can also be signed in to
109
+ directly. A file kept online only is given back to the cloud once read, so a large folder does not
110
+ fill the disk.
111
+ - **Workspaces.** Graphs kept apart, each with its own documents and links, switched in seconds.
112
+ - **A desktop app.** One-line installers for macOS and Windows; the graph database (Neo4j) is
113
+ installed and run by the app itself, with no Docker and no account.
114
+ - **Open graph.** Export to a `neo4j-admin` import bundle, a `.dump` for Neo4j Desktop or Aura, or
115
+ upload straight to Aura — Neo4j's own GraphRAG retrievers work on it with no code from here.
116
+ - **CLI, Python API and HTTP API** over the same pipeline and the same graph.
117
+
118
+ ## 📦 Install the app
119
+
120
+ Paste one line into a terminal. It installs the app and what it needs (Python, the web app, the
121
+ document viewer, a browser to draw pages with, Neo4j and Java), then opens the app. Run it again to
122
+ update.
123
+
124
+ **macOS and Linux**
125
+
126
+ ```bash
127
+ curl -fsSL https://raw.githubusercontent.com/ToBeSuperior/Graph-Me-Maybe/main/install.sh | sh
128
+ ```
129
+
130
+ **Windows** (PowerShell)
131
+
132
+ ```powershell
133
+ powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/ToBeSuperior/Graph-Me-Maybe/main/install.ps1 | iex"
134
+ ```
135
+
136
+ Then open **Graph-Me-Maybe** from Applications (macOS) or the Start menu (Windows), and put your
137
+ model key in **Manage › Keys and model**. Try it with **Try sample documents** on the Ask tab.
138
+
139
+ > [!NOTE]
140
+ > On Windows, install from PowerShell, not inside WSL. Updating, uninstalling, where the app keeps
141
+ > its files, and troubleshooting are in [docs/installation.md](docs/installation.md).
142
+
143
+ ## 🚀 Usage
144
+
145
+ ### The app
146
+
147
+ Drop a folder of documents on the **Ask** tab (or use the sample documents), wait for it to be read,
148
+ and ask a question. The answer cites its documents; the documents found are shown as folders by how
149
+ they were reached — found by the question, linked to those, linked to those in turn — with the
150
+ matching passage highlighted on the rendered page. **Manage** holds the document list, the map of
151
+ links, each document's outline, the cloud drives, export, keys and model, and the danger zone; the
152
+ last build's result (how many went in, and why each failure failed) stays in its side menu. The
153
+ workspace open is named in the top bar, where another is opened or made. A tour of every screen is in
154
+ [docs/user-guide.md](docs/user-guide.md).
155
+
156
+ ### Command line
157
+
158
+ The CLI uses the same graph as the app.
159
+
160
+ ```bash
161
+ graphme build-graph ./docs # read a folder, put it in the graph, link and embed it
162
+ graphme ask "What pressure does the leak test use?"
163
+ graphme export-corpus ./out --dump # one .dump file for Neo4j Desktop or Aura
164
+ graphme --help # every command
165
+ ```
166
+
167
+ ### Python
168
+
169
+ ```python
170
+ import graphme
171
+
172
+ doc = graphme.read("report.pptx") # one document -> ExtractedDocument (no Neo4j needed)
173
+
174
+ with graphme.GraphMe() as g: # settings from .env / the environment
175
+ g.add("docs/") # a folder or one file -> BuildReport
176
+ g.embed() # cut passages and embed them for search
177
+ for hit in g.search("leak test pressure"):
178
+ print(graphme.shown_name(hit.file), hit.score)
179
+ print(g.ask("What pressure does the leak test use?").text)
180
+ g.export("out/") # neo4j-admin import bundle (dump=True for a .dump)
181
+ ```
182
+
183
+ The public API is exactly the names in `graphme.__all__`. More in [`examples/`](examples/).
184
+
185
+ ### HTTP API
186
+
187
+ ```bash
188
+ graphme serve # http://127.0.0.1:8765 — the API, its docs at /docs, the web app
189
+ curl -s -X POST http://127.0.0.1:8765/v1/ask -H 'content-type: application/json' \
190
+ -d '{"question": "What pressure does the leak test use?"}'
191
+ ```
192
+
193
+ Long work (reading, embedding, exporting) runs as jobs you poll at `GET /v1/jobs/{id}`; every error
194
+ body is `{"detail": "..."}`. Without `GRAPHME_API_KEY` the server answers this machine only. The
195
+ full contract is at `/docs` and in [`src/graphme/server/models.py`](src/graphme/server/models.py).
196
+
197
+ ## 🧠 How it works
198
+
199
+ ```text
200
+ files ──▶ extract ──▶ render pages ──▶ bind visuals ──▶ VLM: figures, paragraphs, outline
201
+ │
202
+ answer ◀── walk links (2-3 hops) ◀── hybrid search ◀── passages ◀── one Neo4j graph
203
+ (vector + BM25, (documents, outlines,
204
+ weighted RRF) citations, similarity)
205
+ ```
206
+
207
+ 1. **Extract.** Text, tables and pictures come straight from the file. The file owns the graph:
208
+ what the model sees later can add evidence, never invent nodes.
209
+ 2. **Render and bind.** Each page is drawn (Office files in a browser, PDFs rasterised) and every
210
+ unit is placed on it, so a table or a picture has an exact crop.
211
+ 3. **Read the page.** A vision-language model is asked, page by page, which units form one figure,
212
+ which pieces form one paragraph, and what reads under what. Long documents carry their outline
213
+ from page to page.
214
+ 4. **Link.** A document that names another is linked to it; documents with similar passages are
215
+ linked too.
216
+ 5. **Retrieve.** The outline is cut into passages and embedded. A question runs vector and full-text
217
+ search in Neo4j, fuses them, keeps only passages with real evidence, then walks the links to bring
218
+ the connected documents along — see [docs/retrieval.md](docs/retrieval.md).
219
+
220
+ The rules are in [`finalized_source.md`](finalized_source.md); why the pipeline looks like this, and
221
+ what failed on the way, is in [`docs/method.md`](docs/method.md).
222
+
223
+ ## 📄 Supported formats
224
+
225
+ | Format | Read | Drawn by | Notes |
226
+ |---|---|---|---|
227
+ | PDF | text, tables, images, attachments, scanned pages | PyMuPDF; scanned pages read by the page-reading model | text read off a scan is marked as the model's reading |
228
+ | DOCX | paragraphs, tables, pictures, embedded files | browser viewer (WASM) | headers, footers and comments are not extracted |
229
+ | PPTX | slides, shapes, tables, charts, pictures, embedded files | browser viewer (WASM) | slides keep their order |
230
+ | XLSX | sheets, tables, charts, pictures, formulas, embedded files | browser viewer (WASM) | formulas are linked, not recalculated |
231
+ | HWP, HWPX | what the page shows, read as a PDF | rhwp (WASM) in the browser, printed to PDF | text rhwp leaves undrawn is read from the file and set on pages after the print, without its place on the page |
232
+
233
+ ## ⚙️ Configuration
234
+
235
+ Settings come from defaults, then `.env`, then a YAML file named by `GRAPHME_CONFIG` (never secrets),
236
+ then the environment. The installed app keeps its `.env` in its own folder; the app's
237
+ **Manage › Keys and model** page writes it for you. Every setting is listed with comments in
238
+ [`.env.example`](.env.example).
239
+
240
+ | Setting | What it is |
241
+ |---|---|
242
+ | `GRAPHME_PROVIDER` | who reads documents and answers: `openai` (default), `anthropic` or `gemini` |
243
+ | `OPENAI_API_KEY` / `ANTHROPIC_API_KEY` / `GEMINI_API_KEY` | that provider's key |
244
+ | `GRAPHME_EMBEDDING_PROVIDER` | who embeds passages for search: `general` (default) or `korean`, run on this machine with no key; or `openai` / `gemini` with that provider's key |
245
+ | `GRAPHME_NEO4J_URI` (+ `GRAPHME_NEO4J_PASSWORD`) | use a Neo4j you run yourself (Desktop, a server, Aura) instead of the app's own |
246
+ | `GRAPHME_HOME` | the app's folder (settings, graph, viewer) |
247
+ | `GRAPHME_RETRIEVAL_DOCUMENTS` | how many documents a question finds when it does not say (5; `GRAPHME_RETRIEVAL_TOP_K` is its old name) |
248
+ | `GRAPHME_HIERARCHY_READINGS` | how many times each page is read (more readings, steadier outlines, more cost) |
249
+ | `GRAPHME_NEO4J_HEAP` / `GRAPHME_NEO4J_PAGECACHE` | memory of the app's Neo4j, for large graphs |
250
+ | `GRAPHME_API_KEY` | required by `graphme serve` before it opens beyond this machine |
251
+ | `GRAPHME_BOX_CLIENT_ID` / `GRAPHME_BOX_CLIENT_SECRET` | your own Box app, to sign in to Box directly (Box Drive needs none) |
252
+
253
+ ## 🛠 Develop from source
254
+
255
+ **Requirements:** Python 3.11+ and [uv](https://docs.astral.sh/uv/) for everything Python; Node.js 24+
256
+ (npm 11+) for the web app; Google Chrome (or Playwright's Chromium) and, once, Rust with
257
+ `wasm32-unknown-unknown` plus [`wasm-pack`](https://github.com/rustwasm/wasm-pack) to build the
258
+ document viewer. Running only the tests needs Python and uv alone.
259
+
260
+ ```bash
261
+ git clone https://github.com/ToBeSuperior/Graph-Me-Maybe.git
262
+ cd Graph-Me-Maybe
263
+ uv sync --extra dev # Python 3.11 and the dependencies
264
+ (cd frontend && npm ci && npm run build) # the web app
265
+ cp .env.example .env # your settings (never copy another machine's)
266
+ src/graphme/adapters/rendering/viewer/setup.sh # the document viewer, once (~1-2 min)
267
+ ```
268
+
269
+ Put your provider's key in `.env` (see [Configuration](#-configuration)). To use it only as a
270
+ library, `pip install graph-me-maybe` installs the CLI and the Python API (`[server]` adds
271
+ `graphme serve`, `[app]` the app). The viewer that draws Office files, a Chromium and Neo4j
272
+ are fetched on first use, or ahead with `graphme setup`.
273
+
274
+ Run the app with the sample documents, or the bare server:
275
+
276
+ ```bash
277
+ uv run python tools/hierarchy_demo/app.py # http://127.0.0.1:8765, with "Try sample documents"
278
+ uv run graphme serve # the same server without the samples
279
+ (cd frontend && npm run dev) # http://127.0.0.1:5173, hot reload, /v1 proxied to 8765
280
+ ```
281
+
282
+ The first start fetches Neo4j and Java into the app folder (about 210 MB) and starts them; with
283
+ `GRAPHME_NEO4J_URI` in `.env` it uses that Neo4j instead.
284
+
285
+ **Checks** — what CI runs, and what a pull request has to pass:
286
+
287
+ ```bash
288
+ uv run ruff check src tests/public && uv run mypy
289
+ uv run pytest tests/public # no key, no Neo4j, no real document needed
290
+ cd frontend && npm run typecheck && npm test && npm run e2e && npm run build
291
+ ```
292
+
293
+ ## 🤝 Contributing
294
+
295
+ Contributions are welcome — bug reports, fixes, new format support, documentation. Start with
296
+ [CONTRIBUTING.md](CONTRIBUTING.md): it walks through the setup, the layout of the code, how tests are
297
+ written here (invented data only, a failing test first), and how a pull request is reviewed. Please
298
+ also read the [Code of Conduct](CODE_OF_CONDUCT.md); security issues go to
299
+ [SECURITY.md](SECURITY.md), not to public issues.
300
+
301
+ ## ⚠️ Known limitations
302
+
303
+ - OpenAI is the only provider checked against live calls; the Anthropic and Gemini paths are covered
304
+ by recorded-response tests only.
305
+ - Office files are drawn by a browser-based viewer, so DOCX pagination and PPTX effects are close to,
306
+ not pixel-identical with, Word and PowerPoint.
307
+ - Formulas are linked, not recalculated; Excel's calculation engine is not replaced.
308
+ - The outline is read page by page by a model; a page the model gives no usable answer for stays
309
+ flat and is reported as `hierarchy_page_unread`.
310
+ - Mixed-column layouts and borderless tables in PDFs are read on a best-effort basis.
311
+ - The `.dump` export is checked by loading it into an empty Neo4j 5.26; Aura upload has not been
312
+ checked end to end.
313
+ - Giving a cloud file back after it is read works on macOS (Box Drive, Google Drive, OneDrive) and,
314
+ on Windows, for OneDrive only; OneDrive/SharePoint has been checked with invented folders only.
315
+
316
+ ## 🔒 Security and data
317
+
318
+ - Never commit `.env`, real documents, API keys or OAuth files.
319
+ - Open `graphme serve` beyond this machine only with `GRAPHME_API_KEY` set; without one it stays on
320
+ 127.0.0.1.
321
+ - Check your model provider's data terms before sending confidential documents to it -- and the
322
+ embedding provider's, if you choose OpenAI or Gemini for search (the default runs on this machine).
323
+ - Generated captions are kept apart from what the file says and are never used as a citation.
324
+
325
+ ## 📜 License
326
+
327
+ [PolyForm Noncommercial 1.0.0](LICENSE.md): free for personal study, research, education,
328
+ non-profit organisations and public institutions to use, change and share; not for commercial use or
329
+ use in a company's business. The bundled document viewer is MIT-licensed; Neo4j and Java are fetched
330
+ from their publishers under their own licenses — see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
@@ -0,0 +1,158 @@
1
+ graphme/__init__.py,sha256=1YaCvZNtJCZBFHD_Dy-jHI6V8f1CNfdq37Fv94Junog,849
2
+ graphme/agent.py,sha256=AmgQZYR4C9oIfCVte3R-M5pYsKwrICwpf405nlMv_ww,14828
3
+ graphme/agent_file.py,sha256=y5BBQlFngMcP4h9nBXBkQe8nXz3jGtCUwyosmUDDwZs,6639
4
+ graphme/api.py,sha256=woGVxEDwrxgYjLnG0BCP-Tvls4ZljX-oluFgYL9UQ8w,10989
5
+ graphme/cli.py,sha256=m3-I1XAh9eg_DtN6MPQDWtqCkqeisKWkze3erAUtc20,15763
6
+ graphme/config.py,sha256=-3YBiy-igMITg59XgBHGLnPb6IkKHA-X80jkKKzyoVU,20654
7
+ graphme/launcher.py,sha256=VpUc3WBlmyL-3sZewBuO6r8kaIOd0AmUTriusKoMkO8,9727
8
+ graphme/login_item.py,sha256=LvQOAtxvmERSLgsxCNP0D79IQO_1XBHL7mWlhXfp4xo,2452
9
+ graphme/mcp_server.py,sha256=PflxkucYMwztAWYDhco4l2zfRTJanOcjSKEKTDpl6Ao,22589
10
+ graphme/model_endpoint.py,sha256=hmOg5ZwB4Y25QBqnPNOlpuvN_zi5SvOAaWeEbbgX4yo,2571
11
+ graphme/neo4j_install.py,sha256=VoIVXktmOAE2hv3_FTZ00irtviPL8VpBubvk1QLoqcc,1143
12
+ graphme/passages.py,sha256=8PvK4WT2sqJW8xD24CGEukFcusxR_Vcmbl7d6q9Zheg,5186
13
+ graphme/processes.py,sha256=b8H8HNEtExHXUolo7uEI1CevfkaP5-G7Jzs9QxhLvJE,2517
14
+ graphme/providers.py,sha256=KTMn2E0XjXZi1xt8Jy9SJhsNDah7tduGyRXGkfMMNsc,3037
15
+ graphme/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ graphme/release_assets.py,sha256=_12EuABOILaIUWWaXnVwHGdmdEW9AkmJrN_RXsHPoL8,4778
17
+ graphme/runtime.py,sha256=Rw-N-2Q6b03Z9o6JuTtppzgktX82-tE3DrKx-cKYUcw,14261
18
+ graphme/samples.py,sha256=CsKxJMmjBMFilGOKZWFdHh17Pay4aBSUKujWf-xxFRI,24507
19
+ graphme/window_chrome.py,sha256=kZMTy-_jZ4SxJ5g1WlXG4vV9_h79He_e7hW7sekx35w,13893
20
+ graphme/xlsx_bundle.py,sha256=O1r7ufWNWber0Nx8ezfH5iPMQnZr7PobO_EXG3hE3nE,30388
21
+ graphme/adapters/__init__.py,sha256=ErfypLbWC0TiTJa10frdUfpUYcLarNHLYNIFDEe1Imo,48
22
+ graphme/adapters/chat.py,sha256=3VouT2Gm2R-HtaO_svvJHmXfrsTwFcv20zy4MA419tQ,11038
23
+ graphme/adapters/embedding.py,sha256=Bpks9h9xxlaPnT6FolkFFczNdQ3qIxIoyadgDBWn0rg,3616
24
+ graphme/adapters/local_models.py,sha256=ldTXPUtzjsXGww-UA2hA6A8PjtmIGldCV02gfKCey2E,9521
25
+ graphme/adapters/offline.py,sha256=QRO6vWOUJOn54XF8QM7_7_vSL0LZS72nBB0-GDPrU08,8660
26
+ graphme/adapters/strict_schema.py,sha256=uFvKe50m_1oEFc1p5llcrlzgonRb-JcgHL2PFXq3OAI,2807
27
+ graphme/adapters/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
+ graphme/adapters/export/neo4j.py,sha256=-9-MfnvSg9HYignQrb3ptXuLxwtmbBQbjaJAMha7Jh4,9442
29
+ graphme/adapters/export/neo4j_admin.py,sha256=3P8WikAT_aEKcQcaE1gi7jXzlTrvdTr4bdpqo6c6lyU,7090
30
+ graphme/adapters/export/neo4j_import.py,sha256=5IIpjYmel21crObLGhuJxlAcrTQ0VXw2P48wORkPk5I,12649
31
+ graphme/adapters/extractors/__init__.py,sha256=DJinGUQNreXEoxkR_0jlfohbp0PL0qFeVzOm302rYHU,43
32
+ graphme/adapters/extractors/docx.py,sha256=z2mU2o3Uur9fxv32w6fzEBisb3d25gqnIRv1U3eDZ3w,21863
33
+ graphme/adapters/extractors/excel.py,sha256=c7NkL8622_jMG2H0dIBww8I5x1ReatGIKU6EfzxQ6yo,56430
34
+ graphme/adapters/extractors/mail.py,sha256=Kh7Xaq_SONpfLxnuhP4mXX-qa02P-UaKdeSB69dIiXE,21196
35
+ graphme/adapters/extractors/pdf.py,sha256=cvbP-_xoGs_682Sx4lsmEDM9S0k1FxLmRkog09tb_18,59253
36
+ graphme/adapters/extractors/pdf_scans.py,sha256=1tXUypzNSlYQag1_PQbenCfbiDzOuPwjBesiIhlbITA,4848
37
+ graphme/adapters/extractors/pdf_tables.py,sha256=PTWv8UfM-weDEHJnBST_lihRMhqsm9rVBt2Vq4Zv5M8,5042
38
+ graphme/adapters/extractors/powerpoint.py,sha256=i8KOIgncX5IybSF7ULI6WrvxKo1CdgnZzkqiGBNPVU8,26670
39
+ graphme/adapters/extractors/xlsx_drawings.py,sha256=ZFqTgZ_jDjEAphZHzOby1va_O-5qEnSUG3IYcPx5i_E,16785
40
+ graphme/adapters/extractors/xlsx_visual_tables.py,sha256=G4czv38rXIuChwxtC5e7MU3jisUsEk29FYB9YMee7qk,29277
41
+ graphme/adapters/rendering/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
+ graphme/adapters/rendering/browser_capture.py,sha256=BVKR2glJuI-fMAf1esFD9hWNarwuoVYcOmOucPG4mVo,8182
43
+ graphme/adapters/rendering/browser_office.py,sha256=YxsRQ9iXwbHvjQwz2lEJFCn4rkzlnCYu4A4-4uMx9yA,19029
44
+ graphme/adapters/rendering/browser_render.html,sha256=SYfb23mIxdTOJ5LRZK5QMkaPIqAJ5SyYAh1JAsQHyM4,10641
45
+ graphme/adapters/rendering/chart_axes.py,sha256=aiDe7qclLOvYbm4TCo_70TlbRNZrwUfY1mL7cm9pKB4,3738
46
+ graphme/adapters/rendering/embedded_images.py,sha256=ui5SjgdfWbh6TRE9qeBJ3TVbNnF_ba5iLIEESM2XrVQ,3394
47
+ graphme/adapters/rendering/hwp_print.html,sha256=693vBipHy-XQmkx841hKmDFsW6PixHYrWPb1pH6VDuo,2984
48
+ graphme/adapters/rendering/hwp_print.py,sha256=6q1bU5a5nrF1tpYGDxbz1_CKF-8CW7x2LK3xqZaxm5g,13994
49
+ graphme/adapters/rendering/page_image.py,sha256=Wq39Clc3d0Hjg0zWXDgoI8hsnN-rq_47yaeqKkUrP_M,1101
50
+ graphme/adapters/rendering/page_renderer.py,sha256=lAvXWXEscIXAhvyceSaCvutDEc_9ZM78VhstQrh8sEk,4789
51
+ graphme/adapters/rendering/pdf_pages.py,sha256=D2FNv7rjYyZBDtR2kUGP7ePMAZ2p-U20Xbm_0vgX-7k,4627
52
+ graphme/adapters/rendering/picture_anchors.py,sha256=25T7qXh2u8hSuC-q-hR1VXOVwIZJoBO2QxARLj5MTiU,3056
53
+ graphme/adapters/rendering/visual_binding.py,sha256=n6PPa-wBCMUTnjch65GVnQWXdS9iydy9-qo-xBOlnB0,12155
54
+ graphme/adapters/rendering/xlsx_measurement.py,sha256=0tjgY1R9jthf5P4NvXXw9rmAMgm_pgs36sZ5mDA5jx8,7561
55
+ graphme/adapters/rendering/viewer/README.md,sha256=r_iSee-noJKU4H7kmfHegiyv-rBE5ez9VY8YUwpfOHY,7185
56
+ graphme/adapters/rendering/viewer/UPSTREAM,sha256=rSp2WpkKXx4D9gPAFmRQdvMIBxUi4_OESwup0vzuDrk,203
57
+ graphme/adapters/rendering/viewer/setup.sh,sha256=MpgWAtpcib7GiY2QjlHZHEtXF3DHl6huViWxy1aMBU4,4003
58
+ graphme/adapters/rendering/viewer/dist-patches/0001-docx-metric-only-segments-do-not-merge.patch,sha256=2qDI4-7s_8a7FJzIiE1HNUdEMJ_5gjyhFmCTWeaCqdQ,557
59
+ graphme/adapters/rendering/viewer/dist-patches/0002-emf-16-bit-dib-pictures.patch,sha256=OAL87cnEJAwQl55yzxOvW2i9N4dYrOvjLeaXBZfgHdg,591
60
+ graphme/adapters/rendering/viewer/dist-patches/0003-smoothed-line-axis-covers-the-drawn-curve.patch,sha256=bKqGd9mP3dg8El7BtRipwjN1QT4_ljA1t0GdZYZ2CWI,2385
61
+ graphme/adapters/rendering/viewer/dist-patches/0004-emf-bitfields-dib-pictures.patch,sha256=FkFVt5n_dS__fHpuzp3lQNNXw6tFVAHBZXCNEYe1h54,2023
62
+ graphme/adapters/rendering/viewer/patches/0001-drawing-rotation-and-grid-geometry.patch,sha256=PKV8g7kAlWIwJUq7wV3f_G_I74IdW9X5w0qeFCHC-Dc,23835
63
+ graphme/adapters/rendering/viewer/patches/0002-combo-chart-secondary-category-axis.patch,sha256=jOhIaMIPvA3m_sG2c5-_xFtJhENyGT-dEEC5806fPVc,7223
64
+ graphme/adapters/rendering/viewer/patches/0003-smoothed-line-axis-covers-the-drawn-curve.patch,sha256=3-cT3sMOB710RBcpC65XFgqTjZaZVbJD4ovCMlEpz04,4886
65
+ graphme/adapters/rendering/viewer/patches/0004-emf-16-bit-dib-pictures.patch,sha256=TeUqZKyH_IJcpx3EQ84QebsV6DXfe7TNi-okpSVcVKs,1078
66
+ graphme/adapters/rendering/viewer/patches/0005-emf-bitfields-dib-pictures.patch,sha256=WIZ2_FfESDorLPhF9bIUE1jmGL4C1OkDaaBL38A_sPM,3044
67
+ graphme/adapters/sources/__init__.py,sha256=qMQdFkkT_gdgXmJ-Z-cTv6r9CIPE7V_DX4ekcur9Fto,1419
68
+ graphme/adapters/sources/box.py,sha256=Yojsfle1jUUWB-8ZUwoTYSw9bO7HovuXcA4NCO4BOOc,6956
69
+ graphme/adapters/sources/box_account.py,sha256=3x16-_38Ae3juJ-8UmlrzGg7e-NW8nzWexYtWWL--VM,5738
70
+ graphme/adapters/sources/cloud_files.py,sha256=ndt4e4qGE9ruq36uXATS34B1dY68GGsGfODii1e82z0,3895
71
+ graphme/adapters/sources/desktop_drives.py,sha256=ATMxX8AH-oHm_nMWiSydVBKdm5yqQeaWcKCLMTc4pyw,10474
72
+ graphme/adapters/sources/gmail_mail.py,sha256=mIOlGYplrJL63xrvLfKDoLoAiFk1OAuo0KuVNxAeVco,5550
73
+ graphme/adapters/sources/google_sign_in.py,sha256=oOag0ckAoquXg-wbFxtO6jEGXWzxiY55bbMFHzatEBI,5422
74
+ graphme/adapters/sources/imap_mail.py,sha256=RbOImgzKGVR2bUfNUPwIkV0drFnszoooujh38tZj4S0,13816
75
+ graphme/adapters/sources/mail_store.py,sha256=Tvk5ZEYxUp0pdYdJmuj-_t9JtPtmsrgtLFrqsE-A97g,6984
76
+ graphme/adapters/sources/microsoft_sign_in.py,sha256=XZPWfmZ0t2oz2-9msCE2qvaz21GiDjL0nFa21UwHuaI,5905
77
+ graphme/adapters/sources/outlook_mail.py,sha256=68MqD6jLo-nN0maMJSQVnRYWfHpWb4oIqZ_C4ie3qY0,6424
78
+ graphme/adapters/sources/sign_in.py,sha256=5I4nnxpKxdoSs3pYnEq-1dh604FuCsFDCEb1abss6bc,2859
79
+ graphme/adapters/storage/__init__.py,sha256=vjNkf2-nLoxQ-WU5lX9-rsFm-iKMzIQ31oYYvQyd5WQ,48
80
+ graphme/adapters/storage/answer_prompt.py,sha256=qh-wIcSsAF48OzRC2bKXZvSX6Tn6uignLWFCOa7tYY8,6921
81
+ graphme/adapters/storage/assets.py,sha256=el2C5t12G9q2yZ0Mx7ErAfWdc_EEr9pWIDMLKDQML78,2819
82
+ graphme/adapters/storage/graph_rag.py,sha256=jF9E43-X5liL6cLIyRDtcjaIHOL_PK5ufPDT4scxGCU,50969
83
+ graphme/adapters/storage/hybrid_search.py,sha256=N1bQoaQJZcM309IfSUjki8ywPXZN4ASiPLE7DydDLHo,12047
84
+ graphme/adapters/storage/local_neo4j.py,sha256=IqqG2gi5-ynQCVvoOpobwjG8SZUdMZJFhUNPrtDosLY,21242
85
+ graphme/adapters/storage/neo4j_space.py,sha256=A-9vR5AJVmRJ4H8pYeZwBQkCNgGptqYN_qT-1yNXeJ4,34802
86
+ graphme/adapters/storage/similar_documents.py,sha256=XG2gJXV7TV24XOgscxgM-UYMO5pSTOoAqSP4zy0rMks,10729
87
+ graphme/adapters/storage/workspace_move.py,sha256=IVLAVRs_HeZMbW7UZYRUXHfdLwJ1ZsaO1xEsqOHFRcA,8013
88
+ graphme/adapters/storage/workspace_scope.py,sha256=yvramQviaIOkqe2ldTLvruGc6lGD0ot-BIzpAp2_R9w,4359
89
+ graphme/adapters/vision/carried_outline.py,sha256=Hlp_kv8PHKG0u3bFwNhHZUAYXYh6-43clHyPmkh4pug,4911
90
+ graphme/adapters/vision/chat_completions.py,sha256=scs62kOTdZhJN6ZpXBw64m9jliYeEs8EGsHp5m_J85I,37781
91
+ graphme/adapters/vision/hierarchy_scope.py,sha256=nVLzMSDX6Z3chz4dNduH7xELcia5mBgNIsAgAIJ7lVw,26851
92
+ graphme/adapters/vision/outline_join.py,sha256=BshqwEsx50DMZ7lTLb01SANZ4vhaoG66bYWFjDsjGYw,6457
93
+ graphme/adapters/vision/prompts.py,sha256=jP0SNzK4OAA4lhSWaEyEsl0TYTlG9R_SYsXv5VAx_Ak,18494
94
+ graphme/adapters/vision/text_grouping.py,sha256=doJc3LFWkFZTGGBrUe-fTVlfsHV86SgZckkEfzO8Rzo,3751
95
+ graphme/application/__init__.py,sha256=A1r1j-V301Cbd89Xff5E9APHmQzQ2sdnfsBx0E4mviw,61
96
+ graphme/application/corpus_build.py,sha256=Y4_PZLkUZRwnU1ksygkfZk3RMxtJDTDsfjStyUohjLI,9201
97
+ graphme/application/corpus_links.py,sha256=wquLkDbd_usCf0C1KYGJLUfMy1hxHKC2gnu8YfVRxKs,22599
98
+ graphme/application/document_graph.py,sha256=u6u-2jodjHx4wp8ZroNPhDqRieIeSqSYRV-rVfjo4sg,8297
99
+ graphme/application/document_references.py,sha256=EZm7VrjmS0JtJm5uClx9UCc5bjzS-y1gr24IVcxzLk0,12166
100
+ graphme/application/embedded_documents.py,sha256=uFIgQVpe2M9_1FBWMxFTNVnr0q49g0dWwJplWKjZXLI,20642
101
+ graphme/application/figure_groups.py,sha256=yNrOkisE-ZsIrzstv6BG98LCW8fi8V8l9yoksT7WJug,7128
102
+ graphme/application/file_titles.py,sha256=zr6VwCPgWdjw74tkF4vHVKacl2_HpUSOCERVmAm34Ig,8591
103
+ graphme/application/final_edges.py,sha256=00_NSioBdUB7zsONVEEhr1-9MCFNaTdjfoqmoKCf05E,3222
104
+ graphme/application/graph_chunks.py,sha256=GLiPBrqzOmpEfGQ30Zqko9W9VkazULmD0NVDwIbwfbg,7879
105
+ graphme/application/hierarchy_decisions.py,sha256=rauTcb6B59f-4y02c-14Jgc_XoqRWb2vhHe3I88r0yk,9638
106
+ graphme/application/ingest.py,sha256=JCvOBYnU8hwg8WfvkgpMCBKFwlOd6nSj478S6q1xzb8,4763
107
+ graphme/application/outline_join.py,sha256=61unEEijFbQhwWP7n5OSFbcxPVlt49kMk0EMa9CbxkU,17006
108
+ graphme/application/page_enrichment.py,sha256=2d9VRNcCvSrJ0RWAYpWqF_rLNbR3CJARKaxFBfALx5Q,2875
109
+ graphme/application/page_hierarchy_scope.py,sha256=5dEwmga2hLZhVcG-i4DytnBmC6p13hsIGBITAlsoGLA,10168
110
+ graphme/application/page_regions.py,sha256=riqiWY6v-BcMHDuUczlMfSRRGh-UsslRxanllsZaU4A,15723
111
+ graphme/application/page_units.py,sha256=6TbezIL4e2NpRWANpROV_WaRHNkQT0u7DloR6daxLUY,5532
112
+ graphme/application/passage_scores.py,sha256=h49IYPQQm7uXHVRWhgYeExlTk-r_nRLxMI86kZFbnyQ,2961
113
+ graphme/application/progress.py,sha256=NebZMgZ1Z3i_PNOvFEVzDJqciQIeTveYm17mD6WHIN4,2939
114
+ graphme/application/reading_order.py,sha256=wbu2sibEWKeSgZM1AthLrre4W0qThTC6CjrccS0bgpc,5182
115
+ graphme/application/unit_grouping.py,sha256=JEw2yNoOgJTlBC40STrnCZWz5_iBJX6lwAiDobUyOIA,21456
116
+ graphme/application/unit_placement.py,sha256=NVGXuBo1dPeeI-2gZs4Z1nTTIFYtpXoqcCrWwj0fe18,11220
117
+ graphme/application/unit_regions.py,sha256=-W90-YWC86UZpKsiA-cO1YBdBlx9uKtxKW5c52isr1w,4914
118
+ graphme/application/visual_captions.py,sha256=Oi3VUJhaLWtThL_XLq-o8sV2T0-2fSkMECgHGbX9OV4,9416
119
+ graphme/application/visual_crops.py,sha256=zgfpJ_EZvDZHANrJxx-2hg3pVJgBQ3KsEI5j9VB8vjQ,22572
120
+ graphme/domain/__init__.py,sha256=JLHzxLRMsr44LMkRcvBFCLbe_MCG6Gy4jk4AhzyiVf8,62
121
+ graphme/domain/enums.py,sha256=m20VFo1s_-goTZIT9dmqWcq7rRsCAUNgx2swosuMfcI,2194
122
+ graphme/domain/ids.py,sha256=j71MB45sK7bI1PqEMfU1AUqZgnmvGrM2kaMFJjwuM5w,1181
123
+ graphme/domain/models.py,sha256=GbKpKGwBabLv1izIyiLxzRwi9DL_J-QNpPxnxi5Gje4,36468
124
+ graphme/domain/text_match.py,sha256=sBsL2KC4SZy4y-ghLPUj0xut59bL5kdrF0_xbiN31Tw,2302
125
+ graphme/fonts/Pretendard-OFL.txt,sha256=sEU4yavsOaPbdRCM8K8P2cdwMv6Kos84NFtNJQ6Y444,4419
126
+ graphme/fonts/Pretendard-Regular.otf,sha256=P_us3mq4QR8dLbVLubHws-4qc4kyAzcizwOIwGrtHJM,1574352
127
+ graphme/icons/AppIcon.icns,sha256=YxGX__QjhBvou77HnNwAZcb7pFAKTmDEwZkI94dqcWw,126458
128
+ graphme/icons/AppIcon.ico,sha256=NaN5PCwwfmV0I_Cd4Ctz9lQMSRANUMGtv3SaTsV5nxk,27149
129
+ graphme/icons/logo.svg,sha256=sSfpW6prBTO600wG5ExvZOECEiPu9YRy0hDGBMDO9ik,339
130
+ graphme/ports/__init__.py,sha256=PusOh5C37crmcmNx4o1UH-8nf6hzxyQtq9Pvo19Od2I,43
131
+ graphme/ports/extractor.py,sha256=gRi50v5wXs1sHiwFLmY-DQgA4fEt2DtFyN7oqWASfLs,282
132
+ graphme/ports/sources.py,sha256=Ck_kTeR7tgopY0S-TaFdGttMMsd3YqPvM5jEI7i9Zlg,712
133
+ graphme/ports/storage.py,sha256=OgXr4PGjWai5OGOdXoFey7HOZdFy7052al-WZhCVLlY,292
134
+ graphme/ports/vision.py,sha256=R0NX53YkCO6z8eQSYF5vkPAbzMQD1B1XBMPkvwsFpb8,2094
135
+ graphme/server/__init__.py,sha256=guep8r4cXbQ0xSIi1MVDe7vcLWHEIUUIhq_EXWc9eaI,154
136
+ graphme/server/app.py,sha256=KnnWjus54jtJezCkH1XiNeW90_apbUfchKeKPt6OaK8,61335
137
+ graphme/server/cloud_sources.py,sha256=NXJhJZxD_Ya7p8fGEESrnM5TDR880bTBf9kdu0hNOuI,7368
138
+ graphme/server/corpus_builds.py,sha256=57PnGedre-Wl-7gF02MxeJ0GbUWNpnOFLMNa9tmsi3s,19549
139
+ graphme/server/demo.py,sha256=4my2hSViwPl8sf7dzRjD3L7opSNDDBesNmWHcKqDbO4,4092
140
+ graphme/server/demo_base.py,sha256=E1WReNGBqiai-Y1pGycSIoEMqZ8dCTKJErWOXeohqPs,14008
141
+ graphme/server/exports.py,sha256=Q5NG4Tn0duJS_JTe3KCXvZWPuJLk4l3-arsVXvUXtnA,5667
142
+ graphme/server/jobs.py,sha256=SPrK0gFquQRDZSsYIKiQpI9Mul3qHSHbfZiutFf-L5w,8856
143
+ graphme/server/mail_accounts.py,sha256=X3bOQAqkdCHgX7ERKEmotmBDcWJVqLlBOoP8LC9abrY,10732
144
+ graphme/server/mail_sync.py,sha256=ant721LpjKZY332yemCkoxuql8nYBF9pLHYr_GXRATo,7427
145
+ graphme/server/models.py,sha256=8Z4GBeKYy8TtBm6pVQVkIB_hH0JcrCkO_xgdmbqxpeE,14458
146
+ graphme/server/previews.py,sha256=MoZ2J5wwVn9PcTvzXDghHUMTrH78iKYenfV_Mt1BxZs,7263
147
+ graphme/server/reading.py,sha256=b92jELHSCHl-jm64J33NKX8n94xleHiRmhBGFRXcvs0,15321
148
+ graphme/server/search_models.py,sha256=-nJzwmqA3ahQA1q29oMDqf4V_4ubkb0YbJPcyG351RM,5878
149
+ graphme/server/settings.py,sha256=4pj3th3XOA82PDGYJYvtp02jVs_QdmP8q9Z5LAmWZoc,11918
150
+ graphme/server/space_jobs.py,sha256=MT8VbcrZLyEK0RCHKierdf24u24BgFvIHBtsqnnhy-w,13237
151
+ graphme/server/state.py,sha256=16THIB53euhh2UYIKxzRiKrbc4FHmcNH36As94ap1GY,15643
152
+ graphme/server/workspaces.py,sha256=DYkT3lULZ95TUVs92PXDhy4knYYzfGm_66h06qgSYx4,8459
153
+ graph_me_maybe-0.1.73.dist-info/METADATA,sha256=SEjXAes81HEsoshFANKkLG42gjxdsPmGITVLmYShYuY,17565
154
+ graph_me_maybe-0.1.73.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
155
+ graph_me_maybe-0.1.73.dist-info/entry_points.txt,sha256=Z3mQfHykfqROqJ8xPZLT9AjKWZTih4sBnxEOupnVmj0,96
156
+ graph_me_maybe-0.1.73.dist-info/licenses/LICENSE.md,sha256=fYa32b9C2OmP43zpDHXx7xQgRqLYIe2iELT-uMBkdNI,4662
157
+ graph_me_maybe-0.1.73.dist-info/licenses/THIRD_PARTY_NOTICES.md,sha256=Lwdkj58vA2z8lHvY0K-9Gi3HmfrNPw7_q62MrG8RdIs,6795
158
+ graph_me_maybe-0.1.73.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ graphme = graphme.cli:main
3
+
4
+ [gui_scripts]
5
+ graphme-app = graphme.launcher:main
@@ -0,0 +1,75 @@
1
+ # PolyForm Noncommercial License 1.0.0
2
+
3
+ <https://polyformproject.org/licenses/noncommercial/1.0.0>
4
+
5
+ ## Acceptance
6
+
7
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
8
+
9
+ ## Copyright License
10
+
11
+ The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
12
+
13
+ ## Distribution License
14
+
15
+ The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
16
+
17
+ ## Notices
18
+
19
+ You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
20
+
21
+ > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
22
+
23
+ ## Changes and New Works License
24
+
25
+ The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
26
+
27
+ ## Patent License
28
+
29
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
30
+
31
+ ## Noncommercial Purposes
32
+
33
+ Any noncommercial purpose is a permitted purpose.
34
+
35
+ ## Personal Uses
36
+
37
+ Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
38
+
39
+ ## Noncommercial Organizations
40
+
41
+ Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
42
+
43
+ ## Fair Use
44
+
45
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
46
+
47
+ ## No Other Rights
48
+
49
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
50
+
51
+ ## Patent Defense
52
+
53
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
54
+
55
+ ## Violations
56
+
57
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
58
+
59
+ ## No Liability
60
+
61
+ ***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
62
+
63
+ ## Definitions
64
+
65
+ The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
66
+
67
+ **You** refers to the individual or entity agreeing to these terms.
68
+
69
+ **Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
70
+
71
+ **Your licenses** are all the licenses granted to you for the software under these terms.
72
+
73
+ **Use** means anything you do with the software requiring one of your licenses.
74
+
75
+ Required Notice: Copyright (c) 2026 ToBeSuperior (https://github.com/ToBeSuperior/Graph-Me-Maybe)