some moving around
This commit is contained in:
5
homepage/cwsvJudo/participo/bdCheck
Executable file
5
homepage/cwsvJudo/participo/bdCheck
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
|
cd /home/marko/cwsvJudo/homepage/participo/; . .venv/bin/activate; python bdCheck.py ; deactivate;
|
||||||
|
|
||||||
|
exit 0;
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
{
|
|
||||||
// Use IntelliSense to learn about possible attributes.
|
|
||||||
// Hover to view descriptions of existing attributes.
|
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "post",
|
|
||||||
"type": "debugpy",
|
|
||||||
"request": "launch",
|
|
||||||
"program": "testApi.py",
|
|
||||||
"console": "integratedTerminal",
|
|
||||||
"justMyCode": true,
|
|
||||||
"args": [
|
|
||||||
"POST",
|
|
||||||
"--input", "testShiai.json"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "getTrainees",
|
|
||||||
"type": "debugpy",
|
|
||||||
"request": "launch",
|
|
||||||
"program": "testApi.py",
|
|
||||||
"console": "integratedTerminal",
|
|
||||||
"justMyCode": true,
|
|
||||||
"args": [
|
|
||||||
"GET",
|
|
||||||
"--endpoint", "trainees"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"cSpell.language": "en,de-de",
|
|
||||||
"cSpell.words": [
|
|
||||||
"CURDATE",
|
|
||||||
"cwsv",
|
|
||||||
"cwsvjudo",
|
|
||||||
"participo",
|
|
||||||
"retval",
|
|
||||||
"shiai",
|
|
||||||
"vormundschaft",
|
|
||||||
"wettkampfkalender"
|
|
||||||
],
|
|
||||||
"prettier.documentSelectors": [
|
|
||||||
"**/*.{js,jsx,ts,tsx,vue,html,css,scss,less,json,md,mdx,graphql,yaml,yml,php}"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "participo",
|
|
||||||
"host": "cwsvjudo.bplaced.net",
|
|
||||||
"protocol": "ftp",
|
|
||||||
"port": 21,
|
|
||||||
"username": "cwsvjudo",
|
|
||||||
"remotePath": "/www/participo",
|
|
||||||
"ignore": [
|
|
||||||
".vscode",
|
|
||||||
"*.py",
|
|
||||||
"*.config.yaml",
|
|
||||||
"package.json", "package-lock.json"
|
|
||||||
, "node-modules"
|
|
||||||
],
|
|
||||||
"uploadOnSave": true
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../../DieJudoGürtelprüfung/markdown/
|
|
||||||
2
homepage/cwsvJudo/participo/requirements.txt
Normal file
2
homepage/cwsvJudo/participo/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
requests
|
||||||
|
/home/marko/keeper/try-matrix-nio/MatrixIm
|
||||||
2
homepage/cwsvJudo/participo/testApi.config.yaml
Normal file
2
homepage/cwsvJudo/participo/testApi.config.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
apiKey: "5fPs3G1JsAj"
|
||||||
|
host: "cwsvjudo.bplaced.net"
|
||||||
10
homepage/cwsvJudo/participo/traineetable.py
Normal file
10
homepage/cwsvJudo/participo/traineetable.py
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
with open("trainees.json", "r") as f:
|
||||||
|
import json
|
||||||
|
|
||||||
|
trainees = sorted(json.load(f), key=lambda d: d["gebDatum"])
|
||||||
|
|
||||||
|
print("Name|Vorname|Pass|Jahresmarke|Kyumarke|Pass kompl. zurück erhalten")
|
||||||
|
print(":---|:---|:---:|:---:|:---:|:---:")
|
||||||
|
|
||||||
|
for t in trainees:
|
||||||
|
print(f"{t['name']} | {t['vorname']} | | | | |")
|
||||||
Reference in New Issue
Block a user