Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sms-office 0.1.1
File Size Uploaded
sms_office-0.1.1.tar.gz 354.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sms-office 0.1.1
File Interpreter ABI Platform
sms_office-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 751.9 kB

Release files / sms_office-0.1.1.tar.gz

Download URL sms_office-0.1.1.tar.gz
Size 354.0 kB
Tags Source
SHA-256 checksum
How to use checksums
54fffff5eacca6f3b911ea676e7b5c2e14be5ce3c873f930f1e201effd53686b
BLAKE2b-256 checksum
How to use checksums
b82cbc6298405da929fdc1dabda15d8d1214f7d2abaa549c181f592bf0f505fd
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.1-py3-none-any.whl

Download URL sms_office-0.1.1-py3-none-any.whl
Size 397.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65882875d17b914d8fb3d80df91855255f5335053d6b3f5a8be5fd4faa6f077e
BLAKE2b-256 checksum
How to use checksums
b1aaf2c473d303ac95c0c350c0018789b42f95dc7fcdb752c00e4d51675165ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release history Release notifications | RSS feed

0.1.9

1 release file

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page