FastAPI
Project description
kf_sdk
Kappa Framwork Python SDK for Kappa v.1.0.0
- API version: 0.1.0
- Package version: 1.0.0
Requirements.
Python 3.8+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install kf_sdk
(you may need to run pip with root permission: sudo pip install kf_sdk)
Then import the package:
import kf_sdk
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import kf_sdk
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import kf_sdk
from kf_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = kf_sdk.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with kf_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = kf_sdk.DashboardDataApi(api_client)
user_id = 56 # int |
user_type_id = 56 # int |
try:
# Get Dashboard Data
api_response = api_instance.get_dashboard_data_dashboard_user_id_user_type_id_get(user_id, user_type_id)
print("The response of DashboardDataApi->get_dashboard_data_dashboard_user_id_user_type_id_get:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling DashboardDataApi->get_dashboard_data_dashboard_user_id_user_type_id_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DashboardDataApi | get_dashboard_data_dashboard_user_id_user_type_id_get | GET /dashboard/{user_id}/{user_type_id} | Get Dashboard Data |
| DatasetManagementApi | delete_dataset_entities_datasets_dataset_entities_user_id_user_type_id_delete | DELETE /datasets/datasetEntities/{user_id}/{user_type_id} | Delete Dataset Entities |
| DatasetManagementApi | delete_entity_files_datasets_dataset_entities_files_user_id_user_type_id_delete | DELETE /datasets/datasetEntities/files/{user_id}/{user_type_id} | Delete Entity Files |
| DatasetManagementApi | get_dataset_entities_datasets_dataset_entities_user_id_user_type_id_dataset_id_get | GET /datasets/datasetEntities/{user_id}/{user_type_id}/{dataset_id} | Get Dataset Entities |
| DatasetManagementApi | get_dataset_item_datasets_dataset_entities_user_id_user_type_id_dataset_id_dataset_entity_id_get | GET /datasets/datasetEntities/{user_id}/{user_type_id}/{dataset_id}/{dataset_entity_id} | Get Dataset Item |
| DatasetManagementApi | get_entity_file_datasets_dataset_entities_files_user_id_user_type_id_dataset_id_file_id_get | GET /datasets/datasetEntities/files/{user_id}/{user_type_id}/{dataset_id}/{file_id} | Get Entity File |
| DatasetManagementApi | get_thumbnail_datasets_dataset_entities_thumbnail_user_id_user_type_id_dataset_id_file_id_get | GET /datasets/datasetEntities/thumbnail/{user_id}/{user_type_id}/{dataset_id}/{file_id} | Get Thumbnail |
| DatasetManagementApi | get_user_datasets_datasets_user_id_user_type_id_get | GET /datasets/{user_id}/{user_type_id} | Get User Datasets |
| DatasetManagementApi | new_dataset_datasets_user_id_user_type_id_post | POST /datasets/{user_id}/{user_type_id} | New Dataset |
| DatasetManagementApi | new_dataset_entity_datasets_dataset_entities_user_id_user_type_id_post | POST /datasets/datasetEntities/{user_id}/{user_type_id} | New Dataset Entity |
| DatasetManagementApi | recover_dataset_entities_datasets_dataset_entities_recover_user_id_user_type_id_post | POST /datasets/datasetEntities/recover/{user_id}/{user_type_id} | Recover Dataset Entities |
| DatasetManagementApi | update_dataset_entity_datasets_dataset_entities_user_id_user_type_id_dataset_id_dataset_entity_id_put | PUT /datasets/datasetEntities/{user_id}/{user_type_id}/{dataset_id}/{dataset_entity_id} | Update Dataset Entity |
| LocationManagementApi | delete_location_locations_user_id_user_type_id_location_id_delete | DELETE /locations/{user_id}/{user_type_id}/{location_id} | Delete Location |
| LocationManagementApi | get_user_locations_locations_user_id_user_type_id_get | GET /locations/{user_id}/{user_type_id} | Get User Locations |
| LocationManagementApi | new_location_locations_user_id_user_type_id_post | POST /locations/{user_id}/{user_type_id} | New Location |
| LocationManagementApi | recover_location_locations_user_id_user_type_id_location_id_put | PUT /locations/{user_id}/{user_type_id}/{location_id} | Recover Location |
| LocationManagementApi | update_location_locations_user_id_user_type_id_put | PUT /locations/{user_id}/{user_type_id} | Update Location |
| SessionManagementApi | delete_session_session_logout_user_id_user_type_id_delete | DELETE /session/logout/{user_id}/{user_type_id} | Delete Session |
| SessionManagementApi | new_session_session_login_post | POST /session/login | New Session |
| UsersManagementApi | forgot_password_users_forgot_password_post | POST /users/forgotPassword | Forgot Password |
| UsersManagementApi | get_profile_picture_users_profile_pic_user_id_user_type_id_get | GET /users/profilePic/{user_id}/{user_type_id} | Get Profile Picture |
| UsersManagementApi | get_user_locations_users_students_user_id_user_type_id_get | GET /users/students/{user_id}/{user_type_id} | Get User Locations |
| UsersManagementApi | new_student_users_students_user_id_user_type_id_post | POST /users/students/{user_id}/{user_type_id} | New Student |
| UsersManagementApi | reset_password_users_reset_password_post | POST /users/resetPassword | Reset Password |
| UsersManagementApi | update_profile_picture_users_profile_pic_user_id_user_type_id_post | POST /users/profilePic/{user_id}/{user_type_id} | Update Profile Picture |
| UsersManagementApi | update_user_profile_users_user_id_user_type_id_put | PUT /users/{user_id}/{user_type_id} | Update User Profile |
| UsersManagementApi | validate_user_sign_up_users_validate_user_id_user_type_id_post | POST /users/validate/{user_id}/{user_type_id} | Validate User Sign Up |
Documentation For Models
- DatasetDetails
- DatasetEntityDetails
- DeleteDatasetEntities
- EntityFileDetails
- ForgotPassword
- HTTPValidationError
- LocationDetails
- NewDataset
- NewDatasetEntity
- NewLocation
- NewSession
- NewStudent
- ResetPassword
- StudentDetails
- UpdateDatasetEntity
- UpdateLocation
- UpdateUser
- UserDetails
- ValidationError
- ValidationErrorLocInner
Documentation For Authorization
Endpoints do not require authorization.
Authors
Kumar R., Pavlovskiy E.N., Ivankov P., Denisov S., Mishchenko A., Bolotov K.
Исследование выполнено за счет финансовой поддержки (гранта) исследовательских центров, предоставленной Автономной некоммерческой организацией «Аналитический центр при Правительстве Российской Федерации», идентификатор соглашения о предоставлении субсидии 000000D730324P540002, договор о предоставлении гранта с Новосибирским государственным университетом от 27.12.2023 № 70-2023-001318, мероприятие № 23 «Выполнение работ в 2024 г. по ТЗ (проект Научные исследования в области ИИ (Фреймворк «КАППА»))», тематика Программы № 1 «Научные исследования в области ИИ для строительства и городской среды».
This work was supported by a grant for research centers, provided by the Analytical Center for the Government of the Russian Federation in accordance with the subsidy agreement (agreement identifier 000000D730324P540002) and the agreement with the Novosibirsk State University dated December 27, 2023 No. 70-2023-001318.
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 kf_sdk-1.0.0.tar.gz.
File metadata
- Download URL: kf_sdk-1.0.0.tar.gz
- Upload date:
- Size: 35.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c6ece83783c25cc99258eba451c70756482f5cb05215e8ff3b71908cfe39c25
|
|
| MD5 |
7908ce47eca40751a1a0f4331f571a7f
|
|
| BLAKE2b-256 |
0418a264fdf295dcab914e4ffc253d2984a79e7ca171ee0071c3468a2f80ba9b
|
File details
Details for the file kf_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kf_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 46.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f203a9af63d177c7b4c7962150d6d9f2baca3fcf5c90abff81ea1f54cf85299c
|
|
| MD5 |
6a53d034a93ef98e6d52dff08f9b8716
|
|
| BLAKE2b-256 |
3de1c1467ac1bd9c88e784356f93f7f597479204b4eb439eb261bed56d2ad0f1
|