Skip to main content

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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylacus-1.26.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylacus-1.26.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pylacus-1.26.0.tar.gz.

File metadata

  • Download URL: pylacus-1.26.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pylacus-1.26.0.tar.gz
Algorithm Hash digest
SHA256 f48b6294482ad1ef5ee92cc86d90acdae63fd64c0a25443662b0bae95fa03b97
MD5 3867cc16a63a27b449209c2ce6aa5ff6
BLAKE2b-256 3d89e2adb9ec24045a8d77301a138abc8b35b83326a68fcd1a01a0ca54ba7b25

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylacus-1.26.0.tar.gz:

Publisher: release.yml on ail-project/PyLacus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylacus-1.26.0-py3-none-any.whl.

File metadata

  • Download URL: pylacus-1.26.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for pylacus-1.26.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2de7e4b4de7d88990fe09baaa2517de5fb22f818aed498cbd33f06b8ce6c881
MD5 20b29b176cd5a4eb79fe3576bb9872b7
BLAKE2b-256 d8e5a5e42a28a667e6980b270f6b06deee66688a64f57a8bd65aa97cdb5512ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylacus-1.26.0-py3-none-any.whl:

Publisher: release.yml on ail-project/PyLacus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.26.0 This release

2 files

1.25.0

2 files

1.24.4

2 files

1.24.2

2 files

1.24.1

2 files

1.24.0

2 files

1.23.0

2 files

1.22.3

2 files

1.22.2

2 files

1.22.1

2 files

1.22.0

2 files

1.21.3

2 files

1.21.2

2 files

1.21.0

2 files

1.20.0

2 files

1.19.1

2 files

1.19.0

2 files

1.18.0

2 files

1.17.1

2 files

1.17.0

2 files

1.16.1

2 files

1.16.0

2 files

1.15.1

2 files

1.15.0

2 files

1.14.0

2 files

1.13.2

2 files

1.13.1

2 files

1.13.0

2 files

1.12.1

2 files

1.12.0

2 files

1.11.1

2 files

1.10.0

2 files

1.9.0

2 files

1.8.2

2 files

1.8.1

2 files

1.8.0

2 files

1.7.3

2 files

1.7.2

2 files

1.7.1

2 files

1.7.0

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.1

2 files

1.5.0

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

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