Open-source Reactive Python database
Project description
Skypy - open-source reactive database.
The better way to build Python logging system!
|
|
Docs
pip install skypydb # python client
# or download from the source
# git clone https://github.com/Ahen-Studio/skypy-db.git
# cd skypy-db
# pip install -r requirements.txt
Features
-
Simple: fully-documented
-
Table: create, update, delete data from a table
-
Observable: Dashboard with real-time data, metrics, and query inspection
-
Free & Open Source: MIT Licensed
TODO
- code the database backend
- Create the dashboard using Reflex
- write the documentation
- improve user data security
- code a custom cli
What's next!
-
create a declarative schema system to customize the tables
-
Add the ability to delete specific data in a table
-
Add the ability to update specific data in a table
API
import skypydb
# setup skypydb client.
client = skypydb.Client(path="./data/skypy.db")
# config to make custom table.
config = {
"all-my-documents": {
"title": "str",
"user_id": str,
"content": str,
"id": "auto"
},
"all-my-documents1": {
"title": "str",
"user_id": str,
"content": str,
"id": "auto"
},
"all-my-documents2": {
"title": "str",
"user_id": str,
"content": str,
"id": "auto"
},
}
# Create tables. get_table_from_config(config, table_name="all-my-documents"), delete_table_from_config(config, table_name="all-my-documents") are also available.
table = client.create_table_from_config(config)# Create all the tables present in the config.
#table = client.get_table_from_config(config, table_name="all-my-documents")
#table = client.delete_table_from_config(config, table_name="all-my-documents")
# Add data to a table.
# Retrieve the table before adding any data.
table = client.get_table_from_config(config, table_name="all-my-documents")
table.add(
title=["document"],
user_id=["user123"],
content=["this is a document"],
id=["auto"]# ids are automatically created by the backend.
)
# Search results. You can also search the data by the id of the document.
results = table.search(
index="user123",
title=["document"]# Search the corresponding data by their title.
#id=["***"]
)
Learn more on our Docs
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skypydb-0.1.1.tar.gz.
File metadata
- Download URL: skypydb-0.1.1.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e4350da707a0e416e64e290eb4e978b258505b770dd8f071f50370599364904
|
|
| MD5 |
98f83a62878e036e4d41768f5c888cc9
|
|
| BLAKE2b-256 |
a301d084a2e300e2e288ee681bde89ace44a57fbe665d2c7346def83ab1d0e0e
|
Provenance
The following attestation bundles were made for skypydb-0.1.1.tar.gz:
Publisher:
python-publish.yml on Ahen-Studio/skypy-db
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skypydb-0.1.1.tar.gz -
Subject digest:
9e4350da707a0e416e64e290eb4e978b258505b770dd8f071f50370599364904 - Sigstore transparency entry: 842532091
- Sigstore integration time:
-
Permalink:
Ahen-Studio/skypy-db@885381c66aa64d07511a83bf74c0aedc1c725efe -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/Ahen-Studio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@885381c66aa64d07511a83bf74c0aedc1c725efe -
Trigger Event:
release
-
Statement type:
File details
Details for the file skypydb-0.1.1-py3-none-any.whl.
File metadata
- Download URL: skypydb-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b77274d2f4dbbbe6abf8d6144ffd6aad6e2d2ef3c70a0b73782b25ab004e67d2
|
|
| MD5 |
d20316fd7ea612ac9e64beb25a14f9a0
|
|
| BLAKE2b-256 |
50ce0085c6b9df999d1f42755c0d63bf9a753d3decc3652ce7d816248152a5b3
|
Provenance
The following attestation bundles were made for skypydb-0.1.1-py3-none-any.whl:
Publisher:
python-publish.yml on Ahen-Studio/skypy-db
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skypydb-0.1.1-py3-none-any.whl -
Subject digest:
b77274d2f4dbbbe6abf8d6144ffd6aad6e2d2ef3c70a0b73782b25ab004e67d2 - Sigstore transparency entry: 842532093
- Sigstore integration time:
-
Permalink:
Ahen-Studio/skypy-db@885381c66aa64d07511a83bf74c0aedc1c725efe -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/Ahen-Studio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@885381c66aa64d07511a83bf74c0aedc1c725efe -
Trigger Event:
release
-
Statement type: