Add requirements file; add shebang headers; remove usesless duplicate

This commit is contained in:
Mario Voigt 2025-03-04 00:22:31 +01:00
parent 2383a6cc0d
commit 69c22e91ae
4 changed files with 8 additions and 0 deletions

3
add_del_user.py Normal file → Executable file
View File

@ -1,9 +1,12 @@
#!/usr/bin/env python
import asyncio
import fabapi
import fabapi.user_system
async def main():
session = await fabapi.connect("localhost", 59661, "Testuser", "secret")
# Add an user with the given roles
roles = [
"somerole", "testrole"

2
raw-write.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import asyncio
import fabapi
import fabapi.user_system

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
pycapnp==1.3.0

2
use_giveback_machine.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
import asyncio
import fabapi
import fabapi.user_system