Library containing the core modules for the kingdom-python-server
Project description
🏰 Kingdom Core
Library containing the core modules for the kingdom-python-server.
Test
To test the database package, you need do it manually, running a migration. Make sure the database is configured before.
cd tests/poc/
alembic revision --autogenerate
alembic upgrade head
The rest, run pytest
.
Don't commit the generated revision.
Installation
Use the package manager pip to install kingdom-core
.
pip install kingdom-core
You can use poetry as well.
poetry add kingdom-core
Usage
from kingdom_sdk.utils import files
orm_files = files.find("orm.py", "/")
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
This file is based on Make a README.
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
File details
Details for the file kingdom-sdk-0.3.0.tar.gz
.
File metadata
- Download URL: kingdom-sdk-0.3.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7347fe1a48ff44d52168ba4fb3fb1400a983f7dfb269e0c49341375011a7cf54 |
|
MD5 | 7568b00ce395ab0a68c41e2d5aec3b45 |
|
BLAKE2b-256 | d2323280fc7e491be250fc989d2610360821ef60b5f419c3ee2b909c858e3862 |
File details
Details for the file kingdom_sdk-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: kingdom_sdk-0.3.0-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc8dea5d5eba2263d0403352ac61a8152bd5f74fc74fdf0499266042e4ef93c3 |
|
MD5 | b3cdbfab4810ba1415ba08707b3304c3 |
|
BLAKE2b-256 | 7b34808055740a86f1e673bf9a3b0d0245ed49635fdb30b5e600681cfa16b0d2 |