Skip to main content

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.10.0rc1.tar.gz (14.2 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.10.0rc1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_relukko-0.10.0rc1.tar.gz.

File metadata

File hashes

Hashes for robotframework_relukko-0.10.0rc1.tar.gz
Algorithm Hash digest
SHA256 78a3a9aafe6a6749c9df4fd8c42c2cbabdb690c011ca9cb288c3c4339530c1a7
MD5 dd9c5b3b964cb09476a33d436b6d2298
BLAKE2b-256 aa340afb27575dff290f829cb91499d38c787d08b7d845e457ec1f34a0789e5d

See more details on using hashes here.

File details

Details for the file robotframework_relukko-0.10.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_relukko-0.10.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 2929068c795996950f374b4a7382883bd2f0c14caa9ca925d8d84affbb1a7374
MD5 6abbaa2a28fa1b76094c1e7183d37d38
BLAKE2b-256 0ace5fe646aa76b4d240307a76c664dfa3729c9d817f155e1c4d87d32a99c2d0

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