keepup-admin 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 keepup-admin might be problematic. Click here for more details.

Files changed (86) hide show
  1. keepup/THIRD-PARTY.md +44 -0
  2. keepup/__init__.py +41 -0
  3. keepup/api_versions.py +100 -0
  4. keepup/audit.py +499 -0
  5. keepup/auth/__init__.py +7 -0
  6. keepup/auth/config.py +128 -0
  7. keepup/auth/dependencies.py +485 -0
  8. keepup/auth/dto/__init__.py +0 -0
  9. keepup/auth/dto/token.py +31 -0
  10. keepup/auth/factory.py +28 -0
  11. keepup/auth/login_throttle.py +151 -0
  12. keepup/auth/oidc.py +245 -0
  13. keepup/auth/oidc_policy.py +111 -0
  14. keepup/auth/oidc_routes.py +288 -0
  15. keepup/auth/panel_session.py +220 -0
  16. keepup/auth/permissions.py +59 -0
  17. keepup/auth/providers/__init__.py +0 -0
  18. keepup/auth/providers/base.py +168 -0
  19. keepup/auth/providers/local.py +180 -0
  20. keepup/auth/routes.py +660 -0
  21. keepup/auth/seed_accounts.py +322 -0
  22. keepup/auth/session_lifetime.py +104 -0
  23. keepup/auth/signing_key.py +138 -0
  24. keepup/auth/websocket.py +86 -0
  25. keepup/cluster.py +634 -0
  26. keepup/db.py +663 -0
  27. keepup/events.py +764 -0
  28. keepup/factory.py +484 -0
  29. keepup/instance.py +46 -0
  30. keepup/integrations.py +260 -0
  31. keepup/locks.py +412 -0
  32. keepup/logging_setup.py +690 -0
  33. keepup/metrics.py +818 -0
  34. keepup/metrics_retention.py +376 -0
  35. keepup/modules.py +572 -0
  36. keepup/notification_bus.py +355 -0
  37. keepup/plugins/__init__.py +9 -0
  38. keepup/plugins/admin.py +246 -0
  39. keepup/plugins/base.py +234 -0
  40. keepup/plugins/enablement.py +184 -0
  41. keepup/plugins/registry.py +171 -0
  42. keepup/plugins/route_mask.py +338 -0
  43. keepup/plugins/routes.py +376 -0
  44. keepup/roles.py +17 -0
  45. keepup/scheduler.py +93 -0
  46. keepup/schema.py +295 -0
  47. keepup/sections.json +104 -0
  48. keepup/settings.py +184 -0
  49. keepup/static/css/aos.css +1 -0
  50. keepup/static/css/main_nebula.css +232 -0
  51. keepup/static/css/main_new.css +852 -0
  52. keepup/static/css/tailwind.css +1 -0
  53. keepup/static/index_nebula.html +293 -0
  54. keepup/static/index_new.html +286 -0
  55. keepup/static/js/aos.js +1 -0
  56. keepup/static/js/feather-icons.js +13 -0
  57. keepup/static/js/main_new.js +1861 -0
  58. keepup/static/js/tailwind.js +83 -0
  59. keepup/static/modules/css/background_tasks.css +233 -0
  60. keepup/static/modules/css/cluster.css +16 -0
  61. keepup/static/modules/css/event_manager.css +386 -0
  62. keepup/static/modules/css/integration_logs.css +33 -0
  63. keepup/static/modules/css/metrics.css +115 -0
  64. keepup/static/modules/css/modules.css +189 -0
  65. keepup/static/modules/css/themes.css +563 -0
  66. keepup/static/modules/css/users.css +278 -0
  67. keepup/static/modules/js/background_tasks.js +657 -0
  68. keepup/static/modules/js/chart.js +14 -0
  69. keepup/static/modules/js/chartjs-adapter-date-fns.bundle.min.js +7 -0
  70. keepup/static/modules/js/cluster.js +363 -0
  71. keepup/static/modules/js/event_manager.js +979 -0
  72. keepup/static/modules/js/integration_logs.js +767 -0
  73. keepup/static/modules/js/metrics.js +908 -0
  74. keepup/static/modules/js/modules.js +1086 -0
  75. keepup/static/modules/js/themes.js +653 -0
  76. keepup/static/modules/js/users.js +784 -0
  77. keepup/tables.py +302 -0
  78. keepup/themes.py +496 -0
  79. keepup/web.py +182 -0
  80. keepup_admin-0.1.0.dist-info/METADATA +117 -0
  81. keepup_admin-0.1.0.dist-info/RECORD +86 -0
  82. keepup_admin-0.1.0.dist-info/WHEEL +5 -0
  83. keepup_admin-0.1.0.dist-info/licenses/LICENSE +202 -0
  84. keepup_admin-0.1.0.dist-info/licenses/NOTICE +22 -0
  85. keepup_admin-0.1.0.dist-info/licenses/THIRD-PARTY.md +44 -0
  86. keepup_admin-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,117 @@
