The default database module for LitePolis that compatible with Polis
Project description
LitePolis Database Default
This is the default database module that compatible with Polis.
Quick Start
- Install the module:
litepolis-cli add-deps litepolis-database-default
- Configure database connection:
# ~/.litepolis/litepolis.config
[litepolis_database_default]
database_url: "postgresql://user:pass@localhost:5432/litepolis"
# database_url: "starrocks://<User>:<Password>@<Host>:<Port>/<Catalog>.<Database>"
- Basic usage:
from litepolis_database_default import DatabaseActor
user = DatabaseActor.create_user({
"email": "test@example.com",
"auth_token": "auth_token",
})
conv = DatabaseActor.create_conversation({
"title": "Test Conversation",
"description": "This is a test conversation."
})
More usage in Project Page
License
MIT Licensed. See LICENSE for details.
Project details
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 litepolis_database_default-0.0.3.tar.gz.
File metadata
- Download URL: litepolis_database_default-0.0.3.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08c64d5bafbd950a120499497bf244445655b685f50310e6353aebdab55f2c52
|
|
| MD5 |
be6575e26b3479e1d724db87e92bda0b
|
|
| BLAKE2b-256 |
be0cebc84c141b172c13b35a8d0edd0c68d292821beb88fc77aa404f5a018e79
|
Provenance
The following attestation bundles were made for litepolis_database_default-0.0.3.tar.gz:
Publisher:
python-publish.yml on NewJerseyStyle/LitePolis-database-default
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
litepolis_database_default-0.0.3.tar.gz -
Subject digest:
08c64d5bafbd950a120499497bf244445655b685f50310e6353aebdab55f2c52 - Sigstore transparency entry: 193675568
- Sigstore integration time:
-
Permalink:
NewJerseyStyle/LitePolis-database-default@586e4cab78ed9074a755c243d33289e7c6f8139a -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/NewJerseyStyle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@586e4cab78ed9074a755c243d33289e7c6f8139a -
Trigger Event:
release
-
Statement type:
File details
Details for the file litepolis_database_default-0.0.3-py3-none-any.whl.
File metadata
- Download URL: litepolis_database_default-0.0.3-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a716b9c92dfc1835350e83c77835e3efb632a634bd9ce19fc146dc958d9becad
|
|
| MD5 |
50cb03d99c8ff94df6ca654426daa71f
|
|
| BLAKE2b-256 |
a4dfdd454c965efd782563fc013e07e6b3ca0d841713795f9fc77050d4ce1fea
|
Provenance
The following attestation bundles were made for litepolis_database_default-0.0.3-py3-none-any.whl:
Publisher:
python-publish.yml on NewJerseyStyle/LitePolis-database-default
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
litepolis_database_default-0.0.3-py3-none-any.whl -
Subject digest:
a716b9c92dfc1835350e83c77835e3efb632a634bd9ce19fc146dc958d9becad - Sigstore transparency entry: 193675569
- Sigstore integration time:
-
Permalink:
NewJerseyStyle/LitePolis-database-default@586e4cab78ed9074a755c243d33289e7c6f8139a -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/NewJerseyStyle
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@586e4cab78ed9074a755c243d33289e7c6f8139a -
Trigger Event:
release
-
Statement type: