HoBase
DataBase основанная на sqlitedict
Установка
pip install hobase
Подключение
from hobase import *
db = Database()
Использование
from hobase import *
# Инициализация датабазы
a = Database(autocommit=True)
# Создание переменной "324234" в "123"
a.set({"324234":"123123"}, UserID(123))
print(a.get(UserID(123))) # Вывод
# Дополнение ещё одной переменной
a.set({"1":"23123"}, UserID(123))
print(a.get(UserID(123)))
# Удаление переменной и проверка
a.delete(id=UserID(123), obj="324234")
print(a.get(id=UserID(123)))
# Закрытие датабазы и проверка output
print(a)
a.close()
print(a)
Metadata
Release files for hobase 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hobase-1.0.1.tar.gz | 1.9 kB | Without provenance | Details for hobase-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hobase-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for hobase-1.0.1-py3-none-any.whl |
Total release size: 4.2 kB
Release files / hobase-1.0.1.tar.gz
| Download URL | hobase-1.0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b22eeda7574176a698f296b81194a4bc3f4090f72c45cb613adbeb32578a395
|
|
BLAKE2b-256 checksum How to use checksums |
d496f575da4585684a69cf3db4a50092bb71b40b838c9d9c1636b70f44aebbd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.9.13 Windows/10
|
Release files / hobase-1.0.1-py3-none-any.whl
| Download URL | hobase-1.0.1-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e318d936a1f1541e82ed367803d7058893a52b5643e5cc81fa52af7d1d848279
|
|
BLAKE2b-256 checksum How to use checksums |
61a72b4ba1e3ef5740a85989adadd5051487e45080372bb8dfdb4b3f98683699
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.9.13 Windows/10
|
Security for hobase 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.