Skip to main content

RAISE Software Development Kit

Project description

RAISE SDK

A software development kit for interacting with the core functionalities of the RAISE project. At the moment, it includes two submodules, revo (i.e. Remote Execution Validation Operations), code_checker (i.e. Code Quality Checker), and a utils folder.

  • REVO (Remote Execution Validation Operations)
    The REVO module is designed to implement the core functionalities of the RAI Processing Script Manager, enabling seamless execution and management of Python scripts for experiments. It is designed to automate key tasks such as managing dependencies, handling dataset selection, and running the main Python script, while also ensuring proper validation throughout the process. By integrating these features, REVO ensures that experiments are executed efficiently and with accurate logging, while validating the execution environment and providing detailed results for further analysis.

  • Code_checker (Code Quality Checker)
    A lightweight module to enforce code quality across your project through two interchangeable back‑ends:

    1. Ruff
      A zero‑plugin, Rust‑powered linter—fast and batteries‑included.
    2. Flake8
      The classic Python linter, with support for custom plugins. Ships with a built‑in default config (flake8-config.ini) under raise_sdk/code_checker/flake8/.
      • Custom plugins:
        • RCP01 disallows hard‑coded UUIDs
        • RCP02 disallows literal backslashes in paths
  • Utils
    The utils/ folder serves as a collection of utility modules that provide reusable, convenient, and well-structured functions to simplify common tasks across the application. These modules are designed to handle tasks such as file and folder operations, user interactions, and system-level dialogs. Below is an overview of the provided utilities and their purpose.

Installation

You can install raise_sdk directly from PyPI using pip:

pip install raise_sdk

Usage Examples

Code examples demonstrating how to use the raise_sdk package are provided in the examples folder of the repository. You can explore these examples to understand how to utilize the functionality of the SDK in different scenarios.

To get started, check the examples folder for various scripts and notebooks, such as:

  • run_experiment.ipynb: A Jupyter Notebook with step-by-step instructions for running the experiment interactively.

Documentation

For more detailed documentation, please visit the official documentation (link). You can also check the source code and contribute via the GitHub repository (link).

License

This project is licensed under the European Union Public License (EUPL) version 1.2. See the LICENSE file for more details.

Contributing

We welcome contributions! If you'd like to contribute, please fork the repository, make changes, and submit a pull request. Contributions are subject to the terms of the EUPL license.

Contact

For any inquiries, feel free to reach out via the following email: info@raise-science.eu.

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

raise_sdk-0.2.8.tar.gz (99.1 kB view details)

Uploaded Source

Built Distribution

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

raise_sdk-0.2.8-py3-none-any.whl (108.8 kB view details)

Uploaded Python 3

File details

Details for the file raise_sdk-0.2.8.tar.gz.

File metadata

  • Download URL: raise_sdk-0.2.8.tar.gz
  • Upload date:
  • Size: 99.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for raise_sdk-0.2.8.tar.gz
Algorithm Hash digest
SHA256 37ff9d2fab955451d31ff6282f431725ff4c3472869d296972ba5c44c0eabca1
MD5 9bd2717091e8118a4a714be3967cf267
BLAKE2b-256 d17c2b6160aa5fa0a7a8f7bbe8541321cdac572dff07d6b002b76e3d7f7797c2

See more details on using hashes here.

File details

Details for the file raise_sdk-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: raise_sdk-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 108.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for raise_sdk-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bf7b9ba70549a53f93119f4634ac4168d3dc0169d396c8176c6b45a289c1cdce
MD5 b99b48137d8b9483f37064719e454332
BLAKE2b-256 737368e03f106e3091dc60d42c4209a95595e85316a706cef267982fd8668f58

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