Skip to main content

Relukko Resource Locking for Robot Framework

Project description

Robotframework Relukko

PyPI - Version PyPI - Python Version Python Version from PEP 621 TOML Gitlab Pipeline Status PyPI - Downloads PyPI - License GitLab License PyPI - Format PyPI - Status PyPI - Implementation PyPI - Wheel GitLab Stars GitLab Forks

See the keywords documentation https://relukko.gitlab.io/robotframework-relukko/

*** Settings ***
Library    Relukko    creator=Creator Name


*** Test Cases ***
Test Resource Lock
    Set Up Relukko    http://localhost:3000    some-api-key
    Acquire Relukko    LockName    8m34s
    ${lock}    Keep Relukko Alive For The Next    6m
    Log    ${lock}
    ${lock}    Keep Relukko Alive For The Next "50" Seconds
    Log    ${lock}
    ${lock}    Keep Relukko Alive For The Next 5 Min
    Log    ${lock}
    ${lock}    Add To Current Relukko Expire At Time    7m
    Log    ${lock}
    ${lock}    Add To Current Relukko Expire At Time "60" Seconds
    Log    ${lock}
    ${lock}    Add To Current Relukko Expire At Time 5 Min
    Log    ${lock}
    ${lock}    Update Relukko    creator=Mark
    Log    ${lock}
    ${lock}    Update Relukko    expires_at=2025-01-01T12:34:56.123456Z
    Log    ${lock}
    ${lock}    Get Current Relukko
    Log    ${lock}
    ${expires_at}    Get Relukko Expires At Time
    Log    ${expires_at}
    ${created_at}    Get Relukko Created At Time
    Log    ${created_at}
    ${lock}    Get All Relukkos
    Log    ${lock}
    ${lock}    Delete Relukko
    Log    ${lock}

Ecosystem

The Relukko ecosystem consists of the following components:

1. Relukko Backend (Rust)

The backend is responsible for storing and arbitrating lock states.

Repository: https://gitlab.com/relukko/relukko

2. PyRelukko Client (Python)

This Python package communicates with the backend, providing user-friendly locking primitives.

Repository: https://gitlab.com/relukko/pyrelukko

3. Robotframework-Relukko (Python)

Robot Framework keyword library that enables acquiring and releasing locks directly from Robot Framework test suites. Depends on PyRelukko.

Repository: https://gitlab.com/relukko/robotframework-relukko

Project details


Download files

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

Source Distribution

robotframework_relukko-0.11.0a1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

robotframework_relukko-0.11.0a1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_relukko-0.11.0a1.tar.gz.

File metadata

File hashes

Hashes for robotframework_relukko-0.11.0a1.tar.gz
Algorithm Hash digest
SHA256 81a348554566f0e32ace04fa396962b8f289f5b9f6b6db26127a869578fe7b7d
MD5 2a5f2fd339421ac0a8456af4251a0a94
BLAKE2b-256 92868b0e0b368e861eb418952da56a2bd7a3ed3bd0f0f727672e5e3cd510cda5

See more details on using hashes here.

File details

Details for the file robotframework_relukko-0.11.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_relukko-0.11.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 48503fd9c2a150345486e64fdeb65c6ce92c5b5ed3ddd1bedf62264c63c3fca8
MD5 858a461d0ad781c71f3e8b147ba6f077
BLAKE2b-256 54c5e7be5554bb44892fa61f7d9b3f4fb536a2e0d7faa0f1f6e136a5723d29d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page