This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import matplotlib.pyplot as plt | |
import argparse | |
def load_data(input_path): | |
df = pd.read_csv(args.input_file, header=0, skipinitialspace=True, encoding="utf-8") | |
df.columns = df.columns.str.strip() | |
return df | |
def show_plot(dataframe): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/stephan/yocto/poky-honister/bitbake/lib/bb/cooker.py:16: DeprecationWarning: module 'sre_constants' is deprecated | |
import sre_constants | |
28828 13:19:28.141493 --- Starting bitbake server pid 28828 at 2025-03-17 13:19:28.141481 --- | |
28828 13:19:28.143602 Started bitbake server pid 28828 | |
28828 13:19:28.143679 Entering server connection loop | |
28828 13:19:28.143803 Accepting [<socket.socket fd=6, family=1, type=1, proto=0, laddr=bitbake.sock>] ([]) | |
28828 13:19:28.144269 Processing Client | |
28828 13:19:28.144291 Connecting Client | |
28828 13:19:28.144412 Running command ['setFeatures', [2, 1]] | |
28828 13:19:28.144448 Command Completed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/stephan/yocto/poky-honister/bitbake/lib/bb/cooker.py:16: DeprecationWarning: module 'sre_constants' is deprecated | |
import sre_constants | |
28828 13:19:28.141493 --- Starting bitbake server pid 28828 at 2025-03-17 13:19:28.141481 --- | |
28828 13:19:28.143602 Started bitbake server pid 28828 | |
28828 13:19:28.143679 Entering server connection loop | |
28828 13:19:28.143803 Accepting [<socket.socket fd=6, family=1, type=1, proto=0, laddr=bitbake.sock>] ([]) | |
28828 13:19:28.144269 Processing Client | |
28828 13:19:28.144291 Connecting Client | |
28828 13:19:28.144412 Running command ['setFeatures', [2, 1]] | |
28828 13:19:28.144448 Command Completed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.16) | |
project(example_1) | |
include(CheckCXXCompilerFlag) | |
include(CheckCXXSourceCompiles) | |
include(CheckIncludeFile) | |
include(CheckIncludeFiles) | |
find_package(CopperSpice REQUIRED) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.16) | |
project(example_1) | |
include(CheckCXXCompilerFlag) | |
include(CheckCXXSourceCompiles) | |
include(CheckIncludeFile) | |
include(CheckIncludeFiles) | |
find_package(CopperSpice REQUIRED) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.16) | |
project(example_1) | |
include(CheckCXXCompilerFlag) | |
include(CheckCXXSourceCompiles) | |
include(CheckIncludeFile) | |
include(CheckIncludeFiles) | |
find_package(CopperSpice REQUIRED) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import io | |
from fastapi import FastAPI, File, UploadFile, HTTPException | |
from sqlalchemy import create_engine, Column, Integer, String, Float, ForeignKey | |
from sqlalchemy.ext.declarative import declarative_base | |
from sqlalchemy.orm import declarative_base, relationship, sessionmaker | |
# Datenbankkonfiguration | |
DATABASE_URL = "sqlite:///./sensordaten.db" | |
engine = create_engine(DATABASE_URL) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import sys | |
def fetch_data(api_url): | |
response = requests.get(api_url) | |
data = response.json() | |
return data | |
def sort_data(data, column): | |
try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
from tkinter import messagebox | |
import requests | |
# Keycloak-Konfiguration | |
keycloak_url = "https://your-keycloak-server/auth/realms/your-realm/protocol/openid-connect/token" | |
client_id = "your-client-id" | |
client_secret = "your-client-secret" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python3 | |
import tkinter as tk | |
from tkinter import messagebox | |
import requests | |
# Keycloak-Konfiguration | |
keycloak_url = "https://your-keycloak-server/auth/realms/your-realm/protocol/openid-connect/token" | |
client_id = "your-client-id" | |
client_secret = "your-client-secret" |
NewerOlder