viewlyt 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.
- viewlyt-0.1.0/.gitignore +79 -0
- viewlyt-0.1.0/.pre-commit-config.yaml +23 -0
- viewlyt-0.1.0/.python-version +1 -0
- viewlyt-0.1.0/.rtk/filters.toml +13 -0
- viewlyt-0.1.0/LICENSE +21 -0
- viewlyt-0.1.0/PKG-INFO +616 -0
- viewlyt-0.1.0/README.md +574 -0
- viewlyt-0.1.0/devx/dev.txt +9 -0
- viewlyt-0.1.0/pyproject.toml +106 -0
- viewlyt-0.1.0/src/viewlyt/__init__.py +119 -0
- viewlyt-0.1.0/src/viewlyt/api.py +450 -0
- viewlyt-0.1.0/src/viewlyt/cli.py +873 -0
- viewlyt-0.1.0/src/viewlyt/driver.py +255 -0
- viewlyt-0.1.0/src/viewlyt/htmltext.py +444 -0
- viewlyt-0.1.0/src/viewlyt/live/__init__.py +45 -0
- viewlyt-0.1.0/src/viewlyt/live/capture.py +134 -0
- viewlyt-0.1.0/src/viewlyt/live/cli.py +207 -0
- viewlyt-0.1.0/src/viewlyt/live/dashboard/index.html +302 -0
- viewlyt-0.1.0/src/viewlyt/live/dashboard/package-lock.json +1190 -0
- viewlyt-0.1.0/src/viewlyt/live/dashboard/package.json +19 -0
- viewlyt-0.1.0/src/viewlyt/live/dashboard/src/main.ts +2704 -0
- viewlyt-0.1.0/src/viewlyt/live/dashboard/src/style.css +1880 -0
- viewlyt-0.1.0/src/viewlyt/live/dashboard/tsconfig.json +14 -0
- viewlyt-0.1.0/src/viewlyt/live/dashboard/vite.config.ts +9 -0
- viewlyt-0.1.0/src/viewlyt/live/llm.py +709 -0
- viewlyt-0.1.0/src/viewlyt/live/messages.py +137 -0
- viewlyt-0.1.0/src/viewlyt/live/persistence.py +103 -0
- viewlyt-0.1.0/src/viewlyt/live/probes.py +382 -0
- viewlyt-0.1.0/src/viewlyt/live/server.py +1119 -0
- viewlyt-0.1.0/src/viewlyt/live/static/assets/index-CUxPUbjJ.css +1 -0
- viewlyt-0.1.0/src/viewlyt/live/static/assets/index-DdFGMUIl.js +59 -0
- viewlyt-0.1.0/src/viewlyt/live/static/index.html +302 -0
- viewlyt-0.1.0/src/viewlyt/live/window.py +118 -0
- viewlyt-0.1.0/src/viewlyt/py.typed +0 -0
- viewlyt-0.1.0/src/viewlyt/rag.py +827 -0
- viewlyt-0.1.0/src/viewlyt/scraper.py +1206 -0
- viewlyt-0.1.0/src/viewlyt/vl.py +52 -0
- viewlyt-0.1.0/tests/conftest.py +104 -0
- viewlyt-0.1.0/tests/test_e2e.py +47 -0
- viewlyt-0.1.0/tests/test_integration.py +966 -0
- viewlyt-0.1.0/tests/test_live_capture.py +131 -0
- viewlyt-0.1.0/tests/test_live_clean.py +107 -0
- viewlyt-0.1.0/tests/test_live_e2e.py +119 -0
- viewlyt-0.1.0/tests/test_live_integration.py +146 -0
- viewlyt-0.1.0/tests/test_live_persistence.py +66 -0
- viewlyt-0.1.0/tests/test_live_rewrite.py +124 -0
- viewlyt-0.1.0/tests/test_live_security.py +54 -0
- viewlyt-0.1.0/tests/test_live_server.py +439 -0
- viewlyt-0.1.0/tests/test_live_smoke.py +50 -0
- viewlyt-0.1.0/tests/test_live_units.py +443 -0
- viewlyt-0.1.0/tests/test_live_ws.py +144 -0
- viewlyt-0.1.0/tests/test_rag.py +359 -0
- viewlyt-0.1.0/tests/test_smoke.py +247 -0
- viewlyt-0.1.0/tests/test_units.py +955 -0
- viewlyt-0.1.0/uv.lock +3084 -0
viewlyt-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# ---- Python / uv ----
|
|
2
|
+
.venv/
|
|
3
|
+
venv/
|
|
4
|
+
__pycache__/
|
|
5
|
+
*.py[cod]
|
|
6
|
+
*$py.class
|
|
7
|
+
*.egg
|
|
8
|
+
*.egg-info/
|
|
9
|
+
build/
|
|
10
|
+
dist/
|
|
11
|
+
.uv/
|
|
12
|
+
uv.lock.bak
|
|
13
|
+
|
|
14
|
+
# ---- Test / type-check caches ----
|
|
15
|
+
.pytest_cache/
|
|
16
|
+
.ruff_cache/
|
|
17
|
+
.mypy_cache/
|
|
18
|
+
.cache/
|
|
19
|
+
.coverage
|
|
20
|
+
htmlcov/
|
|
21
|
+
|
|
22
|
+
# ---- Selenium / Chrome runtime junk ----
|
|
23
|
+
*.crdownload
|
|
24
|
+
chromedriver*
|
|
25
|
+
debug_*.png
|
|
26
|
+
debug_*.html
|
|
27
|
+
# Persistent browser profiles from --user-data-dir (may hold cookies/sessions!)
|
|
28
|
+
chrome-profile*/
|
|
29
|
+
*-chrome-profile/
|
|
30
|
+
user-data-dir/
|
|
31
|
+
|
|
32
|
+
# ---- Scraper output (contains usernames / PII — do not commit) ----
|
|
33
|
+
out/
|
|
34
|
+
out_test/
|
|
35
|
+
# Stray product files written outside out/. These suffixes are scraper-only, so
|
|
36
|
+
# committed docs (README.md, …) are NOT caught by them.
|
|
37
|
+
*.transcript.md
|
|
38
|
+
*.related.md
|
|
39
|
+
*.unified.md
|
|
40
|
+
unified-all.md
|
|
41
|
+
|
|
42
|
+
# ---- Secrets / credentials (never commit) ----
|
|
43
|
+
.env
|
|
44
|
+
.env.*
|
|
45
|
+
*.pem
|
|
46
|
+
*.key
|
|
47
|
+
*.crt
|
|
48
|
+
*.p12
|
|
49
|
+
id_rsa*
|
|
50
|
+
secrets.*
|
|
51
|
+
credentials.json
|
|
52
|
+
|
|
53
|
+
# ---- Local Claude Code settings ----
|
|
54
|
+
.claude/settings.local.json
|
|
55
|
+
|
|
56
|
+
# ---- Personal, per-developer agent notes (not shared) ----
|
|
57
|
+
CLAUDE.local.md
|
|
58
|
+
AGENTS.local.md
|
|
59
|
+
|
|
60
|
+
# ---- OS / editor ----
|
|
61
|
+
.DS_Store
|
|
62
|
+
Thumbs.db
|
|
63
|
+
*.swp
|
|
64
|
+
*~
|
|
65
|
+
.idea/
|
|
66
|
+
.vscode/
|
|
67
|
+
|
|
68
|
+
src/viewlyt/live/dashboard/node_modules/
|
|
69
|
+
src/viewlyt/live/dashboard/dist/
|
|
70
|
+
|
|
71
|
+
# ---- Local-only docs (kept in the working tree, out of the published repo) ----
|
|
72
|
+
# Comments must be on their own line (.gitignore has no inline comments).
|
|
73
|
+
xray.md
|
|
74
|
+
how-to.md
|
|
75
|
+
CLAUDE.md
|
|
76
|
+
AGENTS.md
|
|
77
|
+
|
|
78
|
+
# hd-secperf audit reports (do not commit)
|
|
79
|
+
secperf-*.md
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Run with: uv run pre-commit install (then it runs on every commit)
|
|
2
|
+
# Manually: uv run pre-commit run --all-files
|
|
3
|
+
# Local hooks use the project's pinned ruff/pytest from the `dev` group, so the
|
|
4
|
+
# versions stay consistent with `uv sync` (no separate tool versions to manage).
|
|
5
|
+
repos:
|
|
6
|
+
- repo: local
|
|
7
|
+
hooks:
|
|
8
|
+
- id: ruff-format
|
|
9
|
+
name: ruff format
|
|
10
|
+
entry: uv run ruff format
|
|
11
|
+
language: system
|
|
12
|
+
types: [python]
|
|
13
|
+
- id: ruff-check
|
|
14
|
+
name: ruff lint (--fix)
|
|
15
|
+
entry: uv run ruff check --fix
|
|
16
|
+
language: system
|
|
17
|
+
types: [python]
|
|
18
|
+
- id: pytest
|
|
19
|
+
name: pytest (browser-free unit tests)
|
|
20
|
+
entry: uv run pytest
|
|
21
|
+
language: system
|
|
22
|
+
pass_filenames: false
|
|
23
|
+
always_run: true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.14
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Project-local RTK filters — commit this file with your repo.
|
|
2
|
+
# Filters here override user-global and built-in filters.
|
|
3
|
+
# Docs: https://github.com/rtk-ai/rtk#custom-filters
|
|
4
|
+
schema_version = 1
|
|
5
|
+
|
|
6
|
+
# Example: suppress build noise from a custom tool
|
|
7
|
+
# [filters.my-tool]
|
|
8
|
+
# description = "Compact my-tool output"
|
|
9
|
+
# match_command = "^my-tool\\s+build"
|
|
10
|
+
# strip_ansi = true
|
|
11
|
+
# strip_lines_matching = ["^\\s*$", "^Downloading", "^Installing"]
|
|
12
|
+
# max_lines = 30
|
|
13
|
+
# on_empty = "my-tool: ok"
|
viewlyt-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Lucas Hideki
|
|
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.
|