Skip to main content

A library for creating and connecting dApps to Open RAN units.

Project description

dApp Library

A complete tutorial on how to deploy a dApp can be found on the OpenRAN Gym website. Please refer to that guide to instrument your system.

Installation

Clone the repository

hatch build
pip3 install dist/*.tar.gz

Launch the Spectrum Sharing dApp

OAI should start before running the dApp

python3 examples/spectrum_dapp.py

This dApp implements a spectrum sharing use case discussed in our paper.

The dApp can be controlled through the following command-line arguments:

  • ota bool (false): If true, use the OAI and spectrum configurations for OTA else use the ones of Colosseum
  • control bool (false): If set to true, performs the PRB masking
  • energy-gui bool (false): If set to true, creates and show the energy spectrum
  • iq-plotter-gui bool (false): If set to true, creates and show the sensed spectrum
  • save-iqs bool (false): Specify if this is data collection run or not. In the first case I/Q samples will be saved
  • timed bool (false): Run with a 5-minute time limit

If you use the dApp concept and/or the framework to develop your own dApps, please cite the following paper:

@ARTICLE{lacava2025dApps,
author={Andrea Lacava and Leonardo Bonati and Niloofar Mohamadi and Rajeev Gangula and Florian Kaltenberger and Pedram Johari and Salvatore D'Oro and Francesca Cuomo and Michele Polese and Tommaso Melodia},
title: {dApps: Enabling Real-Time AI-Based Open RAN Control},
url={https://arxiv.org/pdf/2501.16502},
year={2025}
}

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

dapps-0.0.2.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

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

dapps-0.0.2-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file dapps-0.0.2.tar.gz.

File metadata

  • Download URL: dapps-0.0.2.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dapps-0.0.2.tar.gz
Algorithm Hash digest
SHA256 08b1c704327b78269974170d2374eb9b51ac014b0f12068d617f07f1acfd327c
MD5 6fb77ea277776f927b32b3f520a7a698
BLAKE2b-256 126819034b2f2839f1cb12b864cd63243be20e60bf30187f0fe18cd9521f4312

See more details on using hashes here.

Provenance

The following attestation bundles were made for dapps-0.0.2.tar.gz:

Publisher: tag-and-release.yml on wineslab/dApp-library

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dapps-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: dapps-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dapps-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fa8b123a614c498dde2d93292c60fa3ffa4f934c38d3f3d8ab85c5b841925bbc
MD5 067b20c6aa7f2ac007ee422e623d7426
BLAKE2b-256 cce387ae157ff4464deaa2eaea34b333c0e2bd259494fbae02e953de8b711fcb

See more details on using hashes here.

Provenance

The following attestation bundles were made for dapps-0.0.2-py3-none-any.whl:

Publisher: tag-and-release.yml on wineslab/dApp-library

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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