How silentwolfproject/onewayswp-py works
OnewaySWP is a Python interface to a platform-specific native core for offline license issuance and verification. The main workflow is Admin loading or generating keys, creating a signed date/credit/duration license, and distributing its token; a Client loads the public key, validates the token into local state, then verifies or manages that state. The graph includes documented credit, session, and state-transfer capabilities. Native implementation internals are not shown, so edges stop at the native-core boundary; some documented capabilities are not directly excerpted in Python.
Main entry points: client.py Client API · admin.py Admin API · _core.py Native core bridge · info.py Library information
Components 12
Client verification
- Client API
onewayswp/client.py - Public key
onewayswp/client.py - Local license state
onewayswp/client.py
Native bridge
- Native core bridge
onewayswp/_core.py - Platform native library
onewayswp/lib
Package support
- Error mapping
onewayswp/exceptions.py - Library information
onewayswp/info.py - Package exports
onewayswp/__init__.py
Other components
- Application developer
Connections 18
- Application developer → Admin API: uses
README.md - Admin API → Native core bridge: requests keys
onewayswp/admin.py - Admin API → Key files: loads or saves
onewayswp/admin.py - Native core bridge → Platform native library: calls FFI
onewayswp/_core.py - Admin API → License token: creates
README.md - License token → Client API: distributes token
README.md - Application developer → Client API: uses
README.md - Client API → Public key: loads
onewayswp/client.py - Client API → Native core bridge: validates token
onewayswp/client.py - Client API → Local license state: writes or checks
onewayswp/client.py - Client API → Native core bridge: manages state
onewayswp/client.py - Client API → Error mapping: raises mapped errors
onewayswp/client.py - Admin API → Error mapping: raises mapped errors
onewayswp/admin.py - Library information → Native core bridge: fetches info
onewayswp/info.py - Application developer → Library information: queries
- Application developer → Package exports: imports API
onewayswp/__init__.py - Client API → Client API: starts and stops sessions
onewayswp/client.py - Client API → Local license state: exports or imports
README.md