1
+ Metadata-Version: 2.4
2
+ Name: keepup-admin
3
+ Version: 0.1.0
4
+ Summary: An admin framework over FastAPI: plugins, panel, users, replicas
5
+ Author-email: Fedor Sergeev <fksergeev@gmail.com>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/FedorSergeev/keepup-admin
8
+ Project-URL: Repository, https://github.com/FedorSergeev/keepup-admin
9
+ Keywords: fastapi,admin,plugins,framework
10
+ Classifier: Framework :: FastAPI
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
14
+ Requires-Python: >=3.11
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ License-File: NOTICE
18
+ License-File: THIRD-PARTY.md
19
+ Requires-Dist: fastapi<1,>=0.128
20
+ Requires-Dist: starlette<1,>=0.52
21
+ Requires-Dist: pydantic<3,>=2.11
22
+ Requires-Dist: sqlalchemy<3,>=2.0
23
+ Requires-Dist: psycopg2-binary>=2.9
24
+ Requires-Dist: apscheduler<4,>=3.10
25
+ Requires-Dist: bcrypt<5,>=4.0
26
+ Requires-Dist: python-jose<4,>=3.5
27
+ Requires-Dist: python-multipart>=0.0.20
28
+ Requires-Dist: PyYAML<7,>=6.0
29
+ Requires-Dist: psutil>=7.0
30
+ Requires-Dist: prometheus-client>=0.24
31
+ Requires-Dist: requests>=2.31
32
+ Requires-Dist: httpx>=0.28
33
+ Provides-Extra: postgres
34
+ Requires-Dist: asyncpg>=0.31; extra == "postgres"
35
+ Dynamic: license-file
36
+
37
+ # keepup
38
+
39
+ An admin framework over FastAPI. You give it settings; it gives you an
40
+ application with a panel, a plugin runtime, users, a database layer, an audit,
41
+ metrics and coordination between replicas already wired.
42
+
43
+ ```python
44
+ from keepup import KeepupSettings, create_app
45
+
46
+ app = create_app(KeepupSettings(title="Your product", project_name="yours"))
47
+ ```
48
+
49
+ That is a running application with a working panel at `/selfcare`: the shell,
50
+ the themes and eight administrative sections ship inside the package, so there
51
+ is nothing to copy into your tree to see them.
52
+
53
+ Installed as `keepup-admin`; imported as `keepup`. The name `keepup` on PyPI
54
+ belongs to an unrelated project from 2015 that installs a script and no module,
55
+ so the import name is free.
56
+
57
+ ## What it gives you
58
+
59
+ | | |
60
+ |---|---|
61
+ | **Application assembly** | `create_app(settings)` — FastAPI, middleware, lifespan, static mounts |
62
+ | **Plugin runtime** | features as plugins; routes are data, not decorators |
63
+ | **Panel** | the shell, visual themes, and the catalogue of sections with role grants |
64
+ | **Users** | local accounts, roles, panel sessions, sign-in through an external provider |
65
+ | **Database** | a SQLAlchemy layer with a pool, table declarations for two dialects |
66
+ | **Replicas** | distributed locks, leader election, a message bus, a cluster registry |
67
+ | **Observability** | audit of incoming requests, an event log, metrics, log shipping |
68
+
69
+ ## What it does not decide for you
70
+
71
+ The framework carries no product. Anything it cannot know arrives through
72
+ `KeepupSettings`: your name and version, where your logs are shipped, which
73
+ fields of a request are secret, what a password must look like, which tables
74
+ belong to you, which origins may read your answers.
75
+
76
+ Where a default would have to guess, it closes rather than opens. Metrics are
77
+ not served without credentials, no origin is allowed cross-origin, the audit
78
+ keeps field names and not values, and there is no collector address, no signing
79
+ key and no password anywhere in the source. An application says what it needs
80
+ open; the package does not decide that on its behalf.
81
+
82
+ ## What is public
83
+
84
+ A module that an application may import from declares `__all__`. Everything
85
+ else is internal and may change without notice — including any name starting
86
+ with an underscore, whatever module it sits in.
87
+
88
+ `keepup/tests/public_interface_tests.py` holds this to the applications in the
89
+ repository: a name taken out of the framework and not declared public fails the
90
+ run, and the failure says what to do about it.
91
+
92
+ ## Requirements
93
+
94
+ Python 3.11 or newer. PostgreSQL in production; SQLite works and is meant for
95
+ development. `pip install keepup-admin[postgres]` adds the driver the bus
96
+ between replicas needs.
97
+
98
+ ## Tests
99
+
100
+ ```bash
101
+ ci/tests/keepup.sh # the framework's own suite, needs no application
102
+ ```
103
+
104
+ The suite runs against SQLite with no network and holds a coverage floor. The
105
+ plugin runtime is the least covered part of the framework, and deliberately so
106
+ for now: the test that exercises it hardest stands up a real application's
107
+ plugins and therefore lives with that application. See `doc/keepup.md`.
108
+
109
+ ## Licence
110
+
111
+ Apache 2.0. See `LICENSE`, and `NOTICE` for the attribution that clause 4(d)
112
+ asks to travel with a derivative.
113
+
114
+ The panel's front end also ships five third-party bundles -- Tailwind, Feather,
115
+ AOS, Chart.js and its date adapter. All five are MIT and stay under their own
116
+ terms; minification stripped their headers, so their notices live in
117
+ `THIRD-PARTY.md`.
@@ -0,0 +1,86 @@
1
+ keepup/THIRD-PARTY.md,sha256=ngYUEfj1uXHgdP5iviI5a6CVSDjs_EyXgWXT7SS4BHo,2622
2
+ keepup/__init__.py,sha256=HcyLVmNFkp7ZzbvFY3IvVjuX9KJ60lv5hekrqSpUDIo,1748
3
+ keepup/api_versions.py,sha256=Q9ah5UnHnL28jJIGttvJuib2-o-BwDeew8TJeMKwjSo,4206
4
+ keepup/audit.py,sha256=S3x3L7QyH8b4qVPBa9Fg5oQXFb9d66AsvGKj0vGPWfY,19655
5
+ keepup/cluster.py,sha256=xQyvaIZ7CDzjCXUSvUV9-nP0qUzKVQjRsF7IMBlVvAs,26458
6
+ keepup/db.py,sha256=pVE8z1kK9u05oH-N8wWAgzmj60x0LRD12adFT5L0pTc,23792
7
+ keepup/events.py,sha256=b62kUidL2b0QEjKxw7v0SbiQZNchdhMq6Ir0L94FSJU,27865
8
+ keepup/factory.py,sha256=BNlGWgfWFFvs5YKPg-PegaR6grtM9OaPUMyUWlljP14,19344
9
+ keepup/instance.py,sha256=FZj4_T627CwtDdPXFFRYukA3ulYwL0D4HTU5QGFNpH0,1158
10
+ keepup/integrations.py,sha256=U1e-W7fV05JrOiBsQwi08oVQNfPmwAwwOuVlOLaDYxo,8866
11
+ keepup/locks.py,sha256=i8UJGgOJN64ME2dylcMHfWOnz8GImnRCmROJtSmQKBo,16085
12
+ keepup/logging_setup.py,sha256=VapMvfOvqJaeML24D5OdmMDEUODES_WQgwv_wdmx45M,25366
13
+ keepup/metrics.py,sha256=_FyQSSBXZPhVLbDsjRx5UEWGnt5rRfa2cbzT8NrT5-E,38563
14
+ keepup/metrics_retention.py,sha256=gzewgtV0P1mYsIS8RiveFgdWXzUhCZkI70CB6temaqk,13898
15
+ keepup/modules.py,sha256=6U5LCyj57RbZDFZXGF3tPsNmvZ4pOc6bftRmQBGHVzA,23394
16
+ keepup/notification_bus.py,sha256=MxkhyJaZJI8sJl_tSD8Oj89OvJT4e4OLxv-esG4IHsM,13467
17
+ keepup/roles.py,sha256=42dA_Q3fj87wfqsW7z358viTxniO9Tk7olH9dkCoIGA,574
18
+ keepup/scheduler.py,sha256=AWCJztdh47MhIjjcqXMCmwPDhEZ3SjPGo7nf7DXXnKQ,3205
19
+ keepup/schema.py,sha256=0fLzoCeNhjvJV63Hbjj0S8jyNbswp4DaEVbEA1Zb_Ao,12177
20
+ keepup/sections.json,sha256=plEQJrQ89t-Ul4XP03fF_On5lRXbr-O_6CU5olL0Sew,3927
21
+ keepup/settings.py,sha256=ecjjpw1XTmZkQbN38IhISxVrKq3aiyA7sTC_IiZfPoQ,8738
22
+ keepup/tables.py,sha256=kM-ZfP-QPAtxW10rPPWp6mp30uUaGdEU-EDwdMmTavI,13125
23
+ keepup/themes.py,sha256=ZHGfduJr_muaZ9daE5jwRrhc-VnlL9cZQqP1gQyxcOk,18629
24
+ keepup/web.py,sha256=fOZgqpd8yiKrxXI_AMp9ZLrph28NRyks2JgSSM9eHvA,7640
25
+ keepup/auth/__init__.py,sha256=39dkGoPRtL-ey_mUWD7luOI-d1QUwuyqC5MAWd0eH88,335
26
+ keepup/auth/config.py,sha256=yLdv6bdanTMrEtv-kpsHabiuyoa3wPg9x4GYjMGxlt8,5247
27
+ keepup/auth/dependencies.py,sha256=ljg2NWoGfL5_osdABT93_6kZyegVufGkXJC0VGWZPJI,17728
28
+ keepup/auth/factory.py,sha256=FE2Ll5URGh4qYfeeeIs4aaXk7YM6jg9ZyH2l5gRbpMA,1171
29
+ keepup/auth/login_throttle.py,sha256=OuWmRO5SCda45wR6WxoKSa9d2zvlZDJUfaqSdJU09M4,5368
30
+ keepup/auth/oidc.py,sha256=jivIH5UO8QSOFrj9iNolQnDvG95SpfYji3fYjSslMhQ,9534
31
+ keepup/auth/oidc_policy.py,sha256=DmmIjrUBAKgUu8qHEnq3GiSDSThoxW9cQwPPb8qjRDY,4561
32
+ keepup/auth/oidc_routes.py,sha256=mPA4atsqbf7_dyYgQC7hSPfHZ8CDUkzuJW_codHFF20,12139
33
+ keepup/auth/panel_session.py,sha256=tOBr6dbhA7jJyUUVOVqK9jHXQLhwuLXFYhVusOOI3o4,9098
34
+ keepup/auth/permissions.py,sha256=CU3HbcRIpOkow8pQ6YYbEtcTz1qYfLlJIGJDZlJY0U8,1851
35
+ keepup/auth/routes.py,sha256=hN9TegTDyjPgB7M19pXnqyVswceNXCg6JBylqNvoSgs,26636
36
+ keepup/auth/seed_accounts.py,sha256=mXV7G5DK-3lwRp174AWeDrk-qzllzBxF9keS2P2gz5I,12118
37
+ keepup/auth/session_lifetime.py,sha256=CjO0CcLO-dg1D6C2a0L0OAzmQtOLvTFfCaxBwlVtmJ8,4124
38
+ keepup/auth/signing_key.py,sha256=zl0xiK_UqLCX5AoZavqNErN5Ci29f-kHbB6Tt4_V-E0,5145
39
+ keepup/auth/websocket.py,sha256=oxV7WFBIqtGZDM1f0LORgX1RBtTfHKc-ghABJn6WO2A,3149
40
+ keepup/auth/dto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
+ keepup/auth/dto/token.py,sha256=M7n810Y58NHzkJ7ny0qbX37HhNal00MnzHzL3IlysB0,760
42
+ keepup/auth/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
+ keepup/auth/providers/base.py,sha256=wjagpJzfq4f9DxK_Mt9e245z589xqwBeMOp9eqqi_KE,6074
44
+ keepup/auth/providers/local.py,sha256=7jP0twSrwWp-J0-waYoSi7JJZNnYdwqvsHIg-02LMpI,6677
45
+ keepup/plugins/__init__.py,sha256=VWX8sDxpAxg2DJsd36eMK5YM9g146XlGzsTdddUdaNg,517
46
+ keepup/plugins/admin.py,sha256=KTukmxz5NNMh1svGYYQ-Ioq8_RRGZaebrz3rEitPsnk,11012
47
+ keepup/plugins/base.py,sha256=Q3ztFsuXzXhfGZAhSTrdqGgUzA_AH5Frjfa7VGi-99s,9357
48
+ keepup/plugins/enablement.py,sha256=KCHfPlxUcYUc_NNpaIR-ZtChDGpf5pg3LKOXIGjRSk0,8045
49
+ keepup/plugins/registry.py,sha256=Bj0ar_pHiY37VkgR2XQF-ZrhFH3VGR9eSrUAf_i5Eo8,6413
50
+ keepup/plugins/route_mask.py,sha256=rOPT9fzn6Q7QdZ91d6d5FG-rTm_tTr1zg1YJrCyUBgA,13620
51
+ keepup/plugins/routes.py,sha256=pPE_X6NRb9do0A7HjtHQdv2a4Xck5HeYHws4WKkH8xs,15191
52
+ keepup/static/index_nebula.html,sha256=jm2SxJpeZ-KaSzeMZ6JQWrT1E_KuVKiClgrYMYqTxfg,13718
53
+ keepup/static/index_new.html,sha256=PGYU2Ob9zqQRGMtVG6PEozLFeUE8gjn1m5WHOP1rf8w,13476
54
+ keepup/static/css/aos.css,sha256=GqiEX9BuR1rv5zPU5Vs2qS_NSHl1BJyBcjQYJ6ycwD4,26053
55
+ keepup/static/css/main_nebula.css,sha256=dg9DoXia9kM5A1dYwm1Cj5Y8bCSN-gdUGE7kkp3vLW8,7670
56
+ keepup/static/css/main_new.css,sha256=8kya6Ss4KcY-IK_F_C9VKOKr-JTVx3QZSxnDtjua7fQ,23535
57
+ keepup/static/css/tailwind.css,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
58
+ keepup/static/js/aos.js,sha256=8mhhK6WerRskNTu3fWZ4O8xDWv8cIr5fk8QLrDhplo4,14239
59
+ keepup/static/js/feather-icons.js,sha256=6kZaxraaA33En9pqscWF-VclCR7_RRXfYduR2dPF5U4,76047
60
+ keepup/static/js/main_new.js,sha256=ApFkfksBNuFQH74HhWIvRbju_J6xGYUfazUeua9lh70,63034
61
+ keepup/static/js/tailwind.js,sha256=YUsXy7eac-_sNNwQBa7AtFLnApjlzx7yf9PLE2FlLDk,407278
62
+ keepup/static/modules/css/background_tasks.css,sha256=xEr50ttH7M1AKaIOtXffaarAPwhOXOtZ5ALDPDgR1bU,3756
63
+ keepup/static/modules/css/cluster.css,sha256=xUT2Ovp1928j7CFtsril-FsIQxeO6GhfyU5iRYZfdt4,444
64
+ keepup/static/modules/css/event_manager.css,sha256=zjBZaTpVFDcooWvr6aJ_n9g4Nmxs7k3yJk16FI3_0u0,7096
65
+ keepup/static/modules/css/integration_logs.css,sha256=GrcAZf56q_BmHapoplB1Bf-nA1JT5C91sNiPGKkyO8o,629
66
+ keepup/static/modules/css/metrics.css,sha256=BgWa_XITZvigBUf1w3kOtNROAqJwFWPgjuZmFbXor04,2018
67
+ keepup/static/modules/css/modules.css,sha256=tVZ5ZM9U8aw6_Us_rgrdrMk_jGx3HqOqCSbOa48Mo84,3308
68
+ keepup/static/modules/css/themes.css,sha256=Xe9x8e3XzrNqgg_7tN3kARxBbwRdZ6dBDhfMUn-nXtc,11208
69
+ keepup/static/modules/css/users.css,sha256=avR3K4-mD7nZusy4m9Plm929gS3_aABr9UaikQAznOY,4518
70
+ keepup/static/modules/js/background_tasks.js,sha256=ckdHr4QmZnX8MW_cg_SZ2ln0Wzv9iX-OnZtEv4bhUDA,26099
71
+ keepup/static/modules/js/chart.js,sha256=M5q_6Ip8lDTBJQZG4N44JM0epSnA0UjNFmUwj0LpA4E,208521
72
+ keepup/static/modules/js/chartjs-adapter-date-fns.bundle.min.js,sha256=VvDT2DpQOuVGg6w8jmJ-cKZiLFAJyPKVZt9A4LzbZ4M,50649
73
+ keepup/static/modules/js/cluster.js,sha256=0vG3_dYJ32NSuix-1eqGcwWctMYmyRLq7QC2eM6edrE,15677
74
+ keepup/static/modules/js/event_manager.js,sha256=gmVTOumHxNXMZn5p7lKCGxKnBALJ5PyIsco-4ni6Eyg,33366
75
+ keepup/static/modules/js/integration_logs.js,sha256=5Na33fLpyim3hAi6jBUhKjIvG0ni7hcV-f65WyHVG78,32217
76
+ keepup/static/modules/js/metrics.js,sha256=m8Hg6oJWaX-ulHmQ7TJ1FVQTP5NeF8ZX20peuICsZVo,34284
77
+ keepup/static/modules/js/modules.js,sha256=gA6FSOHrTlFTptAFvOk9bL-Rgs52wTPr1ROU9DcgDYE,47196
78
+ keepup/static/modules/js/themes.js,sha256=Ojb_7EzTt9DN_T-wY1Xpeddv_HcRnEQ0JHCmlgl82uc,24630
79
+ keepup/static/modules/js/users.js,sha256=GaYrTQLW21KZJzrHHRP9f68DQkXP321jlMbxrx3jcLY,32153
80
+ keepup_admin-0.1.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
81
+ keepup_admin-0.1.0.dist-info/licenses/NOTICE,sha256=fMt20xWVUCJ16HmsNECTZU4H6qQzMiTQwUuXOi5Owb4,1067
82
+ keepup_admin-0.1.0.dist-info/licenses/THIRD-PARTY.md,sha256=ngYUEfj1uXHgdP5iviI5a6CVSDjs_EyXgWXT7SS4BHo,2622
83
+ keepup_admin-0.1.0.dist-info/METADATA,sha256=CuUzHErCsz-Q03wkR3gCD1wMuquv1d0EwS1wIE6JPs8,4801
84
+ keepup_admin-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
85
+ keepup_admin-0.1.0.dist-info/top_level.txt,sha256=p7rKdaoq7poeQoOMY7hffyQbBeqdwm4MePFqwW2LW2s,7
86
+ keepup_admin-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,22 @@
1
+ KeepUP — an admin framework over FastAPI
2
+ Copyright 2026 Fedor Sergeev
3
+
4
+ This product includes software developed by Fedor Sergeev.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
7
+ this file except in compliance with the License. You may obtain a copy of the
8
+ License in the LICENSE file beside this one, or at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software distributed
13
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
15
+ specific language governing permissions and limitations under the License.
16
+
17
+ --------------------------------------------------------------------------------
18
+
19
+ This package also ships five third-party front-end bundles, all under the MIT
20
+ licence. They are minified, which stripped their own licence headers, so their
21
+ notices travel in THIRD-PARTY.md beside this file. The Apache licence above does
22
+ not reach them; they stay under their own terms.
@@ -0,0 +1,44 @@
1
+ # Third-party code shipped with this package
2
+
3
+ The panel's front end is served from the package itself, and five of its files
4
+ are third-party bundles rather than our code. They are vendored — kept in the
5
+ tree and served from it — rather than fetched from a CDN, because the panel of
6
+ an administrative tool should not depend on somebody else's server being up,
7
+ and because a page that loads nothing from outside is one fewer place a
8
+ deployment has to reason about.
9
+
10
+ All five are minified, and minification stripped their licence headers. That
11
+ is what this file is for: every one of them is MIT, and MIT asks that its
12
+ notice travel with the copy.
13
+
14
+ | File | Project | Licence |
15
+ |---|---|---|
16
+ | `static/js/tailwind.js` | Tailwind CSS (browser build) — https://tailwindcss.com | MIT, Copyright (c) Tailwind Labs, Inc. |
17
+ | `static/js/feather-icons.js` | Feather — https://feathericons.com | MIT, Copyright (c) 2013-2023 Cole Bemis |
18
+ | `static/js/aos.js` | AOS — https://michalsnik.github.io/aos/ | MIT, Copyright (c) 2015 Michał Sajnóg |
19
+ | `static/modules/js/chart.js` | Chart.js — https://www.chartjs.org | MIT, Copyright (c) Chart.js Contributors |
20
+ | `static/modules/js/chartjs-adapter-date-fns.bundle.min.js` | chartjs-adapter-date-fns — https://github.com/chartjs/chartjs-adapter-date-fns | MIT, Copyright (c) Chart.js Contributors |
21
+
22
+ ## The MIT licence
23
+
24
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
25
+ > of this software and associated documentation files (the "Software"), to deal
26
+ > in the Software without restriction, including without limitation the rights
27
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
28
+ > copies of the Software, and to permit persons to whom the Software is
29
+ > furnished to do so, subject to the following conditions:
30
+ >
31
+ > The above copyright notice and this permission notice shall be included in all
32
+ > copies or substantial portions of the Software.
33
+ >
34
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
35
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
36
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
37
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
38
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
39
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALING IN THE
40
+ > SOFTWARE.
41
+
42
+ The licence of this package, whatever it is, does not reach these five files:
43
+ they stay under the terms above, and replacing one of them means checking that
44
+ its replacement's terms still allow this.
@@ -0,0 +1 @@
1
+ keepup