askrobots / dbbasic-accounts
Public
Unix-style user accounts (passwd, groups, permissions) with a web-friendly Python API.
__init__.py · 412 bytes · 15 lines
| 1 | """ |
| 2 | dbbasic-accounts: Unix-style user accounts with web-friendly API |
| 3 | |
| 4 | Dual API design: |
| 5 | - PasswdDB: Unix layer (useradd, passwd, groups commands) |
| 6 | - Accounts: Web layer (register, login, email-based) |
| 7 | |
| 8 | Both use the same underlying TSV files (passwd.tsv, shadow.tsv, group.tsv). |
| 9 | """ |
| 10 | |
| 11 | from .passwd import PasswdDB, User |
| 12 | from .accounts import Accounts |
| 13 | |
| 14 | __version__ = "0.1.1" |
| 15 | __all__ = ["Accounts", "PasswdDB", "User"] |