dccd 3.8.1__tar.gz → 3.9.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.
Files changed (109) hide show
  1. {dccd-3.8.1 → dccd-3.9.0}/CHANGELOG.md +8 -0
  2. {dccd-3.8.1 → dccd-3.9.0}/PKG-INFO +1 -1
  3. dccd-3.9.0/dccd/interfaces/ui/static/apple-touch-icon.png +0 -0
  4. dccd-3.9.0/dccd/interfaces/ui/static/manifest.webmanifest +12 -0
  5. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/templates/base.html +7 -0
  6. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/templates/login.html +7 -0
  7. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_api.py +14 -0
  8. {dccd-3.8.1 → dccd-3.9.0}/dccd.egg-info/PKG-INFO +1 -1
  9. {dccd-3.8.1 → dccd-3.9.0}/dccd.egg-info/SOURCES.txt +2 -0
  10. {dccd-3.8.1 → dccd-3.9.0}/pyproject.toml +1 -1
  11. {dccd-3.8.1 → dccd-3.9.0}/CLAUDE.md +0 -0
  12. {dccd-3.8.1 → dccd-3.9.0}/CONTRIBUTING.md +0 -0
  13. {dccd-3.8.1 → dccd-3.9.0}/LICENSE.txt +0 -0
  14. {dccd-3.8.1 → dccd-3.9.0}/MANIFEST.in +0 -0
  15. {dccd-3.8.1 → dccd-3.9.0}/README.md +0 -0
  16. {dccd-3.8.1 → dccd-3.9.0}/dccd/__init__.py +0 -0
  17. {dccd-3.8.1 → dccd-3.9.0}/dccd/application/__init__.py +0 -0
  18. {dccd-3.8.1 → dccd-3.9.0}/dccd/application/config.py +0 -0
  19. {dccd-3.8.1 → dccd-3.9.0}/dccd/application/events.py +0 -0
  20. {dccd-3.8.1 → dccd-3.9.0}/dccd/application/jobs.py +0 -0
  21. {dccd-3.8.1 → dccd-3.9.0}/dccd/application/monitor.py +0 -0
  22. {dccd-3.8.1 → dccd-3.9.0}/dccd/application/operations.py +0 -0
  23. {dccd-3.8.1 → dccd-3.9.0}/dccd/application/registry.py +0 -0
  24. {dccd-3.8.1 → dccd-3.9.0}/dccd/application/scheduler.py +0 -0
  25. {dccd-3.8.1 → dccd-3.9.0}/dccd/application/service_factory.py +0 -0
  26. {dccd-3.8.1 → dccd-3.9.0}/dccd/domain/__init__.py +0 -0
  27. {dccd-3.8.1 → dccd-3.9.0}/dccd/domain/capability.py +0 -0
  28. {dccd-3.8.1 → dccd-3.9.0}/dccd/domain/dataset.py +0 -0
  29. {dccd-3.8.1 → dccd-3.9.0}/dccd/domain/errors.py +0 -0
  30. {dccd-3.8.1 → dccd-3.9.0}/dccd/domain/records.py +0 -0
  31. {dccd-3.8.1 → dccd-3.9.0}/dccd/domain/symbol.py +0 -0
  32. {dccd-3.8.1 → dccd-3.9.0}/dccd/domain/timeutils.py +0 -0
  33. {dccd-3.8.1 → dccd-3.9.0}/dccd/domain/transforms.py +0 -0
  34. {dccd-3.8.1 → dccd-3.9.0}/dccd/domain/types.py +0 -0
  35. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/__init__.py +0 -0
  36. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/api/__init__.py +0 -0
  37. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/api/app.py +0 -0
  38. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/cli/__init__.py +0 -0
  39. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/cli/main.py +0 -0
  40. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/__init__.py +0 -0
  41. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/static/favicon.svg +0 -0
  42. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/static/fonts/martian-mono-600.woff2 +0 -0
  43. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/static/fonts/martian-mono-700.woff2 +0 -0
  44. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/static/fonts/spline-sans-400.woff2 +0 -0
  45. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/static/fonts/spline-sans-500.woff2 +0 -0
  46. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/static/fonts/spline-sans-600.woff2 +0 -0
  47. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/static/fonts/spline-sans-700.woff2 +0 -0
  48. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/static/logo.svg +0 -0
  49. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/templates/config.html +0 -0
  50. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/templates/dashboard.html +0 -0
  51. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/templates/data.html +0 -0
  52. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/templates/historical.html +0 -0
  53. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/templates/live.html +0 -0
  54. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/templates/logs.html +0 -0
  55. {dccd-3.8.1 → dccd-3.9.0}/dccd/interfaces/ui/templates/storage.html +0 -0
  56. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/__init__.py +0 -0
  57. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/base.py +0 -0
  58. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/binance.py +0 -0
  59. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/bitfinex.py +0 -0
  60. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/bitmex.py +0 -0
  61. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/bybit.py +0 -0
  62. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/coinbase.py +0 -0
  63. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/kraken.py +0 -0
  64. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/kraken_futures.py +0 -0
  65. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/okx.py +0 -0
  66. {dccd-3.8.1 → dccd-3.9.0}/dccd/sources/registry.py +0 -0
  67. {dccd-3.8.1 → dccd-3.9.0}/dccd/storage/__init__.py +0 -0
  68. {dccd-3.8.1 → dccd-3.9.0}/dccd/storage/coverage_sqlite.py +0 -0
  69. {dccd-3.8.1 → dccd-3.9.0}/dccd/storage/parquet.py +0 -0
  70. {dccd-3.8.1 → dccd-3.9.0}/dccd/storage/purge.py +0 -0
  71. {dccd-3.8.1 → dccd-3.9.0}/dccd/storage/remote.py +0 -0
  72. {dccd-3.8.1 → dccd-3.9.0}/dccd/storage/runs_sqlite.py +0 -0
  73. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/__init__.py +0 -0
  74. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/__init__.py +0 -0
  75. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_adapter_parsing.py +0 -0
  76. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_application.py +0 -0
  77. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_backfill_lookback.py +0 -0
  78. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_cli.py +0 -0
  79. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_client.py +0 -0
  80. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_coverage.py +0 -0
  81. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_domain.py +0 -0
  82. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_domain_extended.py +0 -0
  83. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_monitor_webhook.py +0 -0
  84. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_network.py +0 -0
  85. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_orderbook_throttle.py +0 -0
  86. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_purge.py +0 -0
  87. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_ratelimit.py +0 -0
  88. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_remote_sync.py +0 -0
  89. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_restart.py +0 -0
  90. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_restore.py +0 -0
  91. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_scheduler_hygiene.py +0 -0
  92. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_sources.py +0 -0
  93. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_storage.py +0 -0
  94. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_storage_extended.py +0 -0
  95. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_stream_end_state.py +0 -0
  96. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_stream_flush.py +0 -0
  97. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_stream_nocapability.py +0 -0
  98. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_transport.py +0 -0
  99. {dccd-3.8.1 → dccd-3.9.0}/dccd/tests/v3/test_ws_subscription_honesty.py +0 -0
  100. {dccd-3.8.1 → dccd-3.9.0}/dccd/transport/__init__.py +0 -0
  101. {dccd-3.8.1 → dccd-3.9.0}/dccd/transport/http.py +0 -0
  102. {dccd-3.8.1 → dccd-3.9.0}/dccd/transport/paginate.py +0 -0
  103. {dccd-3.8.1 → dccd-3.9.0}/dccd/transport/ratelimit.py +0 -0
  104. {dccd-3.8.1 → dccd-3.9.0}/dccd/transport/ws.py +0 -0
  105. {dccd-3.8.1 → dccd-3.9.0}/dccd.egg-info/dependency_links.txt +0 -0
  106. {dccd-3.8.1 → dccd-3.9.0}/dccd.egg-info/entry_points.txt +0 -0
  107. {dccd-3.8.1 → dccd-3.9.0}/dccd.egg-info/requires.txt +0 -0
  108. {dccd-3.8.1 → dccd-3.9.0}/dccd.egg-info/top_level.txt +0 -0
  109. {dccd-3.8.1 → dccd-3.9.0}/setup.cfg +0 -0
