Skip to main content

lucos_loganne_pythonclient

A python client for sending events to lucos_loganne.

Environment Variables

The following environment variables must be set for the package to function:

  • SYSTEM: A unique identifier for the system or service sending the events. This is used as the User-Agent in the HTTP request and the source field in the loganne event.
  • LOGANNE_ENDPOINT: The full URL of the /events endpoint of a running lucos_loganne instance.

API

The package exposes a single function:

updateLoganne(type, humanReadable, level, url=None, **extra_data)

Sends an event to the Loganne service.

  • type (str, required): The type of event being logged.
  • humanReadable (str, required): A description of the event that is easy for humans to understand.
  • level (str, required): The editorial prominence of the event. Must be one of:
    • detail — mechanical/low-interest churn, hidden from the default feed.
    • routine — regular estate activity (the most common level).
    • notable — worth emphasising in-feed.
    • headline — estate-significant, suitable for a homepage glance.
  • url (str, optional): A link to a human-readable page regarding the item the event pertains to. Defaults to None.
  • **extra_data (optional): Any additional keyword arguments are forwarded as extra fields in the event payload. Useful for attaching structured data to events (e.g. multiple URIs, identifiers, or other context).

Usage

from loganne import updateLoganne

# Ensure SYSTEM and LOGANNE_ENDPOINT env vars are set
updateLoganne(
    type="contactUpdated",
    humanReadable="The Contact \"John Doe\" has been updated",
    level="routine",
    url="https://contacts.example.com/contact/123456"
)

# With extra structured data
updateLoganne(
    type="entityMerged",
    humanReadable="Contact \"Old Name\" merged into \"New Name\"",
    level="notable",
    url="https://contacts.example.com/contact/789",
    sourceUri="https://contacts.example.com/contact/123",
    targetUri="https://contacts.example.com/contact/789",
)

Metadata

Release files for lucos-loganne-pythonclient 2.0.20

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

Source distribution (sdist)

Source distribution for lucos-loganne-pythonclient 2.0.20
File Size Uploaded Provenance Actions
lucos_loganne_pythonclient-2.0.20.tar.gz 2.7 kB Without provenance Details for lucos_loganne_pythonclient-2.0.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lucos-loganne-pythonclient 2.0.20
File Interpreter ABI Platform Actions
lucos_loganne_pythonclient-2.0.20-py3-none-any.whl Python 3 none any Details for lucos_loganne_pythonclient-2.0.20-py3-none-any.whl

Total release size: 5.6 kB

Release files / lucos_loganne_pythonclient-2.0.20.tar.gz

Download URL lucos_loganne_pythonclient-2.0.20.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d5d8bb20c32c7418c60c5dcdcc1e29394eb3304f7af79ce0b046701e31bbb7f5
BLAKE2b-256 checksum
How to use checksums
cbe4173e71f5446f8bfa80c138e321c3c7e47c015166c5bfd843b726b335028e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / lucos_loganne_pythonclient-2.0.20-py3-none-any.whl

Download URL lucos_loganne_pythonclient-2.0.20-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d91c4100d0a13b74c5d028f52fb7eafc627dd79724cef2bfb96b49bf6e213ac
BLAKE2b-256 checksum
How to use checksums
d901b34cc84e32709c83e58f91f95a5a5e35c1caeae9316af3f5282584c1a5da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for lucos-loganne-pythonclient 2.0.20

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.

Release history Release notifications | RSS feed

This release

2.0.20 This release

2 release files No provenance

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