sms-office 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sms_office-0.1.0/PKG-INFO +81 -0
- sms_office-0.1.0/README.md +62 -0
- sms_office-0.1.0/pyproject.toml +26 -0
- sms_office-0.1.0/setup.cfg +4 -0
- sms_office-0.1.0/sms_office.egg-info/PKG-INFO +81 -0
- sms_office-0.1.0/sms_office.egg-info/SOURCES.txt +100 -0
- sms_office-0.1.0/sms_office.egg-info/dependency_links.txt +1 -0
- sms_office-0.1.0/sms_office.egg-info/requires.txt +14 -0
- sms_office-0.1.0/sms_office.egg-info/top_level.txt +1 -0
- sms_office-0.1.0/sms_security/__init__.py +33 -0
- sms_office-0.1.0/sms_security/atoms.py +319 -0
- sms_office-0.1.0/sms_security/auth.py +742 -0
- sms_office-0.1.0/sms_security/config.py +76 -0
- sms_office-0.1.0/sms_security/controller.py +898 -0
- sms_office-0.1.0/sms_security/db.py +637 -0
- sms_office-0.1.0/sms_security/integrations/__init__.py +255 -0
- sms_office-0.1.0/sms_security/integrations/plugins/brightpay/__init__.py +32 -0
- sms_office-0.1.0/sms_security/integrations/plugins/google/__init__.py +68 -0
- sms_office-0.1.0/sms_security/integrations/plugins/mailchimp/__init__.py +76 -0
- sms_office-0.1.0/sms_security/integrations/plugins/notion/__init__.py +96 -0
- sms_office-0.1.0/sms_security/integrations/plugins/sage/__init__.py +55 -0
- sms_office-0.1.0/sms_security/integrations/plugins/trello/__init__.py +152 -0
- sms_office-0.1.0/sms_security/integrations/plugins/twilio/__init__.py +76 -0
- sms_office-0.1.0/sms_security/models.py +424 -0
- sms_office-0.1.0/sms_security/portal.py +125 -0
- sms_office-0.1.0/sms_security/scoped_auth.py +140 -0
- sms_office-0.1.0/sms_security/services/__init__.py +9 -0
- sms_office-0.1.0/sms_security/services/admin_assistant.py +318 -0
- sms_office-0.1.0/sms_security/services/admissibility.py +301 -0
- sms_office-0.1.0/sms_security/services/agent_profile.py +490 -0
- sms_office-0.1.0/sms_security/services/analytics.py +359 -0
- sms_office-0.1.0/sms_security/services/apns_sender.py +241 -0
- sms_office-0.1.0/sms_security/services/atomic_write.py +77 -0
- sms_office-0.1.0/sms_security/services/bridge_auth.py +169 -0
- sms_office-0.1.0/sms_security/services/c19_drop_decomposition.py +275 -0
- sms_office-0.1.0/sms_security/services/camera.py +487 -0
- sms_office-0.1.0/sms_security/services/compliance.py +661 -0
- sms_office-0.1.0/sms_security/services/compliance_readiness.py +332 -0
- sms_office-0.1.0/sms_security/services/contract.py +26 -0
- sms_office-0.1.0/sms_security/services/core.py +342 -0
- sms_office-0.1.0/sms_security/services/credit.py +598 -0
- sms_office-0.1.0/sms_security/services/data_boundary.py +370 -0
- sms_office-0.1.0/sms_security/services/deliveries.py +83 -0
- sms_office-0.1.0/sms_security/services/density_validation.py +74 -0
- sms_office-0.1.0/sms_security/services/dispatch.py +203 -0
- sms_office-0.1.0/sms_security/services/dispatcher.py +307 -0
- sms_office-0.1.0/sms_security/services/driver_dispatch.py +119 -0
- sms_office-0.1.0/sms_security/services/driver_tracking.py +212 -0
- sms_office-0.1.0/sms_security/services/engine_spec.py +876 -0
- sms_office-0.1.0/sms_security/services/event_allocation.py +388 -0
- sms_office-0.1.0/sms_security/services/event_bus.py +863 -0
- sms_office-0.1.0/sms_security/services/finance.py +569 -0
- sms_office-0.1.0/sms_security/services/gate_g6_windows.py +116 -0
- sms_office-0.1.0/sms_security/services/gate_status.py +292 -0
- sms_office-0.1.0/sms_security/services/gdpr.py +503 -0
- sms_office-0.1.0/sms_security/services/gps_window.py +760 -0
- sms_office-0.1.0/sms_security/services/guard_pull.py +659 -0
- sms_office-0.1.0/sms_security/services/hr.py +276 -0
- sms_office-0.1.0/sms_security/services/idempotency.py +143 -0
- sms_office-0.1.0/sms_security/services/instrument_degrees.py +198 -0
- sms_office-0.1.0/sms_security/services/jarvis_agent.py +1068 -0
- sms_office-0.1.0/sms_security/services/journey.py +550 -0
- sms_office-0.1.0/sms_security/services/key_store.py +526 -0
- sms_office-0.1.0/sms_security/services/kit.py +298 -0
- sms_office-0.1.0/sms_security/services/ladder.py +283 -0
- sms_office-0.1.0/sms_security/services/list_contract.py +95 -0
- sms_office-0.1.0/sms_security/services/map_service.py +187 -0
- sms_office-0.1.0/sms_security/services/match_solver.py +443 -0
- sms_office-0.1.0/sms_security/services/meter_supervision.py +154 -0
- sms_office-0.1.0/sms_security/services/missed_start_bridge.py +137 -0
- sms_office-0.1.0/sms_security/services/onboarding.py +232 -0
- sms_office-0.1.0/sms_security/services/onboarding_compare.py +572 -0
- sms_office-0.1.0/sms_security/services/panic.py +538 -0
- sms_office-0.1.0/sms_security/services/pass2_streamed.py +190 -0
- sms_office-0.1.0/sms_security/services/poll_gate.py +751 -0
- sms_office-0.1.0/sms_security/services/probe.py +230 -0
- sms_office-0.1.0/sms_security/services/progressive_unlock.py +297 -0
- sms_office-0.1.0/sms_security/services/psa_compliance.py +540 -0
- sms_office-0.1.0/sms_security/services/ratelimit.py +270 -0
- sms_office-0.1.0/sms_security/services/read_model.py +342 -0
- sms_office-0.1.0/sms_security/services/receipt.py +528 -0
- sms_office-0.1.0/sms_security/services/rejection_bridge.py +110 -0
- sms_office-0.1.0/sms_security/services/replay.py +208 -0
- sms_office-0.1.0/sms_security/services/rideshare.py +585 -0
- sms_office-0.1.0/sms_security/services/rostering.py +967 -0
- sms_office-0.1.0/sms_security/services/route_scopes.py +470 -0
- sms_office-0.1.0/sms_security/services/schema_version.py +130 -0
- sms_office-0.1.0/sms_security/services/scope_resolver.py +397 -0
- sms_office-0.1.0/sms_security/services/shift_alert.py +341 -0
- sms_office-0.1.0/sms_security/services/shift_status.py +216 -0
- sms_office-0.1.0/sms_security/services/stress_test.py +1027 -0
- sms_office-0.1.0/sms_security/services/synthetic_dataset.py +632 -0
- sms_office-0.1.0/sms_security/services/tenant_bootstrap.py +168 -0
- sms_office-0.1.0/sms_security/services/tenant_time.py +99 -0
- sms_office-0.1.0/sms_security/services/trace.py +196 -0
- sms_office-0.1.0/sms_security/services/traceability.py +115 -0
- sms_office-0.1.0/sms_security/services/tracking_window.py +91 -0
- sms_office-0.1.0/sms_security/services/typed.py +86 -0
- sms_office-0.1.0/sms_security/services/usage_meter.py +129 -0
- sms_office-0.1.0/sms_security/services/whatsapp.py +557 -0
- sms_office-0.1.0/sms_security/services/whatsapp_bridge.py +110 -0
- sms_office-0.1.0/tests/test_smoke.py +38 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sms-office
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: SMS Office — the SMS Security Management System core library. Auth, guards, shifts, locations, dispatch, compliance, brain-state. PostgreSQL-backed.
|
|
5
|
+
Requires-Python: >=3.11
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: fastapi>=0.100
|
|
8
|
+
Requires-Dist: bcrypt>=4.0
|
|
9
|
+
Requires-Dist: pyjwt>=2.8
|
|
10
|
+
Requires-Dist: pydantic>=2.0
|
|
11
|
+
Requires-Dist: pyyaml>=6.0
|
|
12
|
+
Requires-Dist: psycopg2-binary>=2.9
|
|
13
|
+
Requires-Dist: redis>=5.0
|
|
14
|
+
Provides-Extra: brain
|
|
15
|
+
Requires-Dist: allschills>=1.5.0; extra == "brain"
|
|
16
|
+
Provides-Extra: test
|
|
17
|
+
Requires-Dist: pytest>=7; extra == "test"
|
|
18
|
+
Requires-Dist: requests>=2.28; extra == "test"
|
|
19
|
+
|
|
20
|
+
# sms-office
|
|
21
|
+
|
|
22
|
+
The SMS Security Management System — core Python library.
|
|
23
|
+
|
|
24
|
+
Packaged from the SMS codebase (`backend/sms_security/`) so the backend logic can be
|
|
25
|
+
installed, imported, and tested as a normal Python library.
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pip install -e . # dev install (editable)
|
|
31
|
+
pip install . # regular install
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Optional brain-engine extras (`φ-lang v6`):
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install .[brain]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
|
|
42
|
+
```python
|
|
43
|
+
from sms_security import SecurityController
|
|
44
|
+
from sms_security.db import Database
|
|
45
|
+
from sms_security.auth import hash_password, verify_password
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## What's inside
|
|
49
|
+
|
|
50
|
+
| Module | What it is |
|
|
51
|
+
|---|---|
|
|
52
|
+
| `sms_security.auth` | Password hashing (bcrypt), JWT issue/verify, API keys |
|
|
53
|
+
| `sms_security.db` | PostgreSQL access layer (DSN from env) |
|
|
54
|
+
| `sms_security.models` | Domain models: guards, shifts, locations, incidents, dispatch, alarms |
|
|
55
|
+
| `sms_security.services` | Business logic: compliance, admissibility, dispatch, driver tracking, analytics |
|
|
56
|
+
| `sms_security.integrations` | Plugin framework (google, trello, notion, sage, mailchimp, brightpay) |
|
|
57
|
+
| `sms_security.controller` | `SecurityController` — main orchestrator (optional allschills brain) |
|
|
58
|
+
|
|
59
|
+
## Config (environment)
|
|
60
|
+
|
|
61
|
+
| Env var | Default | Purpose |
|
|
62
|
+
|---|---|---|
|
|
63
|
+
| `DATABASE_URL` | dev-local DSN | PostgreSQL connection |
|
|
64
|
+
| `REDIS_URL` | `redis://localhost:6379` | Cache/queue |
|
|
65
|
+
| `JWT_SECRET` | dev fallback | Token signing — set in production |
|
|
66
|
+
| `SERVER_PORT` | `8500` | HTTP server port |
|
|
67
|
+
|
|
68
|
+
## Tests
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
pip install -e .[test]
|
|
72
|
+
pytest
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Source
|
|
76
|
+
|
|
77
|
+
Built from the SMS codebase — corrections to the library land in this repo so
|
|
78
|
+
later updates are applied perfectly.
|
|
79
|
+
|
|
80
|
+
**Not included (by design):** signing keystore (`key.properties` / `*.jks`),
|
|
81
|
+
runtime data, build artifacts.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# sms-office
|
|
2
|
+
|
|
3
|
+
The SMS Security Management System — core Python library.
|
|
4
|
+
|
|
5
|
+
Packaged from the SMS codebase (`backend/sms_security/`) so the backend logic can be
|
|
6
|
+
installed, imported, and tested as a normal Python library.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
pip install -e . # dev install (editable)
|
|
12
|
+
pip install . # regular install
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Optional brain-engine extras (`φ-lang v6`):
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pip install .[brain]
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```python
|
|
24
|
+
from sms_security import SecurityController
|
|
25
|
+
from sms_security.db import Database
|
|
26
|
+
from sms_security.auth import hash_password, verify_password
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## What's inside
|
|
30
|
+
|
|
31
|
+
| Module | What it is |
|
|
32
|
+
|---|---|
|
|
33
|
+
| `sms_security.auth` | Password hashing (bcrypt), JWT issue/verify, API keys |
|
|
34
|
+
| `sms_security.db` | PostgreSQL access layer (DSN from env) |
|
|
35
|
+
| `sms_security.models` | Domain models: guards, shifts, locations, incidents, dispatch, alarms |
|
|
36
|
+
| `sms_security.services` | Business logic: compliance, admissibility, dispatch, driver tracking, analytics |
|
|
37
|
+
| `sms_security.integrations` | Plugin framework (google, trello, notion, sage, mailchimp, brightpay) |
|
|
38
|
+
| `sms_security.controller` | `SecurityController` — main orchestrator (optional allschills brain) |
|
|
39
|
+
|
|
40
|
+
## Config (environment)
|
|
41
|
+
|
|
42
|
+
| Env var | Default | Purpose |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| `DATABASE_URL` | dev-local DSN | PostgreSQL connection |
|
|
45
|
+
| `REDIS_URL` | `redis://localhost:6379` | Cache/queue |
|
|
46
|
+
| `JWT_SECRET` | dev fallback | Token signing — set in production |
|
|
47
|
+
| `SERVER_PORT` | `8500` | HTTP server port |
|
|
48
|
+
|
|
49
|
+
## Tests
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
pip install -e .[test]
|
|
53
|
+
pytest
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Source
|
|
57
|
+
|
|
58
|
+
Built from the SMS codebase — corrections to the library land in this repo so
|
|
59
|
+
later updates are applied perfectly.
|
|
60
|
+
|
|
61
|
+
**Not included (by design):** signing keystore (`key.properties` / `*.jks`),
|
|
62
|
+
runtime data, build artifacts.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "sms-office"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "SMS Office — the SMS Security Management System core library. Auth, guards, shifts, locations, dispatch, compliance, brain-state. PostgreSQL-backed."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.11"
|
|
7
|
+
dependencies = [
|
|
8
|
+
"fastapi>=0.100",
|
|
9
|
+
"bcrypt>=4.0",
|
|
10
|
+
"pyjwt>=2.8",
|
|
11
|
+
"pydantic>=2.0",
|
|
12
|
+
"pyyaml>=6.0",
|
|
13
|
+
"psycopg2-binary>=2.9",
|
|
14
|
+
"redis>=5.0",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
[project.optional-dependencies]
|
|
18
|
+
brain = ["allschills>=1.5.0"]
|
|
19
|
+
test = ["pytest>=7", "requests>=2.28"]
|
|
20
|
+
|
|
21
|
+
[tool.setuptools.packages.find]
|
|
22
|
+
where = ["."]
|
|
23
|
+
include = ["sms_security*"]
|
|
24
|
+
|
|
25
|
+
[tool.pytest.ini_options]
|
|
26
|
+
testpaths = ["tests"]
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sms-office
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: SMS Office — the SMS Security Management System core library. Auth, guards, shifts, locations, dispatch, compliance, brain-state. PostgreSQL-backed.
|
|
5
|
+
Requires-Python: >=3.11
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: fastapi>=0.100
|
|
8
|
+
Requires-Dist: bcrypt>=4.0
|
|
9
|
+
Requires-Dist: pyjwt>=2.8
|
|
10
|
+
Requires-Dist: pydantic>=2.0
|
|
11
|
+
Requires-Dist: pyyaml>=6.0
|
|
12
|
+
Requires-Dist: psycopg2-binary>=2.9
|
|
13
|
+
Requires-Dist: redis>=5.0
|
|
14
|
+
Provides-Extra: brain
|
|
15
|
+
Requires-Dist: allschills>=1.5.0; extra == "brain"
|
|
16
|
+
Provides-Extra: test
|
|
17
|
+
Requires-Dist: pytest>=7; extra == "test"
|
|
18
|
+
Requires-Dist: requests>=2.28; extra == "test"
|
|
19
|
+
|
|
20
|
+
# sms-office
|
|
21
|
+
|
|
22
|
+
The SMS Security Management System — core Python library.
|
|
23
|
+
|
|
24
|
+
Packaged from the SMS codebase (`backend/sms_security/`) so the backend logic can be
|
|
25
|
+
installed, imported, and tested as a normal Python library.
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pip install -e . # dev install (editable)
|
|
31
|
+
pip install . # regular install
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Optional brain-engine extras (`φ-lang v6`):
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install .[brain]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Usage
|
|
41
|
+
|
|
42
|
+
```python
|
|
43
|
+
from sms_security import SecurityController
|
|
44
|
+
from sms_security.db import Database
|
|
45
|
+
from sms_security.auth import hash_password, verify_password
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## What's inside
|
|
49
|
+
|
|
50
|
+
| Module | What it is |
|
|
51
|
+
|---|---|
|
|
52
|
+
| `sms_security.auth` | Password hashing (bcrypt), JWT issue/verify, API keys |
|
|
53
|
+
| `sms_security.db` | PostgreSQL access layer (DSN from env) |
|
|
54
|
+
| `sms_security.models` | Domain models: guards, shifts, locations, incidents, dispatch, alarms |
|
|
55
|
+
| `sms_security.services` | Business logic: compliance, admissibility, dispatch, driver tracking, analytics |
|
|
56
|
+
| `sms_security.integrations` | Plugin framework (google, trello, notion, sage, mailchimp, brightpay) |
|
|
57
|
+
| `sms_security.controller` | `SecurityController` — main orchestrator (optional allschills brain) |
|
|
58
|
+
|
|
59
|
+
## Config (environment)
|
|
60
|
+
|
|
61
|
+
| Env var | Default | Purpose |
|
|
62
|
+
|---|---|---|
|
|
63
|
+
| `DATABASE_URL` | dev-local DSN | PostgreSQL connection |
|
|
64
|
+
| `REDIS_URL` | `redis://localhost:6379` | Cache/queue |
|
|
65
|
+
| `JWT_SECRET` | dev fallback | Token signing — set in production |
|
|
66
|
+
| `SERVER_PORT` | `8500` | HTTP server port |
|
|
67
|
+
|
|
68
|
+
## Tests
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
pip install -e .[test]
|
|
72
|
+
pytest
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Source
|
|
76
|
+
|
|
77
|
+
Built from the SMS codebase — corrections to the library land in this repo so
|
|
78
|
+
later updates are applied perfectly.
|
|
79
|
+
|
|
80
|
+
**Not included (by design):** signing keystore (`key.properties` / `*.jks`),
|
|
81
|
+
runtime data, build artifacts.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
sms_office.egg-info/PKG-INFO
|
|
4
|
+
sms_office.egg-info/SOURCES.txt
|
|
5
|
+
sms_office.egg-info/dependency_links.txt
|
|
6
|
+
sms_office.egg-info/requires.txt
|
|
7
|
+
sms_office.egg-info/top_level.txt
|
|
8
|
+
sms_security/__init__.py
|
|
9
|
+
sms_security/atoms.py
|
|
10
|
+
sms_security/auth.py
|
|
11
|
+
sms_security/config.py
|
|
12
|
+
sms_security/controller.py
|
|
13
|
+
sms_security/db.py
|
|
14
|
+
sms_security/models.py
|
|
15
|
+
sms_security/portal.py
|
|
16
|
+
sms_security/scoped_auth.py
|
|
17
|
+
sms_security/integrations/__init__.py
|
|
18
|
+
sms_security/integrations/plugins/brightpay/__init__.py
|
|
19
|
+
sms_security/integrations/plugins/google/__init__.py
|
|
20
|
+
sms_security/integrations/plugins/mailchimp/__init__.py
|
|
21
|
+
sms_security/integrations/plugins/notion/__init__.py
|
|
22
|
+
sms_security/integrations/plugins/sage/__init__.py
|
|
23
|
+
sms_security/integrations/plugins/trello/__init__.py
|
|
24
|
+
sms_security/integrations/plugins/twilio/__init__.py
|
|
25
|
+
sms_security/services/__init__.py
|
|
26
|
+
sms_security/services/admin_assistant.py
|
|
27
|
+
sms_security/services/admissibility.py
|
|
28
|
+
sms_security/services/agent_profile.py
|
|
29
|
+
sms_security/services/analytics.py
|
|
30
|
+
sms_security/services/apns_sender.py
|
|
31
|
+
sms_security/services/atomic_write.py
|
|
32
|
+
sms_security/services/bridge_auth.py
|
|
33
|
+
sms_security/services/c19_drop_decomposition.py
|
|
34
|
+
sms_security/services/camera.py
|
|
35
|
+
sms_security/services/compliance.py
|
|
36
|
+
sms_security/services/compliance_readiness.py
|
|
37
|
+
sms_security/services/contract.py
|
|
38
|
+
sms_security/services/core.py
|
|
39
|
+
sms_security/services/credit.py
|
|
40
|
+
sms_security/services/data_boundary.py
|
|
41
|
+
sms_security/services/deliveries.py
|
|
42
|
+
sms_security/services/density_validation.py
|
|
43
|
+
sms_security/services/dispatch.py
|
|
44
|
+
sms_security/services/dispatcher.py
|
|
45
|
+
sms_security/services/driver_dispatch.py
|
|
46
|
+
sms_security/services/driver_tracking.py
|
|
47
|
+
sms_security/services/engine_spec.py
|
|
48
|
+
sms_security/services/event_allocation.py
|
|
49
|
+
sms_security/services/event_bus.py
|
|
50
|
+
sms_security/services/finance.py
|
|
51
|
+
sms_security/services/gate_g6_windows.py
|
|
52
|
+
sms_security/services/gate_status.py
|
|
53
|
+
sms_security/services/gdpr.py
|
|
54
|
+
sms_security/services/gps_window.py
|
|
55
|
+
sms_security/services/guard_pull.py
|
|
56
|
+
sms_security/services/hr.py
|
|
57
|
+
sms_security/services/idempotency.py
|
|
58
|
+
sms_security/services/instrument_degrees.py
|
|
59
|
+
sms_security/services/jarvis_agent.py
|
|
60
|
+
sms_security/services/journey.py
|
|
61
|
+
sms_security/services/key_store.py
|
|
62
|
+
sms_security/services/kit.py
|
|
63
|
+
sms_security/services/ladder.py
|
|
64
|
+
sms_security/services/list_contract.py
|
|
65
|
+
sms_security/services/map_service.py
|
|
66
|
+
sms_security/services/match_solver.py
|
|
67
|
+
sms_security/services/meter_supervision.py
|
|
68
|
+
sms_security/services/missed_start_bridge.py
|
|
69
|
+
sms_security/services/onboarding.py
|
|
70
|
+
sms_security/services/onboarding_compare.py
|
|
71
|
+
sms_security/services/panic.py
|
|
72
|
+
sms_security/services/pass2_streamed.py
|
|
73
|
+
sms_security/services/poll_gate.py
|
|
74
|
+
sms_security/services/probe.py
|
|
75
|
+
sms_security/services/progressive_unlock.py
|
|
76
|
+
sms_security/services/psa_compliance.py
|
|
77
|
+
sms_security/services/ratelimit.py
|
|
78
|
+
sms_security/services/read_model.py
|
|
79
|
+
sms_security/services/receipt.py
|
|
80
|
+
sms_security/services/rejection_bridge.py
|
|
81
|
+
sms_security/services/replay.py
|
|
82
|
+
sms_security/services/rideshare.py
|
|
83
|
+
sms_security/services/rostering.py
|
|
84
|
+
sms_security/services/route_scopes.py
|
|
85
|
+
sms_security/services/schema_version.py
|
|
86
|
+
sms_security/services/scope_resolver.py
|
|
87
|
+
sms_security/services/shift_alert.py
|
|
88
|
+
sms_security/services/shift_status.py
|
|
89
|
+
sms_security/services/stress_test.py
|
|
90
|
+
sms_security/services/synthetic_dataset.py
|
|
91
|
+
sms_security/services/tenant_bootstrap.py
|
|
92
|
+
sms_security/services/tenant_time.py
|
|
93
|
+
sms_security/services/trace.py
|
|
94
|
+
sms_security/services/traceability.py
|
|
95
|
+
sms_security/services/tracking_window.py
|
|
96
|
+
sms_security/services/typed.py
|
|
97
|
+
sms_security/services/usage_meter.py
|
|
98
|
+
sms_security/services/whatsapp.py
|
|
99
|
+
sms_security/services/whatsapp_bridge.py
|
|
100
|
+
tests/test_smoke.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
sms_security
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""SMS Security Management System
|
|
2
|
+
=================================================================
|
|
3
|
+
φ-lang v6 native. PostgreSQL + Redis + n8n.
|
|
4
|
+
WhatsApp location tracking, map dashboard, camera integration.
|
|
5
|
+
|
|
6
|
+
Usage:
|
|
7
|
+
from sms_security import SecurityController
|
|
8
|
+
from sms_security.db import Database
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from .models import (
|
|
12
|
+
Guard, GuardAvailability, GuardDesignation,
|
|
13
|
+
Location, Address, Unit, Checkpoint, NFCScan,
|
|
14
|
+
Shift, ClockEvent,
|
|
15
|
+
Incident, IssueType, IssueSeverity, AssignTarget,
|
|
16
|
+
Message, Dispatch, DispatchACK, Broadcast,
|
|
17
|
+
DumpRecovery, DumpRecoveryType,
|
|
18
|
+
AlarmJob, AlarmResponse, AlarmAction,
|
|
19
|
+
OfflineQueue, SyncQueue, BrainState,
|
|
20
|
+
)
|
|
21
|
+
from .atoms import ATOMS, BRAIN_TEMPLATES, BRAIN_PROGRAMS, PHI_SCRIPTS
|
|
22
|
+
from .db import Database
|
|
23
|
+
from .config import DATABASE_URL, REDIS_URL, SERVER_PORT
|
|
24
|
+
|
|
25
|
+
__version__ = "0.2.0"
|
|
26
|
+
|
|
27
|
+
__all__ = [
|
|
28
|
+
"Database",
|
|
29
|
+
"Guard", "Location", "Checkpoint", "NFCScan", "Shift",
|
|
30
|
+
"Incident", "Dispatch", "DumpRecovery", "AlarmJob",
|
|
31
|
+
"ATOMS", "BRAIN_TEMPLATES", "BRAIN_PROGRAMS",
|
|
32
|
+
"DATABASE_URL", "REDIS_URL", "SERVER_PORT",
|
|
33
|
+
]
|