{"id":15284276,"url":"https://github.com/ail-project/pylacus","last_synced_at":"2026-02-11T16:03:59.055Z","repository":{"id":59969605,"uuid":"539390212","full_name":"ail-project/PyLacus","owner":"ail-project","description":"Python module to enqueue and query a remote Lacus instance","archived":false,"fork":false,"pushed_at":"2025-03-19T23:57:43.000Z","size":295,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-20T00:28:28.921Z","etag":null,"topics":["capture-website","lacus","playwright"],"latest_commit_sha":null,"homepage":"https://pylacus.readthedocs.io/en/latest/index.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ail-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-21T08:46:10.000Z","updated_at":"2025-03-19T23:57:46.000Z","dependencies_parsed_at":"2023-12-22T15:57:50.062Z","dependency_job_id":"fc8bc063-c76e-4158-a4e7-121ef3b56de4","html_url":"https://github.com/ail-project/PyLacus","commit_stats":{"total_commits":33,"total_committers":4,"mean_commits":8.25,"dds":"0.18181818181818177","last_synced_commit":"60a60e4d15933631309187e21623d91d67c68f1e"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":"Lookyloo/pyproject_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ail-project%2FPyLacus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ail-project%2FPyLacus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ail-project%2FPyLacus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ail-project%2FPyLacus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ail-project","download_url":"https://codeload.github.com/ail-project/PyLacus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248644183,"owners_count":21138565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["capture-website","lacus","playwright"],"created_at":"2024-09-30T14:52:33.470Z","updated_at":"2026-02-11T16:03:59.047Z","avatar_url":"https://github.com/ail-project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python client and module for Lacus\n\nUse this module to interact with a [Lacus](https://github.com/ail-project/lacus) instance.\n\n## Installation\n\n```bash\npip install pylacus\n```\n\n## Usage\n\n### Command line\n\nYou can use the `pylacus` command:\n\n```bash\n$ pylacus -h\nusage: pylacus [-h] --url-instance URL_INSTANCE [--redis_up] {enqueue,status,result} ...\n\nQuery a Lacus instance.\n\npositional arguments:\n  {enqueue,status,result}\n                        Available commands\n    enqueue             Enqueue a url for capture\n    status              Get status of a capture\n    result              Get result of a capture.\n\noptions:\n  -h, --help            show this help message and exit\n  --url-instance URL_INSTANCE\n                        URL of the instance.\n  --redis_up            Check if redis is up.\n\n```\n\n### Library\n\nSee [API Reference](https://pylacus.readthedocs.io/en/latest/api_reference.html)\n\n# Example\n\n## Enqueue\n\n```python\nfrom pylacus import PyLacus\n\nlacus = PyLacus(\"http://127.0.0.1:7100\")\nuuid = lacus.enqueue(url='google.fr')\n```\n\n## Status of a capture\n\n```python\nstatus = lacus.get_capture_status(uuid)\n```\n\n## Capture result\n\n```python\nresult = lacus.get_capture(uuid)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fail-project%2Fpylacus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fail-project%2Fpylacus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fail-project%2Fpylacus/lists"}