settings and initialize the konfuzio-sdk correctly.
To test our SDK you need to have an account in the Konfuzio Server and initialize the package before using it. If you are using PyCharm have a look at Quickstart with Pycharm.
1. Sign up in Konfuzio Server¶
Register for free in the Konfuzio Server.
konfuzio_sdk on your machine you can install it via:
Install the Python package directly in your working directory with:
pip install konfuzio_sdk
Your coding environment should have a Python version >= 3.6.
If you are not using a virtual environment, you may need to add the installation directory to your PATH.
3. Initialize the package¶
After the installation, initialize the package in your working directory with:
This will require your credentials to access the Konfuzio Server. At the end, one file will be created in your working directory: `.env.
.env file contains the credentials to access the app and should not become public.
4. Download the data¶
To download the data from your Konfuzio project you need to specify the project ID. You can check your project ID by selecting the project in the Projects tab in the Web App. The ID of the project is shown in the URL.
konfuzio_sdk download_data 123
The data from the documents that you uploaded in your Konfuzio project will be downloaded to a folder called “data_” followed by the ID of the project.
Note: Only documents in the training or test set are downloaded.