Python client and module for Lacus
Use this module to interact with a Lacus instance.
Installation
pip install pylacus
Usage
Command line
You can use the pylacus command:
$ pylacus -h
usage: pylacus [-h] --url-instance URL_INSTANCE [--redis_up] {enqueue,status,result} ...
Query a Lacus instance.
positional arguments:
{enqueue,status,result}
Available commands
enqueue Enqueue a url for capture
status Get status of a capture
result Get result of a capture.
options:
-h, --help show this help message and exit
--url-instance URL_INSTANCE
URL of the instance.
--redis_up Check if redis is up.
Library
See API Reference
Example
Enqueue
from pylacus import PyLacus
lacus = PyLacus("http://127.0.0.1:7100")
uuid = lacus.enqueue(url='google.fr')
Status of a capture
status = lacus.get_capture_status(uuid)
Capture result
result = lacus.get_capture(uuid)
Release files for pylacus 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 | |
|---|---|---|---|
| pylacus-1.26.2.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylacus-1.26.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / pylacus-1.26.2.tar.gz
| Download URL | pylacus-1.26.2.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71e92f9d2bac519605ceb7e3f12de280e4801b3529a07aed2fc503e6a6582e3f
|
|
BLAKE2b-256 checksum How to use checksums |
219a41215cc713aea2a001030e8718f6cb188fec6bb91d3c178abb74d5c43672
|
| 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 26, 2026.
Transparency logRelease files / pylacus-1.26.2-py3-none-any.whl
| Download URL | pylacus-1.26.2-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1695a8af90cd9bbebf2aec0163df392557f5996a889f6f5968ba0ab87b9a2103
|
|
BLAKE2b-256 checksum How to use checksums |
9739920d92ff8d74fde4aba3eb38451cae5bb4d04f2542f606d9bd54839f8f32
|
| 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 26, 2026.
Transparency log