@@ -16,6 +16,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
 
17
17
  ### Removed
18
18
 
19
+ ## [3.9.0] - 2026-11-24
20
+
21
+ ### Added
22
+
23
+ - UI can be installed as a home-screen web app (iOS "Add to Home Screen"):
24
+ `static/manifest.webmanifest` (standalone display) and a 180×180
25
+ `static/apple-touch-icon.png`, linked from `base.html` and `login.html` (#207).
26
+
19
27
  ## [3.8.1] - 2026-09-01
20
28
 
21
29
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dccd
3
- Version: 3.8.1
3
+ Version: 3.9.0
4
4
  Summary: Download Crypto Currency Data — hexagonal architecture, async-first.
5
5
  Author-email: Arthur Bernard <arthur.bernard.92@gmail.com>
6
6
  License: MIT
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dccd",
3
+ "short_name": "dccd",
4
+ "start_url": "/",
5
+ "scope": "/",
6
+ "display": "standalone",
7
+ "background_color": "#0a0d13",
8
+ "theme_color": "#0a0d13",
9
+ "icons": [
10
+ {"src": "/static/apple-touch-icon.png", "sizes": "180x180", "type": "image/png"}
11
+ ]
12
+ }
@@ -5,6 +5,13 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <title>{% block title %}dccd{% endblock %} — dccd UI</title>
7
7
  <link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
8
+ {# Home-screen web app (iOS "Add to Home Screen" / installable PWA). #}
9
+ <link rel="manifest" href="/static/manifest.webmanifest">
10
+ <link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
11
+ <meta name="apple-mobile-web-app-capable" content="yes">
12
+ <meta name="apple-mobile-web-app-title" content="dccd">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
+ <meta name="theme-color" content="#0a0d13">
8
15
  <style>
9
16
  /* Self-hosted fonts (woff2, latin subset) — the daemon serves them from
10
17
  /static itself, so the UI needs no external network and leaks nothing to
@@ -5,6 +5,13 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <title>Sign in — dccd UI</title>
7
7
  <link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
8
+ {# Same home-screen tags as base.html: iOS may install from the login page. #}
9
+ <link rel="manifest" href="/static/manifest.webmanifest">
10
+ <link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
11
+ <meta name="apple-mobile-web-app-capable" content="yes">
12
+ <meta name="apple-mobile-web-app-title" content="dccd">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
+ <meta name="theme-color" content="#0a0d13">
8
15
  <style>
9
16
  :root { --bg:#0f1419; --fg:#e6e6e6; --muted:#8b98a5; --accent:#4a9eff;
10
17
  --border:#2a3038; --card:#161b22; --ok:#3fb950; --err:#f85149; }
@@ -115,6 +115,20 @@ class TestAuthSession:
115
115
  assert r.status_code == 200
116
116
  assert "token" in r.text.lower()
117
117
 
118
+ def test_home_screen_assets_public_and_linked(self, auth_client):
119
+ # iOS fetches the icon/manifest without the session cookie, and the app
120
+ # may be installed from the login page itself.
121
+ page = auth_client.get("/login").text
122
+ assert 'href="/static/manifest.webmanifest"' in page
123
+ assert 'href="/static/apple-touch-icon.png"' in page
124
+ icon = auth_client.get("/static/apple-touch-icon.png")
125
+ assert icon.status_code == 200
126
+ assert icon.headers["content-type"] == "image/png"
127
+ manifest = auth_client.get("/static/manifest.webmanifest")
128
+ assert manifest.status_code == 200
129
+ assert manifest.json()["display"] == "standalone"
130
+ assert manifest.json()["start_url"] == "/"
131
+
118
132
  def test_login_wrong_token_401(self, auth_client):
119
133
  r = auth_client.post(
120
134
  "/login", data={"token": "nope", "next": "/"}, follow_redirects=False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dccd
3
- Version: 3.8.1
3
+ Version: 3.9.0
4
4
  Summary: Download Crypto Currency Data — hexagonal architecture, async-first.
5
5
  Author-email: Arthur Bernard <arthur.bernard.92@gmail.com>
6
6
  License: MIT
@@ -36,8 +36,10 @@ dccd/interfaces/api/app.py
36
36
  dccd/interfaces/cli/__init__.py
37
37
  dccd/interfaces/cli/main.py
38
38
  dccd/interfaces/ui/__init__.py
39
+ dccd/interfaces/ui/static/apple-touch-icon.png
39
40
  dccd/interfaces/ui/static/favicon.svg
40
41
  dccd/interfaces/ui/static/logo.svg
42
+ dccd/interfaces/ui/static/manifest.webmanifest
41
43
  dccd/interfaces/ui/static/fonts/martian-mono-600.woff2
42
44
  dccd/interfaces/ui/static/fonts/martian-mono-700.woff2
43
45
  dccd/interfaces/ui/static/fonts/spline-sans-400.woff2
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "dccd"
7
- version = "3.8.1"
7
+ version = "3.9.0"
8
8
  description = "Download Crypto Currency Data — hexagonal architecture, async-first."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes