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.1.tar.gz (28.9 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.1-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dapps-0.0.1.tar.gz
  • Upload date:
  • Size: 28.9 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.1.tar.gz
Algorithm Hash digest
SHA256 ed798992870aea9040fc330b23899446bd94bf7ef1db0ea2f144863abbfa9306
MD5 ae5fabc72a9d13b220c4a9b38befadc0
BLAKE2b-256 a30e8a03602d7b3b02f290d24ff44c1a99777212941298e6ac81606fb7a3e112

See more details on using hashes here.

Provenance

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

Publisher: 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.1-py3-none-any.whl.

File metadata

  • Download URL: dapps-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48d2ffde2b453f7e9e1b363fd1b503c320e27257f73496a9f6b77168f3f35723
MD5 0cabd7d6fea188a4f30dcd2335e0bee1
BLAKE2b-256 599e0337b8657a7dab6c07e16db1597c4e1ca1f91fb081f4e875897575aaea21

See more details on using hashes here.

Provenance

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

Publisher: 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