Litewave Audit Library
Internal audit logging library for Litewave services.
Usage
from litewave_audit_lib.log_factory import get_logger
# Get a logger with NATS backend
logger = get_logger(
nats_connection_url="nats://username:password@your-nats-server:4222"
)
# Log an audit event
logger.log(
who="user@email.com",
resource="document",
action="view",
location="cloud",
request_context={"ip": "127.0.0.1"},
context={"document_id": "doc123"},
client={}
)
## Features
- Automatic reconnection handling
- Connection retry logic
- Proper error handling and logging
- Type hints for better IDE support
- Automatic cleanup of NATS connections
## Dependencies
- nats-py (for NATS backend)
Metadata
Release files for litewave-audit-lib 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| litewave_audit_lib-0.1.12.tar.gz | 8.4 kB | Without provenance | Details for litewave_audit_lib-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| litewave_audit_lib-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for litewave_audit_lib-0.1.12-py3-none-any.whl |
Total release size: 13.2 kB
Release files / litewave_audit_lib-0.1.12.tar.gz
| Download URL | litewave_audit_lib-0.1.12.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3239d0c4726b32d553d1c21ccb9e7b79d313546e0c373caa25f781d7c39c328f
|
|
BLAKE2b-256 checksum How to use checksums |
abe1937385f9ed46e06d58a256e78ec647e69e2edd100198dc532d7737c98e7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / litewave_audit_lib-0.1.12-py3-none-any.whl
| Download URL | litewave_audit_lib-0.1.12-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0ef02d5cb92475a3fa4dbc67d1d2e07c4b4614f219257939e2d63aacd941ebc
|
|
BLAKE2b-256 checksum How to use checksums |
7f25746babfc9d36ffa391b67b6a1ba3e2d227066f523aa6fc57ed55cfdadf18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for litewave-audit-lib 0.1.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.