sms-office
The SMS Security Management System — core Python library.
Packaged from the SMS codebase (backend/sms_security/) so the backend logic can be
installed, imported, and tested as a normal Python library.
Install
pip install -e . # dev install (editable)
pip install . # regular install
Optional brain-engine extras (φ-lang v6):
pip install .[brain]
Usage
from sms_security import SecurityController
from sms_security.db import Database
from sms_security.auth import hash_password, verify_password
What's inside
| Module | What it is |
|---|---|
sms_security.auth |
Password hashing (bcrypt), JWT issue/verify, API keys |
sms_security.db |
PostgreSQL access layer (DSN from env) |
sms_security.models |
Domain models: guards, shifts, locations, incidents, dispatch, alarms |
sms_security.services |
Business logic: compliance, admissibility, dispatch, driver tracking, analytics |
sms_security.integrations |
Plugin framework (google, trello, notion, sage, mailchimp, brightpay) |
sms_security.controller |
SecurityController — main orchestrator (optional allschills brain) |
Config (environment)
| Env var | Default | Purpose |
|---|---|---|
DATABASE_URL |
dev-local DSN | PostgreSQL connection |
REDIS_URL |
redis://localhost:6379 |
Cache/queue |
JWT_SECRET |
dev fallback | Token signing — set in production |
SERVER_PORT |
8500 |
HTTP server port |
Tests
pip install -e .[test]
pytest
Source
Built from the SMS codebase — corrections to the library land in this repo so later updates are applied perfectly.
Not included (by design): signing keystore (key.properties / *.jks),
runtime data, build artifacts.
Release files for sms-office 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sms_office-0.1.0.tar.gz | 353.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sms_office-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 751.2 kB
Release files / sms_office-0.1.0.tar.gz
| Download URL | sms_office-0.1.0.tar.gz |
|---|---|
| Size | 353.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c269661b38343ac6afb8ad970f2c367d58ecfbd809ffde96484a0c0c6db5c5d
|
|
BLAKE2b-256 checksum How to use checksums |
f5b28ad8961ddef174c7d82e57ea16320cbcc84cb5352c1855e598e345c92b77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / sms_office-0.1.0-py3-none-any.whl
| Download URL | sms_office-0.1.0-py3-none-any.whl |
|---|---|
| Size | 397.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f17b0d31a40faa7a546afe8802e493ef4752fcae7c3eab8d9412fa50e27d9d1
|
|
BLAKE2b-256 checksum How to use checksums |
b8c744f4432520a94c375b89e11eee950c4da4cfc252e54f5b92ba23e1af8f60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|