diff --git a/LICENSE b/LICENSE index 31702cb..a376611 100644 --- a/LICENSE +++ b/LICENSE @@ -1,91 +1,306 @@ -# Functional Source License, Version 1.1, ALv2 Future License +Business Source License 1.1 -Copyright 2026 HYPERI PTY LIMITED (ABN 31 622 581 748) +Parameters -## License +Licensor: HYPERI PTY LIMITED (ABN 31 622 581 748) +Licensed Work: The software, source code, documentation, and associated + materials in this repository. The Licensed Work is (c) + 2026 HYPERI PTY LIMITED. +Additional Use Grant: You may make use of the Licensed Work, provided that + you may not use the Licensed Work for a Hosted + Service. -This software is licensed under the Functional Source License, Version 1.1, -ALv2 Future License (FSL-1.1-ALv2). + A "Hosted Service" is a commercial offering that + allows third parties (other than your employees and + contractors) to access the functionality of the + Licensed Work as a hosted or managed service, where + the service provides those third parties with access + to a substantial set of the features or functionality + of the Licensed Work. -You may obtain a copy of the License at: +Change Date: The third anniversary of the first publicly available + distribution of the specific version of the Licensed Work + under this License. -https://fsl.software/FSL-1.1-ALv2.template.md +Change License: Apache License, Version 2.0 -SPDX License Identifier: FSL-1.1-ALv2 +Notice -## Summary +The Business Source License (this document, or the "License") is not an Open +Source license. However, the Licensed Work will eventually be made available +under an Open Source License, as stated in this License. -Unless required by applicable law or agreed to in writing, software distributed -under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, either express or implied. See the License for the -specific language governing permissions and limitations under the License. +License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. +"Business Source License" is a trademark of MariaDB Corporation Ab. -### Permitted Uses +----------------------------------------------------------------------------- -- Internal use within your organisation -- Non-commercial education and research -- Professional services for licensees using this software +Business Source License 1.1 -### Competing Use Requires Commercial Licence +Terms -Making this software available to others in a commercial product or service -that substitutes for or competes with this software requires a commercial -licence from HyperI. See [COMMERCIAL.md](COMMERCIAL.md) for details. +The Licensor hereby grants you the right to copy, modify, create derivative +works, redistribute, and make non-production use of the Licensed Work. The +Licensor may make an Additional Use Grant, above, permitting limited +production use. -### Apache 2.0 Conversion +Effective on the Change Date, or the fourth anniversary of the first publicly +available distribution of a specific version of the Licensed Work under this +License, whichever comes first, the Licensor hereby grants you rights under +the terms of the Change License, and the rights granted in the paragraph +above terminate. -Each version of this software becomes available under the Apache License, -Version 2.0 on the second anniversary of its release date. Release dates are -recorded in the GitHub release history. +If your use of the Licensed Work does not comply with the requirements +currently in effect as described in this License, you must purchase a +commercial license from the Licensor, its affiliated entities, or authorized +resellers, or you must refrain from using the Licensed Work. -You may obtain a copy of the Apache License at: +All copies of the original and modified Licensed Work, and derivative works +of the Licensed Work, are subject to this License. This License applies +separately for each version of the Licensed Work and the Change Date may vary +for each version of the Licensed Work released by Licensor. -https://www.apache.org/licenses/LICENSE-2.0 +You must conspicuously display this License on each original or modified copy +of the Licensed Work. If you receive the Licensed Work in original or +modified form from a third party, the terms and conditions set forth in this +License apply to your use of that work. -## AI / Machine Learning Restriction +Any use of the Licensed Work in violation of this License will automatically +terminate your rights under this License for the current and all other +versions of the Licensed Work. -The Software and any modifications made to it may not be used for the -purpose of training or improving machine learning algorithms, including but -not limited to artificial intelligence systems, large language models, -natural language processing, data mining, or automated content generation — -whether for commercial or non-commercial purposes — without the prior -written consent of HYPERI PTY LIMITED. +This License does not grant you any right in any trademark or logo of +Licensor or its affiliates (provided that you may use a trademark or logo of +Licensor as expressly required by this License). -The Software may not be included in any dataset used for training or -improving machine learning algorithms, including but not limited to -artificial intelligence, natural language processing, or data mining. This -prohibition includes but is not limited to: +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON +AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, +EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND +TITLE. -- Direct training of models on the source code, documentation, or metadata -- Fine-tuning or transfer learning using any part of the Software -- Retrieval-augmented generation (RAG) systems that index or retrieve from - the Software -- Inclusion in any corpus, dataset, or data pipeline intended for machine - learning purposes -- Reverse engineering, decompilation, or analysis of the Software for the - purpose of replicating its functionality through AI-generated code +MariaDB hereby grants you permission to use this License's text to license +your works, and to refer to it using the trademark "Business Source License", +as long as you comply with the Covenants of Licensor below. -This restriction applies regardless of the format in which the materials are -accessed (including but not limited to source code, compiled binaries, -documentation, and metadata) and survives the Apache 2.0 conversion described -above only to the extent permitted by the Apache License, Version 2.0. +Covenants of Licensor -Any person or organisation found to be in violation of these restrictions may -be subject to legal action and may be held liable for any resulting damages. +In consideration of the right to use this License's text and the "Business +Source License" name and trademark, Licensor covenants to MariaDB, and to all +other recipients of the licensed work to be provided by Licensor: -See [AI-TRAINING-POLICY.md](AI-TRAINING-POLICY.md) for full details. +1. To specify as the Change License the GPL Version 2.0 or any later version, + or a license that is compatible with GPL Version 2.0 or a later version, + where "compatible" means that software provided under the Change License can + be included in a program with software provided under GPL Version 2.0 or a + later version. Licensor may specify additional Change Licenses without + limitation. -## Australian Law Notice +2. To either: (a) specify an additional grant of rights to use that does not + impose any additional restriction on the right granted in this License, as + the Additional Use Grant; or (b) insert the text "None". -For users in Australia: To the extent this License is governed by Australian -law, the laws of the Australian Capital Territory apply. Nothing in this -License excludes, restricts or modifies any consumer guarantee, right or remedy -conferred by the Competition and Consumer Act 2010 (Cth) or any other -applicable Australian law that cannot be excluded, restricted or modified by -agreement. +3. To specify a Change Date. -Where the Australian Consumer Law (Schedule 2 of the Competition and Consumer -Act 2010 (Cth)) implies guarantees that cannot be excluded, our liability for -breach of such guarantees is limited, to the extent permitted by law, to the -re-supply of the software or the payment of the cost of having the software -re-supplied. +4. Not to modify this License in any other way. + +============================================================================= +SUPPLEMENTARY INSTRUMENTS (operate alongside the Business Source License above) + +The following Annexures are separate instruments that operate alongside, and do +not amend or form part of, the Business Source License 1.1 text above. Each is +independently severable: if any Annexure (or any provision of it) is held invalid +or unenforceable, the Business Source License above and the other Annexures +continue in full force. A separate AI training policy (AI-TRAINING-POLICY.md) +applies as its own independent instrument. + +----------------------------------------------------------------------------- + +# License Annexure -- Affiliate + +**Licensor: HYPERI PTY LIMITED (ABN 31 622 581 748).** + +This Annexure supplements the Business Source License 1.1 (the "License") under +which the Licensed Work is made available, and in particular clarifies the +scope of the words "third parties" and "your employees and contractors" in the +Additional Use Grant. This Annexure does not amend, and is not incorporated +into, the text of the License. It is a separate instrument that operates +alongside the License and any other Annexure. It does not impose any additional +restriction on the rights granted by the License; it only clarifies and, where +stated, extends who may exercise those rights. + +--- + +## 1. Definitions + +In this Annexure: + +**"Affiliate"** of an entity means any other entity that, directly or +indirectly, Controls, is Controlled by, or is under common Control with that +entity, for so long as that Control subsists. + +**"Control"** means holding, directly or indirectly, more than fifty percent +(50%) of the voting securities, voting equity interests, or other voting +ownership of an entity, or otherwise having the power to direct or cause the +direction of the management and policies of that entity, whether by contract +or otherwise. + +--- + +## 2. Contractors and agents acting on your behalf + +For the purposes of the Additional Use Grant, a contractor or agent that +accesses the functionality of the Licensed Work solely on your behalf and for +your own internal purposes, and not on its own account or for the benefit of +any third party, is treated as one of "your employees and contractors" and is +not a third party to whom a Hosted Service is provided. + +--- + +## 3. Independent use by Affiliates is internal use + +Where two or more entities that are Affiliates of one another each deploy and +operate their own instance of the Licensed Work, each for that entity's own +internal business purposes, each such entity's use is internal use and is not +the provision of a Hosted Service to a third party. Each such entity exercises +the rights granted by the License in its own right. + +--- + +## 4. One Affiliate operating the software for others is a Hosted Service + +For the avoidance of doubt, where one entity operates the Licensed Work and +provides access to its functionality to one or more of its Affiliates as a +shared or centralised hosted or managed service (rather than each Affiliate +operating its own instance for its own internal purposes), that operation is +the provision of a Hosted Service within the meaning of the Additional Use +Grant, and falls outside that Grant. A commercial license is required for that +use. See COMMERCIAL.md. (An Affiliate is a separate legal entity; the line +HyperI draws is operate-versus-benefit, not corporate relationship.) + +--- + +## 5. Hosted-service rights are available by commercial license + +Rights to operate the Licensed Work as a shared or centralised service for the +benefit of your Affiliates (intra-group hosting), and rights to operate it as a +hosted or managed service for persons or entities outside your corporate group, +are available under a commercial license from the Licensor. See COMMERCIAL.md +and contact sales@hyperi.io. + +--- + +## 6. Relationship to the License and other Annexures + +This Annexure applies alongside the License. Except for the clarifications in +clauses 2 to 5 about the internal group-use boundary and the commercial path for +hosted services, it does not otherwise enlarge, reduce or alter the rights +granted under the License (including the Additional Use Grant, the Change Date, +and conversion to the Change License). The License continues to govern the grant of rights in the +Licensed Work. Nothing in this Annexure is to be construed as a modification of +the text of the License. + +--- + +## 7. Severability of this Annexure + +If any provision of this Annexure is held to be invalid, void or unenforceable by +a court or tribunal of competent jurisdiction, that provision is severed to +the minimum extent necessary, and the remainder of this Annexure, the License, +the Additional Use Grant, and any other Annexure continue in full force and +effect. The invalidity of any provision of this Annexure does not affect the +validity or enforceability of the License, the Additional Use Grant, or any +other Annexure. + +----------------------------------------------------------------------------- + +# License Annexure -- Australia + +**Licensor: HYPERI PTY LIMITED (ABN 31 622 581 748).** + +This is a jurisdiction-specific Australian-law overlay. It applies only as +between the Licensor and a recipient to whom Australian law applies. It does not +amend, and is not incorporated into, the Business Source License 1.1 (the +"License") under which the Licensed Work is made available. It is not a +condition of the grant under the License or the Additional Use Grant. For +recipients to whom Australian law does not apply, the License remains the +complete default public license grant, subject only to its own terms and any +other separate instrument that applies independently. + +In the event of a conflict between this Annexure and the License on a matter of +Australian law, this Annexure prevails to the extent of that conflict and only +as between the Licensor and a recipient to whom Australian law applies. + +--- + +## 1. Australian Consumer Law -- non-excludable guarantees + +Nothing in the License or this Annexure excludes, restricts or modifies any +consumer guarantee, right or remedy conferred on you by the Competition and +Consumer Act 2010 (Cth), including the Australian Consumer Law in Schedule 2 +to that Act (the "ACL"), or by any other applicable law, where to do so would +contravene that law or cause any term to be void. + +--- + +## 2. Limitation of liability where the ACL permits + +To the extent the ACL applies to the supply of the Licensed Work and the +Licensed Work is not of a kind ordinarily acquired for personal, domestic or +household use or consumption, the Licensor's liability for failure to comply +with a consumer guarantee that cannot lawfully be excluded is limited, at the +Licensor's option, to: + + (a) for goods: replacing the goods or supplying equivalent goods, repairing + the goods, paying the cost of replacing the goods or of acquiring + equivalent goods, or paying the cost of having the goods repaired; and + + (b) for services: supplying the services again, or paying the cost of having + the services supplied again, + +as permitted by section 64A of the ACL. This limitation does not apply if you +establish that it is not fair or reasonable for the Licensor to rely on it. + +--- + +## 3. Mandatory consumer notice (where required) + +Where the Licensed Work is supplied to a consumer within the meaning of the ACL +and a consumer-guarantee notice is required by the ACL or the Competition and +Consumer Regulations 2010, the applicable prescribed notice for the relevant +supply (goods, services, or goods and services) must be used. + +--- + +## 4. Governing law and jurisdiction + +This Annexure is governed by the laws of the Australian Capital Territory, +Australia. Each party submits to the non-exclusive jurisdiction of the courts +of the Australian Capital Territory and the courts entitled to hear appeals +from those courts. + +Before commencing proceedings (other than for urgent interlocutory relief), +the parties will attempt in good faith to resolve any dispute by negotiation +for a period of 30 days from written notice of the dispute. + +--- + +## 5. Relationship to the License and other Annexures + +This Annexure applies only as between the Licensor and a recipient to whom +Australian law applies. It does not enlarge, reduce or alter the rights +granted under the License (including the Additional Use Grant, the Change +Date, and conversion to the Change License) for any recipient. The License +continues to govern the grant of rights in the Licensed Work. + +--- + +## 6. Severability of this Annexure + +If any provision of this Annexure is held to be invalid, void or unenforceable by +a court or tribunal of competent jurisdiction, that provision is severed to +the minimum extent necessary, and the remainder of this Annexure, the License, +the Additional Use Grant, and any other Annexure continue in full force and +effect. The invalidity of any provision of this Annexure does not affect the +validity or enforceability of the License, the Additional Use Grant, or of any +other Annexure. \ No newline at end of file diff --git a/README.md b/README.md index 2833864..2b4aaa7 100644 --- a/README.md +++ b/README.md @@ -172,8 +172,7 @@ Background tasks are tracked in the **tasks** table with states: ## 📄 License -EdgeStream WebUI is licensed under the **Functional Source License 1.1, -ALv2 Future License (FSL-1.1-ALv2)**. +EdgeStream WebUI is licensed under the **Business Source License 1.1 (BUSL-1.1)**. See: diff --git a/alembic/env.py b/alembic/env.py index 5d77c39..766ce3f 100644 --- a/alembic/env.py +++ b/alembic/env.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: alembic/env.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from alembic import context from edgestream.db.session import engine as app_engine, Base diff --git a/alembic/versions/1aefb8fac77f_transform_text_columns.py b/alembic/versions/1aefb8fac77f_transform_text_columns.py index 08b43b3..db4e968 100644 --- a/alembic/versions/1aefb8fac77f_transform_text_columns.py +++ b/alembic/versions/1aefb8fac77f_transform_text_columns.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: alembic/versions/1aefb8fac77f_transform_text_columns.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + """transform text columns Revision ID: 1aefb8fac77f diff --git a/alembic/versions/baf4beec17e4_use_text_for_params_value.py b/alembic/versions/baf4beec17e4_use_text_for_params_value.py index c2d28c2..6c3991e 100644 --- a/alembic/versions/baf4beec17e4_use_text_for_params_value.py +++ b/alembic/versions/baf4beec17e4_use_text_for_params_value.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: alembic/versions/baf4beec17e4_use_text_for_params_value.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + """use Text for params value Revision ID: baf4beec17e4 diff --git a/alembic/versions/fbcca829bb92_users_set_updated_at.py b/alembic/versions/fbcca829bb92_users_set_updated_at.py index 75e8d1c..87f11b3 100644 --- a/alembic/versions/fbcca829bb92_users_set_updated_at.py +++ b/alembic/versions/fbcca829bb92_users_set_updated_at.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: alembic/versions/fbcca829bb92_users_set_updated_at.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + """User database timestamp triggers Revision ID: fbcca829bb92 diff --git a/debian/contrib/ansible-queue/ansible-queue-runner.py b/debian/contrib/ansible-queue/ansible-queue-runner.py index edad7d6..24eafac 100644 --- a/debian/contrib/ansible-queue/ansible-queue-runner.py +++ b/debian/contrib/ansible-queue/ansible-queue-runner.py @@ -1,4 +1,13 @@ #!/usr/bin/env python3 +""" +Project: edgestream-api +File: debian/contrib/ansible-queue/ansible-queue-runner.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + """ EdgeStream Ansible Queue Runner (stdlib + requests + subprocess) diff --git a/debian/contrib/ansible-queue/edgestream-ansible-queue.path b/debian/contrib/ansible-queue/edgestream-ansible-queue.path index f3d4117..880cd6a 100644 --- a/debian/contrib/ansible-queue/edgestream-ansible-queue.path +++ b/debian/contrib/ansible-queue/edgestream-ansible-queue.path @@ -1,3 +1,12 @@ +# +# Project: edgestream-api +# File: usr/lib/systemd/system/edgestream-ansible-queue.path +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + [Unit] Description=Watch EdgeStream Ansible queue for new jobs diff --git a/debian/contrib/ansible-queue/edgestream-ansible-queue.service b/debian/contrib/ansible-queue/edgestream-ansible-queue.service index f6b18cf..6ce05ff 100644 --- a/debian/contrib/ansible-queue/edgestream-ansible-queue.service +++ b/debian/contrib/ansible-queue/edgestream-ansible-queue.service @@ -1,3 +1,12 @@ +# +# Project: edgestream-api +# File: usr/lib/systemd/system/edgestream-ansible-queue.service +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + [Unit] Description=EdgeStream Ansible Queue Runner # Ensure the API is up before the runner tries to log in/poll diff --git a/debian/contrib/backup/edgestream-backup.service b/debian/contrib/backup/edgestream-backup.service index e9efc7d..d5bb10d 100644 --- a/debian/contrib/backup/edgestream-backup.service +++ b/debian/contrib/backup/edgestream-backup.service @@ -1,4 +1,12 @@ -# /etc/systemd/system/edgestream-backup.service +# +# Project: edgestream-api +# File: usr/lib/systemd/system/edgestream-backup.service +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + [Unit] Description=EdgeStream config backup (one-shot) diff --git a/debian/contrib/backup/edgestream-backup.timer b/debian/contrib/backup/edgestream-backup.timer index 7d2fec8..48fafd4 100644 --- a/debian/contrib/backup/edgestream-backup.timer +++ b/debian/contrib/backup/edgestream-backup.timer @@ -1,3 +1,12 @@ +# +# Project: edgestream-api +# File: usr/lib/systemd/system/edgestream-backup.timer +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + [Unit] Description=Run EdgeStream backup on a schedule diff --git a/debian/contrib/database_init.bin b/debian/contrib/database_init.bin index 30d65d8..b6224e0 100644 --- a/debian/contrib/database_init.bin +++ b/debian/contrib/database_init.bin @@ -1,4 +1,13 @@ #!/usr/bin/env bash +# +# Project: edgestream-api +# File: opt/edgestream-api/bin/database_init.bin +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + set -euo pipefail # Redirect output to journal diff --git a/debian/contrib/edgestream-audit-rotate b/debian/contrib/edgestream-audit-rotate index 26f4628..0ec236e 100644 --- a/debian/contrib/edgestream-audit-rotate +++ b/debian/contrib/edgestream-audit-rotate @@ -1,4 +1,11 @@ -# /etc/cron.d/edgestream-audit-rotate +# +# Project: edgestream-api +# File: etc/cron.d/edgestream-audit-rotate +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# # Run every Sunday at 00:00 (Midnight) # m h dom mon dow user command diff --git a/debian/contrib/export_config.py b/debian/contrib/export_config.py index 7f31f86..290a417 100644 --- a/debian/contrib/export_config.py +++ b/debian/contrib/export_config.py @@ -1,4 +1,13 @@ #!/opt/edgestream-api/bin/python3 +""" +Project: edgestream-api +File: debian/contrib/export_config.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import sys import json import os diff --git a/debian/contrib/reset_admin.py b/debian/contrib/reset_admin.py index a2b24ba..f5003d6 100644 --- a/debian/contrib/reset_admin.py +++ b/debian/contrib/reset_admin.py @@ -1,4 +1,13 @@ #!/opt/edgestream-api/bin/python3 +""" +Project: edgestream-api +File: debian/contrib/reset_admin.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import os import pwd import re diff --git a/debian/contrib/update/edgestream-update b/debian/contrib/update/edgestream-update index 2e82ab4..294b853 100644 --- a/debian/contrib/update/edgestream-update +++ b/debian/contrib/update/edgestream-update @@ -1 +1,10 @@ +# +# Project: edgestream-api +# File: etc/sudoers.d/edgestream-update +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + edgestream ALL=(root) NOPASSWD: /usr/bin/systemctl start --wait edgestream-update@* \ No newline at end of file diff --git a/debian/contrib/update/edgestream-update-root b/debian/contrib/update/edgestream-update-root index b05681c..4954564 100644 --- a/debian/contrib/update/edgestream-update-root +++ b/debian/contrib/update/edgestream-update-root @@ -1,4 +1,13 @@ #!/usr/bin/env bash +# +# Project: edgestream-api +# File: opt/edgestream-api/bin/edgestream-update-root +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + set -euo pipefail LOG_DIR="/var/log/edgestream-api" diff --git a/debian/contrib/update/edgestream-update@.service b/debian/contrib/update/edgestream-update@.service index 6507d42..a01f45c 100644 --- a/debian/contrib/update/edgestream-update@.service +++ b/debian/contrib/update/edgestream-update@.service @@ -1,3 +1,12 @@ +# +# Project: edgestream-api +# File: usr/lib/systemd/system/edgestream-update@.service +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + [Unit] Description=EdgeStream privileged update (%i) Wants=network-online.target diff --git a/debian/contrib/vpn/edgestream-vpn b/debian/contrib/vpn/edgestream-vpn index f1997b0..3f6e26b 100644 --- a/debian/contrib/vpn/edgestream-vpn +++ b/debian/contrib/vpn/edgestream-vpn @@ -1,3 +1,12 @@ +# +# Project: edgestream-api +# File: etc/sudoers.d/edgestream-vpn +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + # Allow the API service account to execute systemctl commands for VPN services without a password edgestream ALL=(ALL) NOPASSWD: /usr/bin/systemctl start openvpn-client@* edgestream ALL=(ALL) NOPASSWD: /usr/bin/systemctl stop openvpn-client@* diff --git a/debian/contrib/vpn/edgestream-vpnctl b/debian/contrib/vpn/edgestream-vpnctl index ec0843f..8799fee 100644 --- a/debian/contrib/vpn/edgestream-vpnctl +++ b/debian/contrib/vpn/edgestream-vpnctl @@ -1,4 +1,13 @@ #!/usr/bin/env bash +# +# Project: edgestream-api +# File: opt/edgestream-api/bin/edgestream-vpnctl +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + set -euo pipefail action="${1:?start|stop|restart}" diff --git a/debian/contrib/vpn/edgestream-wg-status.service b/debian/contrib/vpn/edgestream-wg-status.service index 31cd724..6016f00 100644 --- a/debian/contrib/vpn/edgestream-wg-status.service +++ b/debian/contrib/vpn/edgestream-wg-status.service @@ -1,3 +1,12 @@ +# +# Project: edgestream-api +# File: usr/lib/systemd/system/edgestream-wg-status.service +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + [Unit] Description=EdgeStream WireGuard status cache After=network-online.target diff --git a/debian/contrib/vpn/edgestream-wg-statusd b/debian/contrib/vpn/edgestream-wg-statusd index 22f570a..8590735 100644 --- a/debian/contrib/vpn/edgestream-wg-statusd +++ b/debian/contrib/vpn/edgestream-wg-statusd @@ -1,4 +1,13 @@ #!/usr/bin/env bash +# +# Project: edgestream-api +# File: opt/edgestream-api/bin/edgestream-wg-statusd +# Language: Python +# +# License: BUSL-1.1 +# Copyright: (c) 2026 HYPERI PTY LIMITED +# + set -euo pipefail OUT_DIR="/run/edgestream" diff --git a/debian/control b/debian/control index b2e5773..aeffebc 100644 --- a/debian/control +++ b/debian/control @@ -26,4 +26,4 @@ Description: EdgeStream Hub API EdgeStream Hub is a network security and event collection appliance providing event collection and aggregation. . - Licensed under the Functional Source License 1.1 (ALv2 Future License). + Licensed under the Business Source License 1.1 (BUSL-1.1). diff --git a/debian/copyright b/debian/copyright index 25b1d26..a376611 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,91 +1,306 @@ -# Commercial Licensing +Business Source License 1.1 -This software is licensed under the Functional Source License, Version 1.1, -ALv2 Future License (FSL-1.1-ALv2). See the [LICENSE](LICENSE) file for terms. +Parameters -## When You Need a Commercial License +Licensor: HYPERI PTY LIMITED (ABN 31 622 581 748) +Licensed Work: The software, source code, documentation, and associated + materials in this repository. The Licensed Work is (c) + 2026 HYPERI PTY LIMITED. +Additional Use Grant: You may make use of the Licensed Work, provided that + you may not use the Licensed Work for a Hosted + Service. -A commercial license from HyperI is required if you want to: + A "Hosted Service" is a commercial offering that + allows third parties (other than your employees and + contractors) to access the functionality of the + Licensed Work as a hosted or managed service, where + the service provides those third parties with access + to a substantial set of the features or functionality + of the Licensed Work. -- **Offer as a Service**: Provide the software as a hosted SaaS, PaaS, or - managed service to third parties -- **Embed or Bundle**: Include the software in your own commercial product - for distribution or sale -- **Resell or White-Label**: Redistribute the software under your own brand - or as part of a resale arrangement -- **Intra-Group Service Provider**: Operate the software on behalf of other - entities in your corporate group (see below) +Change Date: The third anniversary of the first publicly available + distribution of the specific version of the Licensed Work + under this License. -## When You Don't Need a Commercial License +Change License: Apache License, Version 2.0 -The FSL allows you to use this software without a commercial license for: +Notice -- **Internal Use**: Using the software within your own organisation for - your own purposes -- **Self-Hosting**: Running the software on your own infrastructure for - your own use -- **Non-Commercial Education**: Teaching, learning, and academic research -- **Non-Commercial Research**: Research that is not intended for commercial - advantage -- **Professional Services**: Helping licensees deploy and use the software - in accordance with the FSL terms +The Business Source License (this document, or the "License") is not an Open +Source license. However, the Licensed Work will eventually be made available +under an Open Source License, as stated in this License. -## Corporate Groups and Affiliates +License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. +"Business Source License" is a trademark of MariaDB Corporation Ab. -**"Internal use" means use within a single legal entity.** +----------------------------------------------------------------------------- -### Multiple Entities Using Independently +Business Source License 1.1 -If multiple entities in your corporate group each deploy and operate their -own instance of the software for their own internal purposes, each entity -may do so under the FSL without a commercial license. +Terms -Example: Parent Co, Subsidiary A, and Subsidiary B each run their own -separate deployment for their own use. This is permitted under the FSL. +The Licensor hereby grants you the right to copy, modify, create derivative +works, redistribute, and make non-production use of the Licensed Work. The +Licensor may make an Additional Use Grant, above, permitting limited +production use. -### One Entity Providing Services to Others +Effective on the Change Date, or the fourth anniversary of the first publicly +available distribution of a specific version of the Licensed Work under this +License, whichever comes first, the Licensor hereby grants you rights under +the terms of the Change License, and the rights granted in the paragraph +above terminate. -If one entity in your corporate group operates the software and provides -access or services to other entities in the group, this is **not** internal -use - it is providing a service. This requires a commercial license with -intra-group hosting rights. +If your use of the Licensed Work does not comply with the requirements +currently in effect as described in this License, you must purchase a +commercial license from the Licensor, its affiliated entities, or authorized +resellers, or you must refrain from using the Licensed Work. -Example: Shared Services Co runs a centralised deployment and provides -access to Parent Co, Subsidiary A, and Subsidiary B. This requires a -commercial license. +All copies of the original and modified Licensed Work, and derivative works +of the Licensed Work, are subject to this License. This License applies +separately for each version of the Licensed Work and the Change Date may vary +for each version of the Licensed Work released by Licensor. -**Why?** The distinction is based on who operates the software versus who -benefits from it. When Entity A operates software for the benefit of -Entity B, that is providing a service - regardless of corporate relationship. -This is the same activity that hyperscalers perform, just within a corporate -group rather than publicly. +You must conspicuously display this License on each original or modified copy +of the Licensed Work. If you receive the Licensed Work in original or +modified form from a third party, the terms and conditions set forth in this +License apply to your use of that work. -### What You Need +Any use of the Licensed Work in violation of this License will automatically +terminate your rights under this License for the current and all other +versions of the Licensed Work. -| Scenario | License Required | -|----------|-----------------| -| Single entity, internal use | FSL (no commercial license) | -| Multiple entities, each runs own instance | FSL for each (no commercial license) | -| One entity hosts for multiple group entities | Commercial license + Affiliate Schedule with Intra-Group Hosting rights | -| Shared services / centralised IT for group | Commercial license + Affiliate Schedule with Intra-Group Hosting rights | +This License does not grant you any right in any trademark or logo of +Licensor or its affiliates (provided that you may use a trademark or logo of +Licensor as expressly required by this License). -## Contact Us +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON +AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, +EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND +TITLE. -For commercial licensing enquiries: +MariaDB hereby grants you permission to use this License's text to license +your works, and to refer to it using the trademark "Business Source License", +as long as you comply with the Covenants of Licensor below. -**Email**: sales@hyperi.io +Covenants of Licensor -**Licensor**: HYPERI PTY LIMITED (ABN 31 622 581 748) +In consideration of the right to use this License's text and the "Business +Source License" name and trademark, Licensor covenants to MariaDB, and to all +other recipients of the licensed work to be provided by Licensor: -We offer flexible licensing options including: -- Enterprise subscription licenses -- SaaS and hosting rights (third parties) -- OEM and embedding rights -- Affiliate coverage with optional intra-group hosting rights +1. To specify as the Change License the GPL Version 2.0 or any later version, + or a license that is compatible with GPL Version 2.0 or a later version, + where "compatible" means that software provided under the Change License can + be included in a program with software provided under GPL Version 2.0 or a + later version. Licensor may specify additional Change Licenses without + limitation. -## Future Open Source Conversion +2. To either: (a) specify an additional grant of rights to use that does not + impose any additional restriction on the right granted in this License, as + the Additional Use Grant; or (b) insert the text "None". -Each version of this software automatically becomes available under the -Apache License, Version 2.0 on the second anniversary of its release date. -This means older versions will eventually be fully open source with no -commercial restrictions. +3. To specify a Change Date. + +4. Not to modify this License in any other way. + +============================================================================= +SUPPLEMENTARY INSTRUMENTS (operate alongside the Business Source License above) + +The following Annexures are separate instruments that operate alongside, and do +not amend or form part of, the Business Source License 1.1 text above. Each is +independently severable: if any Annexure (or any provision of it) is held invalid +or unenforceable, the Business Source License above and the other Annexures +continue in full force. A separate AI training policy (AI-TRAINING-POLICY.md) +applies as its own independent instrument. + +----------------------------------------------------------------------------- + +# License Annexure -- Affiliate + +**Licensor: HYPERI PTY LIMITED (ABN 31 622 581 748).** + +This Annexure supplements the Business Source License 1.1 (the "License") under +which the Licensed Work is made available, and in particular clarifies the +scope of the words "third parties" and "your employees and contractors" in the +Additional Use Grant. This Annexure does not amend, and is not incorporated +into, the text of the License. It is a separate instrument that operates +alongside the License and any other Annexure. It does not impose any additional +restriction on the rights granted by the License; it only clarifies and, where +stated, extends who may exercise those rights. + +--- + +## 1. Definitions + +In this Annexure: + +**"Affiliate"** of an entity means any other entity that, directly or +indirectly, Controls, is Controlled by, or is under common Control with that +entity, for so long as that Control subsists. + +**"Control"** means holding, directly or indirectly, more than fifty percent +(50%) of the voting securities, voting equity interests, or other voting +ownership of an entity, or otherwise having the power to direct or cause the +direction of the management and policies of that entity, whether by contract +or otherwise. + +--- + +## 2. Contractors and agents acting on your behalf + +For the purposes of the Additional Use Grant, a contractor or agent that +accesses the functionality of the Licensed Work solely on your behalf and for +your own internal purposes, and not on its own account or for the benefit of +any third party, is treated as one of "your employees and contractors" and is +not a third party to whom a Hosted Service is provided. + +--- + +## 3. Independent use by Affiliates is internal use + +Where two or more entities that are Affiliates of one another each deploy and +operate their own instance of the Licensed Work, each for that entity's own +internal business purposes, each such entity's use is internal use and is not +the provision of a Hosted Service to a third party. Each such entity exercises +the rights granted by the License in its own right. + +--- + +## 4. One Affiliate operating the software for others is a Hosted Service + +For the avoidance of doubt, where one entity operates the Licensed Work and +provides access to its functionality to one or more of its Affiliates as a +shared or centralised hosted or managed service (rather than each Affiliate +operating its own instance for its own internal purposes), that operation is +the provision of a Hosted Service within the meaning of the Additional Use +Grant, and falls outside that Grant. A commercial license is required for that +use. See COMMERCIAL.md. (An Affiliate is a separate legal entity; the line +HyperI draws is operate-versus-benefit, not corporate relationship.) + +--- + +## 5. Hosted-service rights are available by commercial license + +Rights to operate the Licensed Work as a shared or centralised service for the +benefit of your Affiliates (intra-group hosting), and rights to operate it as a +hosted or managed service for persons or entities outside your corporate group, +are available under a commercial license from the Licensor. See COMMERCIAL.md +and contact sales@hyperi.io. + +--- + +## 6. Relationship to the License and other Annexures + +This Annexure applies alongside the License. Except for the clarifications in +clauses 2 to 5 about the internal group-use boundary and the commercial path for +hosted services, it does not otherwise enlarge, reduce or alter the rights +granted under the License (including the Additional Use Grant, the Change Date, +and conversion to the Change License). The License continues to govern the grant of rights in the +Licensed Work. Nothing in this Annexure is to be construed as a modification of +the text of the License. + +--- + +## 7. Severability of this Annexure + +If any provision of this Annexure is held to be invalid, void or unenforceable by +a court or tribunal of competent jurisdiction, that provision is severed to +the minimum extent necessary, and the remainder of this Annexure, the License, +the Additional Use Grant, and any other Annexure continue in full force and +effect. The invalidity of any provision of this Annexure does not affect the +validity or enforceability of the License, the Additional Use Grant, or any +other Annexure. + +----------------------------------------------------------------------------- + +# License Annexure -- Australia + +**Licensor: HYPERI PTY LIMITED (ABN 31 622 581 748).** + +This is a jurisdiction-specific Australian-law overlay. It applies only as +between the Licensor and a recipient to whom Australian law applies. It does not +amend, and is not incorporated into, the Business Source License 1.1 (the +"License") under which the Licensed Work is made available. It is not a +condition of the grant under the License or the Additional Use Grant. For +recipients to whom Australian law does not apply, the License remains the +complete default public license grant, subject only to its own terms and any +other separate instrument that applies independently. + +In the event of a conflict between this Annexure and the License on a matter of +Australian law, this Annexure prevails to the extent of that conflict and only +as between the Licensor and a recipient to whom Australian law applies. + +--- + +## 1. Australian Consumer Law -- non-excludable guarantees + +Nothing in the License or this Annexure excludes, restricts or modifies any +consumer guarantee, right or remedy conferred on you by the Competition and +Consumer Act 2010 (Cth), including the Australian Consumer Law in Schedule 2 +to that Act (the "ACL"), or by any other applicable law, where to do so would +contravene that law or cause any term to be void. + +--- + +## 2. Limitation of liability where the ACL permits + +To the extent the ACL applies to the supply of the Licensed Work and the +Licensed Work is not of a kind ordinarily acquired for personal, domestic or +household use or consumption, the Licensor's liability for failure to comply +with a consumer guarantee that cannot lawfully be excluded is limited, at the +Licensor's option, to: + + (a) for goods: replacing the goods or supplying equivalent goods, repairing + the goods, paying the cost of replacing the goods or of acquiring + equivalent goods, or paying the cost of having the goods repaired; and + + (b) for services: supplying the services again, or paying the cost of having + the services supplied again, + +as permitted by section 64A of the ACL. This limitation does not apply if you +establish that it is not fair or reasonable for the Licensor to rely on it. + +--- + +## 3. Mandatory consumer notice (where required) + +Where the Licensed Work is supplied to a consumer within the meaning of the ACL +and a consumer-guarantee notice is required by the ACL or the Competition and +Consumer Regulations 2010, the applicable prescribed notice for the relevant +supply (goods, services, or goods and services) must be used. + +--- + +## 4. Governing law and jurisdiction + +This Annexure is governed by the laws of the Australian Capital Territory, +Australia. Each party submits to the non-exclusive jurisdiction of the courts +of the Australian Capital Territory and the courts entitled to hear appeals +from those courts. + +Before commencing proceedings (other than for urgent interlocutory relief), +the parties will attempt in good faith to resolve any dispute by negotiation +for a period of 30 days from written notice of the dispute. + +--- + +## 5. Relationship to the License and other Annexures + +This Annexure applies only as between the Licensor and a recipient to whom +Australian law applies. It does not enlarge, reduce or alter the rights +granted under the License (including the Additional Use Grant, the Change +Date, and conversion to the Change License) for any recipient. The License +continues to govern the grant of rights in the Licensed Work. + +--- + +## 6. Severability of this Annexure + +If any provision of this Annexure is held to be invalid, void or unenforceable by +a court or tribunal of competent jurisdiction, that provision is severed to +the minimum extent necessary, and the remainder of this Annexure, the License, +the Additional Use Grant, and any other Annexure continue in full force and +effect. The invalidity of any provision of this Annexure does not affect the +validity or enforceability of the License, the Additional Use Grant, or of any +other Annexure. \ No newline at end of file diff --git a/edgestream/__init__.py b/edgestream/__init__.py index e69de29..3f73c78 100644 --- a/edgestream/__init__.py +++ b/edgestream/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/api/__init__.py b/edgestream/api/__init__.py index e69de29..d155490 100644 --- a/edgestream/api/__init__.py +++ b/edgestream/api/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/api/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/api/v1/__init__.py b/edgestream/api/v1/__init__.py index e69de29..d7e06bb 100644 --- a/edgestream/api/v1/__init__.py +++ b/edgestream/api/v1/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/api/v1/api_router.py b/edgestream/api/v1/api_router.py index ac4de06..815d635 100644 --- a/edgestream/api/v1/api_router.py +++ b/edgestream/api/v1/api_router.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/api_router.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from fastapi import APIRouter from edgestream.api.v1.endpoints import (certificate_store, backup_restore, user, diff --git a/edgestream/api/v1/endpoints/__init__.py b/edgestream/api/v1/endpoints/__init__.py index e69de29..21fd74e 100644 --- a/edgestream/api/v1/endpoints/__init__.py +++ b/edgestream/api/v1/endpoints/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/api/v1/endpoints/advanced_setting.py b/edgestream/api/v1/endpoints/advanced_setting.py index e5411d4..569addf 100644 --- a/edgestream/api/v1/endpoints/advanced_setting.py +++ b/edgestream/api/v1/endpoints/advanced_setting.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/advanced_setting.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from fastapi import APIRouter, Depends, HTTPException, BackgroundTasks from sqlalchemy.orm import Session from typing import Any, List diff --git a/edgestream/api/v1/endpoints/authentication.py b/edgestream/api/v1/endpoints/authentication.py index 108d0a6..b349f87 100644 --- a/edgestream/api/v1/endpoints/authentication.py +++ b/edgestream/api/v1/endpoints/authentication.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/authentication.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Any, Optional from fastapi import APIRouter, Depends, HTTPException, Form, Request, BackgroundTasks, status diff --git a/edgestream/api/v1/endpoints/backup_restore.py b/edgestream/api/v1/endpoints/backup_restore.py index b4d3b68..0e99b21 100644 --- a/edgestream/api/v1/endpoints/backup_restore.py +++ b/edgestream/api/v1/endpoints/backup_restore.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/backup_restore.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import os from typing import Annotated, List, Dict, Any diff --git a/edgestream/api/v1/endpoints/certificate_store.py b/edgestream/api/v1/endpoints/certificate_store.py index 6fcf6f0..6d5d91f 100644 --- a/edgestream/api/v1/endpoints/certificate_store.py +++ b/edgestream/api/v1/endpoints/certificate_store.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/certificate_store.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from io import BytesIO from typing import Annotated from pathlib import Path diff --git a/edgestream/api/v1/endpoints/event_destination.py b/edgestream/api/v1/endpoints/event_destination.py index 7270772..aa0a6a9 100644 --- a/edgestream/api/v1/endpoints/event_destination.py +++ b/edgestream/api/v1/endpoints/event_destination.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/event_destination.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import re from typing import List, Any diff --git a/edgestream/api/v1/endpoints/event_routing.py b/edgestream/api/v1/endpoints/event_routing.py index e2bd8f9..5d6ac60 100644 --- a/edgestream/api/v1/endpoints/event_routing.py +++ b/edgestream/api/v1/endpoints/event_routing.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/event_routing.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List from fastapi import APIRouter, Depends, HTTPException diff --git a/edgestream/api/v1/endpoints/event_source.py b/edgestream/api/v1/endpoints/event_source.py index f212ea2..313a595 100644 --- a/edgestream/api/v1/endpoints/event_source.py +++ b/edgestream/api/v1/endpoints/event_source.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/event_source.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import re from typing import List, Any diff --git a/edgestream/api/v1/endpoints/event_syslog.py b/edgestream/api/v1/endpoints/event_syslog.py index 3b11107..4d1aa87 100644 --- a/edgestream/api/v1/endpoints/event_syslog.py +++ b/edgestream/api/v1/endpoints/event_syslog.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/event_syslog.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List from fastapi import APIRouter, Depends, HTTPException, BackgroundTasks diff --git a/edgestream/api/v1/endpoints/event_transform.py b/edgestream/api/v1/endpoints/event_transform.py index fd6bec3..c42e482 100644 --- a/edgestream/api/v1/endpoints/event_transform.py +++ b/edgestream/api/v1/endpoints/event_transform.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/event_transform.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import json import os import re diff --git a/edgestream/api/v1/endpoints/influx_config.py b/edgestream/api/v1/endpoints/influx_config.py index cb19625..d84584a 100644 --- a/edgestream/api/v1/endpoints/influx_config.py +++ b/edgestream/api/v1/endpoints/influx_config.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/influx_config.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import os from pathlib import Path from typing import Dict, Any, Optional diff --git a/edgestream/api/v1/endpoints/interface_management.py b/edgestream/api/v1/endpoints/interface_management.py index 40673ad..b14187a 100644 --- a/edgestream/api/v1/endpoints/interface_management.py +++ b/edgestream/api/v1/endpoints/interface_management.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/interface_management.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from fastapi import APIRouter, Depends, HTTPException, BackgroundTasks, Body from sqlalchemy.orm import Session from typing import Optional diff --git a/edgestream/api/v1/endpoints/log_viewer.py b/edgestream/api/v1/endpoints/log_viewer.py index a9d3726..cf62c04 100644 --- a/edgestream/api/v1/endpoints/log_viewer.py +++ b/edgestream/api/v1/endpoints/log_viewer.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/log_viewer.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import os import asyncio import urllib.parse diff --git a/edgestream/api/v1/endpoints/networking_dns_client.py b/edgestream/api/v1/endpoints/networking_dns_client.py index 7791c28..0154aed 100644 --- a/edgestream/api/v1/endpoints/networking_dns_client.py +++ b/edgestream/api/v1/endpoints/networking_dns_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/networking_dns_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List from fastapi import APIRouter, Depends, HTTPException, BackgroundTasks diff --git a/edgestream/api/v1/endpoints/networking_dns_forwarding.py b/edgestream/api/v1/endpoints/networking_dns_forwarding.py index 1bf7ee1..99fd695 100644 --- a/edgestream/api/v1/endpoints/networking_dns_forwarding.py +++ b/edgestream/api/v1/endpoints/networking_dns_forwarding.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/networking_dns_forwarding.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List import validators diff --git a/edgestream/api/v1/endpoints/networking_ntp_client.py b/edgestream/api/v1/endpoints/networking_ntp_client.py index cbc05fc..d0893b7 100644 --- a/edgestream/api/v1/endpoints/networking_ntp_client.py +++ b/edgestream/api/v1/endpoints/networking_ntp_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/networking_ntp_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List import validators diff --git a/edgestream/api/v1/endpoints/networking_static_host.py b/edgestream/api/v1/endpoints/networking_static_host.py index 81210db..f10e129 100644 --- a/edgestream/api/v1/endpoints/networking_static_host.py +++ b/edgestream/api/v1/endpoints/networking_static_host.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/networking_static_host.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List import validators diff --git a/edgestream/api/v1/endpoints/networking_static_route.py b/edgestream/api/v1/endpoints/networking_static_route.py index e36b2ea..24c8e6d 100644 --- a/edgestream/api/v1/endpoints/networking_static_route.py +++ b/edgestream/api/v1/endpoints/networking_static_route.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/networking_static_route.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List import bleach diff --git a/edgestream/api/v1/endpoints/system.py b/edgestream/api/v1/endpoints/system.py index 3548031..b9fabdb 100644 --- a/edgestream/api/v1/endpoints/system.py +++ b/edgestream/api/v1/endpoints/system.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/system.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import re import bleach from pathlib import Path diff --git a/edgestream/api/v1/endpoints/system_services.py b/edgestream/api/v1/endpoints/system_services.py index c9fe454..a2a415a 100644 --- a/edgestream/api/v1/endpoints/system_services.py +++ b/edgestream/api/v1/endpoints/system_services.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/system_services.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import json import os diff --git a/edgestream/api/v1/endpoints/system_settings.py b/edgestream/api/v1/endpoints/system_settings.py index d3f154c..0fc7ae9 100644 --- a/edgestream/api/v1/endpoints/system_settings.py +++ b/edgestream/api/v1/endpoints/system_settings.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/system_settings.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import re from fastapi import APIRouter, Depends, HTTPException, BackgroundTasks from sqlalchemy.orm import Session diff --git a/edgestream/api/v1/endpoints/task_status.py b/edgestream/api/v1/endpoints/task_status.py index e12512d..9cb09c6 100644 --- a/edgestream/api/v1/endpoints/task_status.py +++ b/edgestream/api/v1/endpoints/task_status.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/task_status.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import Any, List diff --git a/edgestream/api/v1/endpoints/update.py b/edgestream/api/v1/endpoints/update.py index e3e1cc0..dad5037 100644 --- a/edgestream/api/v1/endpoints/update.py +++ b/edgestream/api/v1/endpoints/update.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/update.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List from fastapi import APIRouter, Depends, HTTPException, status diff --git a/edgestream/api/v1/endpoints/user.py b/edgestream/api/v1/endpoints/user.py index c6c6ddd..b88c187 100644 --- a/edgestream/api/v1/endpoints/user.py +++ b/edgestream/api/v1/endpoints/user.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/user.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Any, Dict, List import socket import pyotp diff --git a/edgestream/api/v1/endpoints/vpn_client.py b/edgestream/api/v1/endpoints/vpn_client.py index 34f4334..f963bbb 100644 --- a/edgestream/api/v1/endpoints/vpn_client.py +++ b/edgestream/api/v1/endpoints/vpn_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/vpn_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import json diff --git a/edgestream/api/v1/endpoints/wec_subscriptions.py b/edgestream/api/v1/endpoints/wec_subscriptions.py index c460108..014e8c3 100644 --- a/edgestream/api/v1/endpoints/wec_subscriptions.py +++ b/edgestream/api/v1/endpoints/wec_subscriptions.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/api/v1/endpoints/wec_subscriptions.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import os from typing import List diff --git a/edgestream/backend_pre_start.py b/edgestream/backend_pre_start.py index 98b1610..1b05d2a 100644 --- a/edgestream/backend_pre_start.py +++ b/edgestream/backend_pre_start.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/backend_pre_start.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import logging from tenacity import after_log, before_log, retry, stop_after_attempt, wait_fixed from sqlalchemy import text diff --git a/edgestream/cli/__init__.py b/edgestream/cli/__init__.py index e69de29..7c80dca 100644 --- a/edgestream/cli/__init__.py +++ b/edgestream/cli/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/cli/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/cli/backup_once.py b/edgestream/cli/backup_once.py index b7a9599..bc75cd4 100644 --- a/edgestream/cli/backup_once.py +++ b/edgestream/cli/backup_once.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/cli/backup_once.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # python -m edgestream.cli.backup_once from edgestream.db.session import SessionLocal from edgestream.services.backup.run import run_backup_once diff --git a/edgestream/core/__init__.py b/edgestream/core/__init__.py index e69de29..b9a8ab9 100644 --- a/edgestream/core/__init__.py +++ b/edgestream/core/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/core/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/core/config.py b/edgestream/core/config.py index ee4420b..8d5a698 100644 --- a/edgestream/core/config.py +++ b/edgestream/core/config.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/core/config.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import logging diff --git a/edgestream/core/templates/__init__.py b/edgestream/core/templates/__init__.py index e69de29..4507938 100644 --- a/edgestream/core/templates/__init__.py +++ b/edgestream/core/templates/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/core/templates/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/core/utils/audit_maintainance.py b/edgestream/core/utils/audit_maintainance.py index 11c0ad5..bcf40ed 100644 --- a/edgestream/core/utils/audit_maintainance.py +++ b/edgestream/core/utils/audit_maintainance.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/core/utils/audit_maintainance.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import os import gzip import json diff --git a/edgestream/crud/__init__.py b/edgestream/crud/__init__.py index 68d37f5..5274528 100644 --- a/edgestream/crud/__init__.py +++ b/edgestream/crud/__init__.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/crud/__init__.py # Core logic diff --git a/edgestream/crud/base.py b/edgestream/crud/base.py index 9abfc1f..d630f28 100644 --- a/edgestream/crud/base.py +++ b/edgestream/crud/base.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/base.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Any, Dict, Generic, Optional, Type, TypeVar, Union, List from fastapi.encoders import jsonable_encoder diff --git a/edgestream/crud/event/__init__.py b/edgestream/crud/event/__init__.py index e69de29..a6b80e7 100644 --- a/edgestream/crud/event/__init__.py +++ b/edgestream/crud/event/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/crud/event/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/crud/event/destination.py b/edgestream/crud/event/destination.py index 516a6de..44dc5c1 100644 --- a/edgestream/crud/event/destination.py +++ b/edgestream/crud/event/destination.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/event/destination.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Dict, Tuple, Any, Optional from fastapi import HTTPException from sqlalchemy.exc import IntegrityError, SQLAlchemyError diff --git a/edgestream/crud/event/destination_params.py b/edgestream/crud/event/destination_params.py index f8aa938..e214cd6 100644 --- a/edgestream/crud/event/destination_params.py +++ b/edgestream/crud/event/destination_params.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/event/destination_params.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, List, Any from sqlalchemy.orm import Session from sqlalchemy.exc import SQLAlchemyError, IntegrityError diff --git a/edgestream/crud/event/destination_routes.py b/edgestream/crud/event/destination_routes.py index f50b71a..1ef9264 100644 --- a/edgestream/crud/event/destination_routes.py +++ b/edgestream/crud/event/destination_routes.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/event/destination_routes.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, List from sqlalchemy.orm import Session from sqlalchemy.exc import IntegrityError, SQLAlchemyError diff --git a/edgestream/crud/event/source.py b/edgestream/crud/event/source.py index f07809b..d6a8f24 100644 --- a/edgestream/crud/event/source.py +++ b/edgestream/crud/event/source.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/event/source.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Dict, Tuple, Any, Optional from fastapi import HTTPException from sqlalchemy.exc import IntegrityError, SQLAlchemyError diff --git a/edgestream/crud/event/source_params.py b/edgestream/crud/event/source_params.py index 5fb5022..25552fb 100644 --- a/edgestream/crud/event/source_params.py +++ b/edgestream/crud/event/source_params.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/event/source_params.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, List, Any from sqlalchemy.orm import Session from sqlalchemy.exc import SQLAlchemyError, IntegrityError diff --git a/edgestream/crud/event/syslog.py b/edgestream/crud/event/syslog.py index ed8d980..91e283b 100644 --- a/edgestream/crud/event/syslog.py +++ b/edgestream/crud/event/syslog.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/event/syslog.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Tuple, Any from fastapi import HTTPException from sqlalchemy.orm import Session diff --git a/edgestream/crud/event/transform.py b/edgestream/crud/event/transform.py index 6b27c1c..54640a1 100644 --- a/edgestream/crud/event/transform.py +++ b/edgestream/crud/event/transform.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/event/transform.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Optional, Any, Dict import json diff --git a/edgestream/crud/network/__init__.py b/edgestream/crud/network/__init__.py index e69de29..a1f96c9 100644 --- a/edgestream/crud/network/__init__.py +++ b/edgestream/crud/network/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/crud/network/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/crud/network/dns.py b/edgestream/crud/network/dns.py index 4257319..7c59461 100644 --- a/edgestream/crud/network/dns.py +++ b/edgestream/crud/network/dns.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/network/dns.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/core/crud/network/dns.py from typing import List, Optional, Dict, Any from fastapi import HTTPException diff --git a/edgestream/crud/network/dns_forwarder.py b/edgestream/crud/network/dns_forwarder.py index 5aaf326..e72d36d 100644 --- a/edgestream/crud/network/dns_forwarder.py +++ b/edgestream/crud/network/dns_forwarder.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/network/dns_forwarder.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Optional, Dict, Any from fastapi import HTTPException from sqlalchemy.orm import Session diff --git a/edgestream/crud/network/ip_management.py b/edgestream/crud/network/ip_management.py index 89cc8de..0a15978 100644 --- a/edgestream/crud/network/ip_management.py +++ b/edgestream/crud/network/ip_management.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/network/ip_management.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Optional, Dict, Any from fastapi import HTTPException, status from sqlalchemy.orm import Session diff --git a/edgestream/crud/network/ntp.py b/edgestream/crud/network/ntp.py index 19265f5..615482e 100644 --- a/edgestream/crud/network/ntp.py +++ b/edgestream/crud/network/ntp.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/network/ntp.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Optional from fastapi import HTTPException, status from sqlalchemy.orm import Session diff --git a/edgestream/crud/network/static_host.py b/edgestream/crud/network/static_host.py index 22b969f..8ecb300 100644 --- a/edgestream/crud/network/static_host.py +++ b/edgestream/crud/network/static_host.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/network/static_host.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Any, Dict from fastapi import HTTPException, status from sqlalchemy.orm import Session diff --git a/edgestream/crud/network/static_route.py b/edgestream/crud/network/static_route.py index 0a18966..5b360fa 100644 --- a/edgestream/crud/network/static_route.py +++ b/edgestream/crud/network/static_route.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/network/static_route.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Optional, Dict, Any from fastapi import HTTPException, status from sqlalchemy.orm import Session diff --git a/edgestream/crud/network/vpn_client.py b/edgestream/crud/network/vpn_client.py index 7ac8c9c..9c38411 100644 --- a/edgestream/crud/network/vpn_client.py +++ b/edgestream/crud/network/vpn_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/network/vpn_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import os diff --git a/edgestream/crud/system/__init__.py b/edgestream/crud/system/__init__.py index e69de29..2095ac0 100644 --- a/edgestream/crud/system/__init__.py +++ b/edgestream/crud/system/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/crud/system/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/crud/system/advanced_settings.py b/edgestream/crud/system/advanced_settings.py index bdffdbd..36bfc96 100644 --- a/edgestream/crud/system/advanced_settings.py +++ b/edgestream/crud/system/advanced_settings.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/system/advanced_settings.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Optional, Dict from fastapi import HTTPException from sqlalchemy import select diff --git a/edgestream/crud/system/backups.py b/edgestream/crud/system/backups.py index dfd3274..5ff5920 100644 --- a/edgestream/crud/system/backups.py +++ b/edgestream/crud/system/backups.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/system/backups.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Any, Dict, Optional, Union, List from sqlalchemy import select from sqlalchemy.orm import Session diff --git a/edgestream/crud/system/certificate_store.py b/edgestream/crud/system/certificate_store.py index 645b988..80c0dca 100644 --- a/edgestream/crud/system/certificate_store.py +++ b/edgestream/crud/system/certificate_store.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/system/certificate_store.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import base64 from typing import Dict, List, Any diff --git a/edgestream/crud/system/log_viewer.py b/edgestream/crud/system/log_viewer.py index 380eacd..290ccc9 100644 --- a/edgestream/crud/system/log_viewer.py +++ b/edgestream/crud/system/log_viewer.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/system/log_viewer.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Dict, Any from sqlalchemy import select from sqlalchemy.orm import Session diff --git a/edgestream/crud/system/system.py b/edgestream/crud/system/system.py index 1cdce25..cd4cd36 100644 --- a/edgestream/crud/system/system.py +++ b/edgestream/crud/system/system.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/system/system.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Any, Dict, Optional, Union from fastapi import HTTPException, status diff --git a/edgestream/crud/system/task_status.py b/edgestream/crud/system/task_status.py index 4e4acd9..c3885f5 100644 --- a/edgestream/crud/system/task_status.py +++ b/edgestream/crud/system/task_status.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/system/task_status.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import uuid from typing import Any, List, Optional, Union, Dict diff --git a/edgestream/crud/system/user.py b/edgestream/crud/system/user.py index d61166e..3c2a91c 100644 --- a/edgestream/crud/system/user.py +++ b/edgestream/crud/system/user.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/crud/system/user.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Any, Dict, Optional, Union, List from fastapi import HTTPException, status diff --git a/edgestream/database_init.py b/edgestream/database_init.py index f88c993..b6b89b9 100644 --- a/edgestream/database_init.py +++ b/edgestream/database_init.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/database_init.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import sys from edgestream.db.init_db import init_db from edgestream.core.config import Logger diff --git a/edgestream/db/__init__.py b/edgestream/db/__init__.py index e69de29..4dbae22 100644 --- a/edgestream/db/__init__.py +++ b/edgestream/db/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/db/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/db/base.py b/edgestream/db/base.py index 037ae4c..9c0a51a 100644 --- a/edgestream/db/base.py +++ b/edgestream/db/base.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/db/base.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/core/db/base.py # Import all ORM models so they are registered with Base’s metadata before Alembic, etc. diff --git a/edgestream/db/db.py b/edgestream/db/db.py index 5b605cc..85e9efd 100644 --- a/edgestream/db/db.py +++ b/edgestream/db/db.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/db/db.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from sqlalchemy.orm import Session from edgestream.db.session import SessionLocal diff --git a/edgestream/db/init_db.py b/edgestream/db/init_db.py index 4f6ff0c..59f468a 100644 --- a/edgestream/db/init_db.py +++ b/edgestream/db/init_db.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/db/init_db.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import os diff --git a/edgestream/db/session.py b/edgestream/db/session.py index 7c8de8f..cffde43 100644 --- a/edgestream/db/session.py +++ b/edgestream/db/session.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/db/session.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from sqlalchemy import create_engine, event, text from sqlalchemy.orm import sessionmaker, declarative_base from sqlalchemy.pool import QueuePool diff --git a/edgestream/main.py b/edgestream/main.py index 926fa80..bd053ce 100644 --- a/edgestream/main.py +++ b/edgestream/main.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/main.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import os from pathlib import Path from contextlib import asynccontextmanager diff --git a/edgestream/models/__init__.py b/edgestream/models/__init__.py index e69de29..8384917 100644 --- a/edgestream/models/__init__.py +++ b/edgestream/models/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/models/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/models/event/__init__.py b/edgestream/models/event/__init__.py index e69de29..4dbd305 100644 --- a/edgestream/models/event/__init__.py +++ b/edgestream/models/event/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/models/event/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/models/event/destination.py b/edgestream/models/event/destination.py index 0b7b7f7..2ad4c02 100644 --- a/edgestream/models/event/destination.py +++ b/edgestream/models/event/destination.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/event/destination.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import List, Optional from datetime import datetime diff --git a/edgestream/models/event/source.py b/edgestream/models/event/source.py index 0534825..c444e4d 100644 --- a/edgestream/models/event/source.py +++ b/edgestream/models/event/source.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/event/source.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import List, Optional from datetime import datetime diff --git a/edgestream/models/event/transform.py b/edgestream/models/event/transform.py index 43020ae..0b0dc9a 100644 --- a/edgestream/models/event/transform.py +++ b/edgestream/models/event/transform.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/event/transform.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import List, Optional diff --git a/edgestream/models/network/__init__.py b/edgestream/models/network/__init__.py index e69de29..924ff82 100644 --- a/edgestream/models/network/__init__.py +++ b/edgestream/models/network/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/models/network/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/models/network/dns_client.py b/edgestream/models/network/dns_client.py index e9c2d67..fdf2c75 100644 --- a/edgestream/models/network/dns_client.py +++ b/edgestream/models/network/dns_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/network/dns_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from sqlalchemy import String, Integer, DateTime, UniqueConstraint, func diff --git a/edgestream/models/network/dns_forwarder.py b/edgestream/models/network/dns_forwarder.py index 339f2bc..94fa9e4 100644 --- a/edgestream/models/network/dns_forwarder.py +++ b/edgestream/models/network/dns_forwarder.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/network/dns_forwarder.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from sqlalchemy import String, Integer, DateTime, func diff --git a/edgestream/models/network/ip_management.py b/edgestream/models/network/ip_management.py index 8d1d8d0..aadeadc 100644 --- a/edgestream/models/network/ip_management.py +++ b/edgestream/models/network/ip_management.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/network/ip_management.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from typing import Optional diff --git a/edgestream/models/network/ntp_client.py b/edgestream/models/network/ntp_client.py index 0cab8a1..992064a 100644 --- a/edgestream/models/network/ntp_client.py +++ b/edgestream/models/network/ntp_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/network/ntp_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from sqlalchemy import String, Integer, DateTime, UniqueConstraint, func diff --git a/edgestream/models/network/static_host.py b/edgestream/models/network/static_host.py index 2f2c822..fb7991e 100644 --- a/edgestream/models/network/static_host.py +++ b/edgestream/models/network/static_host.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/network/static_host.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from sqlalchemy import String, Integer, DateTime, func diff --git a/edgestream/models/network/static_route.py b/edgestream/models/network/static_route.py index f53e081..1e8bfa0 100644 --- a/edgestream/models/network/static_route.py +++ b/edgestream/models/network/static_route.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/network/static_route.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from typing import Optional diff --git a/edgestream/models/network/vpn_client.py b/edgestream/models/network/vpn_client.py index f427162..a1d4bb5 100644 --- a/edgestream/models/network/vpn_client.py +++ b/edgestream/models/network/vpn_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/network/vpn_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import hashlib import re diff --git a/edgestream/models/system/__init__.py b/edgestream/models/system/__init__.py index e69de29..74d65d7 100644 --- a/edgestream/models/system/__init__.py +++ b/edgestream/models/system/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/models/system/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/models/system/advanced_setting.py b/edgestream/models/system/advanced_setting.py index c057f2e..13bcd13 100644 --- a/edgestream/models/system/advanced_setting.py +++ b/edgestream/models/system/advanced_setting.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/system/advanced_setting.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime diff --git a/edgestream/models/system/audit.py b/edgestream/models/system/audit.py index e285375..5b14d08 100644 --- a/edgestream/models/system/audit.py +++ b/edgestream/models/system/audit.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/system/audit.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from typing import Optional, Any, Dict diff --git a/edgestream/models/system/backup.py b/edgestream/models/system/backup.py index de6158e..eb6c6b3 100644 --- a/edgestream/models/system/backup.py +++ b/edgestream/models/system/backup.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/system/backup.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from typing import Optional diff --git a/edgestream/models/system/certificate_store.py b/edgestream/models/system/certificate_store.py index b864062..9724bf2 100644 --- a/edgestream/models/system/certificate_store.py +++ b/edgestream/models/system/certificate_store.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/system/certificate_store.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # models/system/certificate_store.py from datetime import datetime from typing import Optional diff --git a/edgestream/models/system/log_viewer.py b/edgestream/models/system/log_viewer.py index 4cbd76b..e2f4f23 100644 --- a/edgestream/models/system/log_viewer.py +++ b/edgestream/models/system/log_viewer.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/system/log_viewer.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from typing import Optional diff --git a/edgestream/models/system/system.py b/edgestream/models/system/system.py index 6cfdc15..211ee84 100644 --- a/edgestream/models/system/system.py +++ b/edgestream/models/system/system.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/system/system.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime diff --git a/edgestream/models/system/task.py b/edgestream/models/system/task.py index 2ce63d1..7d0d197 100644 --- a/edgestream/models/system/task.py +++ b/edgestream/models/system/task.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/system/task.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import enum from datetime import datetime diff --git a/edgestream/models/system/user.py b/edgestream/models/system/user.py index ab54dc6..84d963c 100644 --- a/edgestream/models/system/user.py +++ b/edgestream/models/system/user.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/models/system/user.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from typing import Optional diff --git a/edgestream/schemas/base.py b/edgestream/schemas/base.py index bc752e4..a197d74 100644 --- a/edgestream/schemas/base.py +++ b/edgestream/schemas/base.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/base.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/core/schemas/base.py from pydantic import BaseModel, ConfigDict, Field from typing import Optional diff --git a/edgestream/schemas/event/__init__.py b/edgestream/schemas/event/__init__.py index e69de29..cf5c00c 100644 --- a/edgestream/schemas/event/__init__.py +++ b/edgestream/schemas/event/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/schemas/event/destination.py b/edgestream/schemas/event/destination.py index 02c66e5..3abe9da 100644 --- a/edgestream/schemas/event/destination.py +++ b/edgestream/schemas/event/destination.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/destination.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Optional, Any from pydantic import BaseModel, ConfigDict diff --git a/edgestream/schemas/event/destination_bodies.py b/edgestream/schemas/event/destination_bodies.py index 6116244..db62337 100644 --- a/edgestream/schemas/event/destination_bodies.py +++ b/edgestream/schemas/event/destination_bodies.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/destination_bodies.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/event/destination_parameter.py b/edgestream/schemas/event/destination_parameter.py index 060e7ed..8080adf 100644 --- a/edgestream/schemas/event/destination_parameter.py +++ b/edgestream/schemas/event/destination_parameter.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/destination_parameter.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import json from typing import Optional, Any from pydantic import Field, field_validator, ConfigDict diff --git a/edgestream/schemas/event/destination_route.py b/edgestream/schemas/event/destination_route.py index e013c31..59f69bc 100644 --- a/edgestream/schemas/event/destination_route.py +++ b/edgestream/schemas/event/destination_route.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/destination_route.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import Field from typing import Optional diff --git a/edgestream/schemas/event/destination_route_bodies.py b/edgestream/schemas/event/destination_route_bodies.py index bc27ca5..34df547 100644 --- a/edgestream/schemas/event/destination_route_bodies.py +++ b/edgestream/schemas/event/destination_route_bodies.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/destination_route_bodies.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/event/source.py b/edgestream/schemas/event/source.py index 0258101..2eef3f7 100644 --- a/edgestream/schemas/event/source.py +++ b/edgestream/schemas/event/source.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/source.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, List from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/event/source_bodies.py b/edgestream/schemas/event/source_bodies.py index efd8631..e0004ea 100644 --- a/edgestream/schemas/event/source_bodies.py +++ b/edgestream/schemas/event/source_bodies.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/source_bodies.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/event/source_parameter.py b/edgestream/schemas/event/source_parameter.py index ee926f0..3b3a17a 100644 --- a/edgestream/schemas/event/source_parameter.py +++ b/edgestream/schemas/event/source_parameter.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/source_parameter.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, Any from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/event/syslog.py b/edgestream/schemas/event/syslog.py index e86b5a1..5024e7f 100644 --- a/edgestream/schemas/event/syslog.py +++ b/edgestream/schemas/event/syslog.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/syslog.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import List, Optional from enum import Enum from pydantic import Field, field_validator diff --git a/edgestream/schemas/event/transform.py b/edgestream/schemas/event/transform.py index 9ca2906..765e3d2 100644 --- a/edgestream/schemas/event/transform.py +++ b/edgestream/schemas/event/transform.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/transform.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, List from pydantic import Field, field_validator, ConfigDict diff --git a/edgestream/schemas/event/transform_bodies.py b/edgestream/schemas/event/transform_bodies.py index d9e1103..7b77e97 100644 --- a/edgestream/schemas/event/transform_bodies.py +++ b/edgestream/schemas/event/transform_bodies.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/event/transform_bodies.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/network/__init__.py b/edgestream/schemas/network/__init__.py index e69de29..179d991 100644 --- a/edgestream/schemas/network/__init__.py +++ b/edgestream/schemas/network/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/schemas/network/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/schemas/network/dns_client.py b/edgestream/schemas/network/dns_client.py index 317580f..456e923 100644 --- a/edgestream/schemas/network/dns_client.py +++ b/edgestream/schemas/network/dns_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/network/dns_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/network/dns_forwarder.py b/edgestream/schemas/network/dns_forwarder.py index 1dd3d63..02d9c50 100644 --- a/edgestream/schemas/network/dns_forwarder.py +++ b/edgestream/schemas/network/dns_forwarder.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/network/dns_forwarder.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, List from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/network/ip_management.py b/edgestream/schemas/network/ip_management.py index 9363a38..28b4cfc 100644 --- a/edgestream/schemas/network/ip_management.py +++ b/edgestream/schemas/network/ip_management.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/network/ip_management.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import Optional diff --git a/edgestream/schemas/network/ntp_client.py b/edgestream/schemas/network/ntp_client.py index 409368e..7990331 100644 --- a/edgestream/schemas/network/ntp_client.py +++ b/edgestream/schemas/network/ntp_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/network/ntp_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/network/static_host.py b/edgestream/schemas/network/static_host.py index 797f375..099144b 100644 --- a/edgestream/schemas/network/static_host.py +++ b/edgestream/schemas/network/static_host.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/network/static_host.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/network/static_route.py b/edgestream/schemas/network/static_route.py index 4372af6..eea4707 100644 --- a/edgestream/schemas/network/static_route.py +++ b/edgestream/schemas/network/static_route.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/network/static_route.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/network/vpn_client.py b/edgestream/schemas/network/vpn_client.py index 5dc1b75..31e9e06 100644 --- a/edgestream/schemas/network/vpn_client.py +++ b/edgestream/schemas/network/vpn_client.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/network/vpn_client.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from fastapi import HTTPException, status diff --git a/edgestream/schemas/system/__init__.py b/edgestream/schemas/system/__init__.py index e69de29..0ef9ddb 100644 --- a/edgestream/schemas/system/__init__.py +++ b/edgestream/schemas/system/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/schemas/system/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/schemas/system/advanced_setting.py b/edgestream/schemas/system/advanced_setting.py index 449ac95..40e5541 100644 --- a/edgestream/schemas/system/advanced_setting.py +++ b/edgestream/schemas/system/advanced_setting.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/system/advanced_setting.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, List from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/system/backup.py b/edgestream/schemas/system/backup.py index a9fc2fe..d60dd1f 100644 --- a/edgestream/schemas/system/backup.py +++ b/edgestream/schemas/system/backup.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/system/backup.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, List from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/system/certificate_store.py b/edgestream/schemas/system/certificate_store.py index 1afc18a..83aa22b 100644 --- a/edgestream/schemas/system/certificate_store.py +++ b/edgestream/schemas/system/certificate_store.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/system/certificate_store.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from datetime import datetime from enum import Enum from typing import Optional, List diff --git a/edgestream/schemas/system/log_viewer.py b/edgestream/schemas/system/log_viewer.py index 11f54c4..5adb1d1 100644 --- a/edgestream/schemas/system/log_viewer.py +++ b/edgestream/schemas/system/log_viewer.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/system/log_viewer.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import Field from typing import Optional diff --git a/edgestream/schemas/system/system.py b/edgestream/schemas/system/system.py index c4a7004..218bacd 100644 --- a/edgestream/schemas/system/system.py +++ b/edgestream/schemas/system/system.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/system/system.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from enum import Enum from typing import Optional, List from pydantic import Field, ConfigDict diff --git a/edgestream/schemas/system/task.py b/edgestream/schemas/system/task.py index fd34c86..457cf7b 100644 --- a/edgestream/schemas/system/task.py +++ b/edgestream/schemas/system/task.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/system/task.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from datetime import datetime from typing import Optional diff --git a/edgestream/schemas/system/update.py b/edgestream/schemas/system/update.py index 673c61b..9fae667 100644 --- a/edgestream/schemas/system/update.py +++ b/edgestream/schemas/system/update.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/system/update.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Optional, List from pydantic import Field from edgestream.schemas.base import ESBaseModel diff --git a/edgestream/schemas/system/user.py b/edgestream/schemas/system/user.py index c3e7e10..5679456 100644 --- a/edgestream/schemas/system/user.py +++ b/edgestream/schemas/system/user.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/system/user.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import re diff --git a/edgestream/schemas/value/__init__.py b/edgestream/schemas/value/__init__.py index e69de29..2674d55 100644 --- a/edgestream/schemas/value/__init__.py +++ b/edgestream/schemas/value/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/schemas/value/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/schemas/value/advanced_settings_response.py b/edgestream/schemas/value/advanced_settings_response.py index 15ad64d..b01f5b6 100644 --- a/edgestream/schemas/value/advanced_settings_response.py +++ b/edgestream/schemas/value/advanced_settings_response.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/value/advanced_settings_response.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import BaseModel diff --git a/edgestream/schemas/value/certs_response.py b/edgestream/schemas/value/certs_response.py index 2dc71b6..c241bd9 100644 --- a/edgestream/schemas/value/certs_response.py +++ b/edgestream/schemas/value/certs_response.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/value/certs_response.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import BaseModel diff --git a/edgestream/schemas/value/service_response.py b/edgestream/schemas/value/service_response.py index a27cd1e..269b259 100644 --- a/edgestream/schemas/value/service_response.py +++ b/edgestream/schemas/value/service_response.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/value/service_response.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import BaseModel diff --git a/edgestream/schemas/value/settings_config.py b/edgestream/schemas/value/settings_config.py index 265c6a5..9bc5183 100644 --- a/edgestream/schemas/value/settings_config.py +++ b/edgestream/schemas/value/settings_config.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/value/settings_config.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import Any, Dict, List, Optional, Literal, Union diff --git a/edgestream/schemas/value/syslog_response.py b/edgestream/schemas/value/syslog_response.py index b257cc3..56eb6a4 100644 --- a/edgestream/schemas/value/syslog_response.py +++ b/edgestream/schemas/value/syslog_response.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/value/syslog_response.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import BaseModel diff --git a/edgestream/schemas/value/system_response.py b/edgestream/schemas/value/system_response.py index c73481e..e9dba8b 100644 --- a/edgestream/schemas/value/system_response.py +++ b/edgestream/schemas/value/system_response.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/value/system_response.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import BaseModel from edgestream.schemas.system.system import InterfaceTypes diff --git a/edgestream/schemas/value/user_response.py b/edgestream/schemas/value/user_response.py index be862b9..b68dcee 100644 --- a/edgestream/schemas/value/user_response.py +++ b/edgestream/schemas/value/user_response.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/value/user_response.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import BaseModel diff --git a/edgestream/schemas/value/vpn_response.py b/edgestream/schemas/value/vpn_response.py index 174b40d..31b92a6 100644 --- a/edgestream/schemas/value/vpn_response.py +++ b/edgestream/schemas/value/vpn_response.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/schemas/value/vpn_response.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from pydantic import BaseModel diff --git a/edgestream/services/__init__.py b/edgestream/services/__init__.py index e69de29..ac507bd 100644 --- a/edgestream/services/__init__.py +++ b/edgestream/services/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/services/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/services/apt_helpers.py b/edgestream/services/apt_helpers.py index 780ebc6..8dd9496 100644 --- a/edgestream/services/apt_helpers.py +++ b/edgestream/services/apt_helpers.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/apt_helpers.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import re diff --git a/edgestream/services/auth/__init__.py b/edgestream/services/auth/__init__.py index e69de29..4ff317d 100644 --- a/edgestream/services/auth/__init__.py +++ b/edgestream/services/auth/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/services/auth/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/services/auth/auth.py b/edgestream/services/auth/auth.py index 6908480..fd0d081 100644 --- a/edgestream/services/auth/auth.py +++ b/edgestream/services/auth/auth.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/auth/auth.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import pyotp diff --git a/edgestream/services/auth/security.py b/edgestream/services/auth/security.py index f50736b..9a62ee4 100644 --- a/edgestream/services/auth/security.py +++ b/edgestream/services/auth/security.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/auth/security.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import uuid diff --git a/edgestream/services/background/__init__.py b/edgestream/services/background/__init__.py index e69de29..0fd3dcb 100644 --- a/edgestream/services/background/__init__.py +++ b/edgestream/services/background/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/services/background/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/services/background/ansible_tasks.py b/edgestream/services/background/ansible_tasks.py index 6dcaf89..3ef0fc3 100644 --- a/edgestream/services/background/ansible_tasks.py +++ b/edgestream/services/background/ansible_tasks.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/background/ansible_tasks.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import os diff --git a/edgestream/services/background/audit_tasks.py b/edgestream/services/background/audit_tasks.py index 45d385f..3e59dd7 100644 --- a/edgestream/services/background/audit_tasks.py +++ b/edgestream/services/background/audit_tasks.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/background/audit_tasks.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from typing import Any, Dict, Optional from fastapi import Request, BackgroundTasks from sqlalchemy.orm import sessionmaker diff --git a/edgestream/services/backup/__init__.py b/edgestream/services/backup/__init__.py index e69de29..0b9acb2 100644 --- a/edgestream/services/backup/__init__.py +++ b/edgestream/services/backup/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/services/backup/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/services/backup/providers.py b/edgestream/services/backup/providers.py index ba61fe1..d2bae10 100644 --- a/edgestream/services/backup/providers.py +++ b/edgestream/services/backup/providers.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/backup/providers.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/core/system/backup/providers.py from __future__ import annotations diff --git a/edgestream/services/backup/run.py b/edgestream/services/backup/run.py index 0a93bca..d75be48 100644 --- a/edgestream/services/backup/run.py +++ b/edgestream/services/backup/run.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/backup/run.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import os from datetime import datetime diff --git a/edgestream/services/config/__init__.py b/edgestream/services/config/__init__.py index e69de29..6041901 100644 --- a/edgestream/services/config/__init__.py +++ b/edgestream/services/config/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/services/config/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/services/config/exporter.py b/edgestream/services/config/exporter.py index 15dd82a..cd1e956 100644 --- a/edgestream/services/config/exporter.py +++ b/edgestream/services/config/exporter.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/config/exporter.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import io diff --git a/edgestream/services/config/importer.py b/edgestream/services/config/importer.py index 948ab92..dcce198 100644 --- a/edgestream/services/config/importer.py +++ b/edgestream/services/config/importer.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/config/importer.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import sqlite3 diff --git a/edgestream/services/database_backup.py b/edgestream/services/database_backup.py index e14b43b..6697445 100644 --- a/edgestream/services/database_backup.py +++ b/edgestream/services/database_backup.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/database_backup.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import os diff --git a/edgestream/services/hostname.py b/edgestream/services/hostname.py index 08e7229..9db1752 100644 --- a/edgestream/services/hostname.py +++ b/edgestream/services/hostname.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/hostname.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import socket from typing import Optional diff --git a/edgestream/services/interfaces.py b/edgestream/services/interfaces.py index eddaa71..041ca77 100644 --- a/edgestream/services/interfaces.py +++ b/edgestream/services/interfaces.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/interfaces.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import os import socket import psutil diff --git a/edgestream/services/middleware.py b/edgestream/services/middleware.py index f02d213..a162ec2 100644 --- a/edgestream/services/middleware.py +++ b/edgestream/services/middleware.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/middleware.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import uuid import re from starlette.types import ASGIApp, Scope, Receive, Send diff --git a/edgestream/services/network_summary.py b/edgestream/services/network_summary.py index de1a7a0..6c361b5 100644 --- a/edgestream/services/network_summary.py +++ b/edgestream/services/network_summary.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/network_summary.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import json diff --git a/edgestream/services/partitions.py b/edgestream/services/partitions.py index 3277348..1c9ff63 100644 --- a/edgestream/services/partitions.py +++ b/edgestream/services/partitions.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/partitions.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import os diff --git a/edgestream/services/port_manager.py b/edgestream/services/port_manager.py index 5f822a2..06623cc 100644 --- a/edgestream/services/port_manager.py +++ b/edgestream/services/port_manager.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/port_manager.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from fastapi import HTTPException from edgestream import crud diff --git a/edgestream/services/timezone.py b/edgestream/services/timezone.py index 90a38b0..68a8eb4 100644 --- a/edgestream/services/timezone.py +++ b/edgestream/services/timezone.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/timezone.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import pytz diff --git a/edgestream/services/uptime.py b/edgestream/services/uptime.py index 63fb5fd..63c782d 100644 --- a/edgestream/services/uptime.py +++ b/edgestream/services/uptime.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/uptime.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import datetime diff --git a/edgestream/services/user.py b/edgestream/services/user.py index e2d17e6..54a40d7 100644 --- a/edgestream/services/user.py +++ b/edgestream/services/user.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/user.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import datetime diff --git a/edgestream/services/vpn.py b/edgestream/services/vpn.py index bab8a93..37829c7 100644 --- a/edgestream/services/vpn.py +++ b/edgestream/services/vpn.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/vpn.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import os diff --git a/edgestream/services/vpn_helpers.py b/edgestream/services/vpn_helpers.py index 4605661..e3c4cef 100644 --- a/edgestream/services/vpn_helpers.py +++ b/edgestream/services/vpn_helpers.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/vpn_helpers.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations import subprocess diff --git a/edgestream/services/vrl_parser.py b/edgestream/services/vrl_parser.py index 7469620..ffbbabc 100644 --- a/edgestream/services/vrl_parser.py +++ b/edgestream/services/vrl_parser.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/services/vrl_parser.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import Any, Dict, List, Union diff --git a/edgestream/tests/__init__.py b/edgestream/tests/__init__.py index e69de29..41db135 100644 --- a/edgestream/tests/__init__.py +++ b/edgestream/tests/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/tests/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/tests/conftest.py b/edgestream/tests/conftest.py index 69a49ea..baebc5c 100644 --- a/edgestream/tests/conftest.py +++ b/edgestream/tests/conftest.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/tests/conftest.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/tests/conftest.py import os import pytest diff --git a/edgestream/tests/test_auth.py b/edgestream/tests/test_auth.py index b54bdd9..fd914a9 100644 --- a/edgestream/tests/test_auth.py +++ b/edgestream/tests/test_auth.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/tests/test_auth.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/tests/test_auth.py from edgestream.core.config import settings diff --git a/edgestream/tests/test_openapi.py b/edgestream/tests/test_openapi.py index 687e08c..369fa95 100644 --- a/edgestream/tests/test_openapi.py +++ b/edgestream/tests/test_openapi.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/tests/test_openapi.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/tests/test_openapi.py from edgestream.core.config import settings diff --git a/edgestream/tests/test_routes_smoke.py b/edgestream/tests/test_routes_smoke.py index 5af0cf1..0fd565f 100644 --- a/edgestream/tests/test_routes_smoke.py +++ b/edgestream/tests/test_routes_smoke.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/tests/test_routes_smoke.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/tests/test_routes_smoke.py from fastapi.routing import APIRoute from starlette.routing import WebSocketRoute, Mount diff --git a/edgestream/tests/test_status.py b/edgestream/tests/test_status.py index 7f46fe7..2ad61c6 100644 --- a/edgestream/tests/test_status.py +++ b/edgestream/tests/test_status.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/tests/test_status.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/tests/test_status.py from edgestream.core.config import settings diff --git a/edgestream/tests/test_system.py b/edgestream/tests/test_system.py index 22da933..fe12fb7 100644 --- a/edgestream/tests/test_system.py +++ b/edgestream/tests/test_system.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/tests/test_system.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/tests/test_system.py from edgestream.core.config import settings diff --git a/edgestream/tests/test_system_settings.py b/edgestream/tests/test_system_settings.py index f4b449c..80d54ec 100644 --- a/edgestream/tests/test_system_settings.py +++ b/edgestream/tests/test_system_settings.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/tests/test_system_settings.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + # edgestream/tests/test_system_settings.py import os, sys, time from pathlib import Path diff --git a/edgestream/utils/CONSTANTS.py b/edgestream/utils/CONSTANTS.py index db8bdb9..e8dab2f 100644 --- a/edgestream/utils/CONSTANTS.py +++ b/edgestream/utils/CONSTANTS.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/utils/CONSTANTS.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + class Constants: INTERFACE_ORDERED_COLUMNS = [ "name", diff --git a/edgestream/utils/__init__.py b/edgestream/utils/__init__.py index e69de29..1207732 100644 --- a/edgestream/utils/__init__.py +++ b/edgestream/utils/__init__.py @@ -0,0 +1,9 @@ +""" +Project: edgestream-api +File: edgestream/utils/__init__.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + diff --git a/edgestream/utils/conversions.py b/edgestream/utils/conversions.py index 950ea07..7f63fbd 100644 --- a/edgestream/utils/conversions.py +++ b/edgestream/utils/conversions.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/utils/conversions.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + def bytes_to_human_readable(size, decimals=2, binary_system=True): units = ( ["B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB"] diff --git a/edgestream/utils/formatters.py b/edgestream/utils/formatters.py index 6414e77..bec13af 100644 --- a/edgestream/utils/formatters.py +++ b/edgestream/utils/formatters.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/utils/formatters.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import os import json import copy diff --git a/edgestream/utils/validators.py b/edgestream/utils/validators.py index 532b76f..307f48d 100644 --- a/edgestream/utils/validators.py +++ b/edgestream/utils/validators.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/utils/validators.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + import re import ipaddress import bleach diff --git a/edgestream/wec/models.py b/edgestream/wec/models.py index 61c3169..daaa1c9 100644 --- a/edgestream/wec/models.py +++ b/edgestream/wec/models.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/wec/models.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import List, Optional from pydantic import BaseModel, Field, field_validator diff --git a/edgestream/wec/repo.py b/edgestream/wec/repo.py index 204c0ff..4b99cca 100644 --- a/edgestream/wec/repo.py +++ b/edgestream/wec/repo.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/wec/repo.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import List, Optional, Any, Dict import json diff --git a/edgestream/wec/service.py b/edgestream/wec/service.py index d137c9c..e034279 100644 --- a/edgestream/wec/service.py +++ b/edgestream/wec/service.py @@ -1,3 +1,12 @@ +""" +Project: edgestream-api +File: edgestream/wec/service.py +Language: Python + +License: BUSL-1.1 +Copyright: (c) 2026 HYPERI PTY LIMITED +""" + from __future__ import annotations from typing import List import anyio