Code Monkey home page Code Monkey logo

era-5g-interface's Introduction

era-5g-interface

Python interface (support classes) for 5G-ERA Network Applications.

Related Repositories

  • era-5g-client - client classes for 5G-ERA Network Applications with various transport options.
  • era-5g-server - server classes for 5G-ERA Network Applications with various transport options.
  • Reference-NetApp - reference 5G-ERA Network Application implementation with MMCV detector.

Installation

The package could be installed via pip:

pip install era_5g_interface

Classes

Channels (channels.py)

Channels class is used to define bidirectional channel data callbacks and contains send functions. It handles image frames JPEG, H.264 and HEVC frame encoding/decoding. The class cannot be used alone. The ServerChannels and ClientChannels classes create callbacks and encoders/decoders.

ClientChannels and ServerChannels (client_channels.py, server_channels.py)

ClientChannels and ServerChannels classes are used to define bidirectional channel (image and JSON) callbacks and contains send functions. They are used inside the NetAppClientBase in era_5g_client and NetworkApplicationServer in era_5g_server. ServerChannels is used with Socketio Server object, ClientChannels is used with Socketio Client object.

FrameDecoder and FrameEncoder (frame_decoder.py, frame_encoder.py)

FrameDecoder and FrameEncoder classes providing video frame encoding and decoding.

TaskHandlerInternalQ (task_handler_internal_q.py)

Task handler which takes care of passing the data to the python internal queue for future processing.

Contributing, development

  • The package is developed and tested with Python 3.8.
  • Any contribution should go through a pull request from your fork.
  • We use Pants to manage the code (how to install it).
  • Before committing, please run locally:
    • pants fmt :: - format all code according to our standard.
    • pants lint :: - checks formatting and few more things.
    • pants check :: - runs type checking (mypy).
    • pants test :: - runs Pytest tests.
  • The same checks will be run within CI.
  • A virtual environment with all necessary dependencies can be generated using pants export ::. You may then activate the environment and add era_5g_interface to your PYTHONPATH, which is equivalent to installing a package using pip install -e.
  • To generate distribution packages (tar.gz and whl), you may run pants package ::.
  • For commit messages, please stick to https://www.conventionalcommits.org/en/v1.0.0/.

era-5g-interface's People

Contributors

klepo avatar zdenekm avatar idobes avatar kapim avatar artable-dev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.