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

Uploaded Python 3

File details

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

File metadata

  • Download URL: robotframework_relukko-0.10.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for robotframework_relukko-0.10.0.tar.gz
Algorithm Hash digest
SHA256 5a76159d627c7be87f56effc04b4d4b9398cb2707a852c9ce5b5aa6dd62f42ee
MD5 ed2b7a36bf6189ca43094eacacdc12ed
BLAKE2b-256 9742f7a276b791f8dfb40dba553d450c928e651c9196626d2adfceea4f354c7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robotframework_relukko-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c744375d865e01dd39864deb0f8945d6d2cbd44f00b8b2883d2624a9235b7fe3
MD5 ae84befbc6a3a0e86f4b5de1e115faf6
BLAKE2b-256 cf2db797258e25746ec23927cec1409e8dfcf4cd500ee8b3f038cf0fddc64ef6

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