Usage:
>>> import db2py
>>> db = db2py.createdb("mydatabase", {"user1": "password1"})
>>> db = updatedb(db, {"user2": "PWD2"})
>>> meth = getmeth()
>>> for username, pwd in getdb(db):
... db = updatedb(db, {username: hashpwd(pwd, meth)})
>>> savedb(*getdb(db), "database1.db")
>>> db = opendb("database1.db")
>>> deldb("database1.db")
Metadata
Release files for db2py 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| db2py-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / db2py-0.0.1-py3-none-any.whl
| Download URL | db2py-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2324c89aa74bb2df41d1cee4bfdee2b61ca01bc65756326f1065aff2d245a5ce
|
|
BLAKE2b-256 checksum How to use checksums |
1157757c6a2ae628f09ab16883497c306eeb4b78852c3426f9371a12fafcb8e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.45.0 CPython/3.8.3
|