Modulable Lacus
Lacus, but as a simple module.
Installation
pip install lacuscore
Design
LacusCore is the part taking care of enqueuing and capturing URLs or web enabled documents.
It can be used as a module in your own project, see below for the usage
Lacus is the webservice that uses LacusCore,
and you can use Pylacus to query it.
The enqueue, get_capture_status, and get_capture methods if LacusCore and PyLacus have
the same parameters which means you can easily use them interchangeably in your project.
Interactive Sessions
LacusCore can also manage interactive captures when it is initialized with
interactive_allowed=True and headed_allowed=True. In that mode, enqueue(...)
accepts interactive=True (and an optional interactive_ttl in seconds,
default 600) and keeps the browser session alive until a trusted caller
triggers the final capture via request_session_capture(uuid).
Interactive session state is split into two layers:
get_session_metadata(uuid)returns the backend-agnostic public state for a session: status, view URL, lifecycle timestamps, and whether a final capture has been requested.get_session_backend_metadata(uuid)returns backend-specific transport data for trusted local infrastructure only. This is where implementation details such as xpra unix socket paths belong.
That split keeps API consumers decoupled from the current xpra implementation while still allowing a local sidecar proxy to connect to the active session.
For more information regarding the usage of the module and a few examples, please refer to the documentation
Metadata
Release files for lacuscore 1.26.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lacuscore-1.26.2.tar.gz | 24.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lacuscore-1.26.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.3 kB
Release files / lacuscore-1.26.2.tar.gz
| Download URL | lacuscore-1.26.2.tar.gz |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca71b0c8d4897601e18b7b0dac98837dc96afef65d3e0427ec538d8c92b6cb2f
|
|
BLAKE2b-256 checksum How to use checksums |
ec7faea297033a07a0262384f4d945526b8bd8a81c4d1f5c65e966d67d8197bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency logRelease files / lacuscore-1.26.2-py3-none-any.whl
| Download URL | lacuscore-1.26.2-py3-none-any.whl |
|---|---|
| Size | 27.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20fea5d48e9d2946bcddad54806a1735903e613399c02227ce586ad0dfce9a7a
|
|
BLAKE2b-256 checksum How to use checksums |
188227e7cb5d6c24f9050b5ef77359af028c11dc38f4e9b4b71615e9af221cfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency log