Giter VIP home page Giter VIP logo

dau-management-app's Introduction

Digital Annealing Unit Management Web Application

Introduction

This web application aims to monitor real-time usage of the digital annealing unit. The DAU computation service is provided by the Fujitsu Ltd.

The available APIs from Fujitsu have limitations, making it difficult for users to track their usage of the computation service. The DAU-Management-App allows users to register their job_id by providing their api_key to the application. The app is designed to offer statistical analysis and data visualization, allowing users to gain insights into their usage patterns.

Additionally, the app could be seen as a tiny user interface of Fujitsu's API. It enables user to delete finished job and cancel the waiting jobs.

API

/api/posts

Register your job_id with your username by indicating your api_key

header

{
    "Content-Type": "application/json",
    "Accept": "application/json",
}

body

{
    "api_key" : <your api key of dau-management-app>,
    "job_id" : <your job_id>,
    "time_limit_sec" : <the time limit you post to the Fujitsu server>
}

Examples

Python

response = requests.post(
    url + "/da/v3/async/qubo/solve",
    headers=problem_header,
    data=json.dumps(problem_body)
)


job_id = response.json()['job_id']
post_to_dma_data = {
    "api_key" : <my dma api key>,
    "job_id" : job_id,
    "time_limit_sec" : time_limit_sec,
}
dau_management_app_header = {
    "Content-Type": "application/json",
    "Accept": "application/json",
}
post_to_dma = requests.post(
    "https://dau.emath.tw/api/posts",
    headers=dau_management_app_header,
    data=json.dumps(post_to_dma_data)
)

curl

curl -d '{
    "api_key": "<your dma api key>",
    "job_id": "0f03efef-ac2a-4eb4-a69c-03997d20cbb9-231930244783281",
    "time_limit_sec": 60
}' -H "Content-Type: application/json" -X POST https://dau.emath.tw/api/posts

dau-management-app's People

Contributors

yuchun1214 avatar

Stargazers

 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.