File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11![ kern-python] ( https://uploads-ssl.webflow.com/61e47fafb12bd56b40022a49/62766400bd3c57b579d289bf_kern-python%20Banner.png )
22[ ![ Python 3.9] ( https://img.shields.io/badge/python-3.9-blue.svg )] ( https://www.python.org/downloads/release/python-390/ )
3- [ ![ pypi 1.0.0 ] ( https://img.shields.io/badge/pypi-1.0.0 -yellow.svg )] ( https://pypi.org/project/kern-sdk/1.0.0 / )
3+ [ ![ pypi 1.0.1 ] ( https://img.shields.io/badge/pypi-1.0.1 -yellow.svg )] ( https://pypi.org/project/kern-sdk/1.0.1 / )
44
55
66This is the official Python SDK for [ * refinery* ] ( https://github.com/code-kern-ai/refinery ) , your ** open-source** data-centric IDE for NLP.
Original file line number Diff line number Diff line change 1+ import os
2+ from wasabi import msg
13from typing import Any , List , Optional
24import pandas as pd
35import yaml
6+ from kern import Client
7+ from collections import OrderedDict
48
59# https://stackoverflow.com/questions/8640959/how-can-i-control-what-scalar-form-pyyaml-uses-for-my-data
610class literal (str ):
@@ -20,12 +24,6 @@ def ordered_dict_presenter(dumper, data):
2024
2125yaml .add_representer (OrderedDict , ordered_dict_presenter )
2226
23- import os
24- from collections import OrderedDict
25- from wasabi import msg
26-
27- from kern import Client
28-
2927CONSTANT_OUTSIDE = "OUTSIDE"
3028CONSTANT_LABEL_BEGIN = "B-"
3129CONSTANT_LABEL_INTERMEDIATE = "I-"
Original file line number Diff line number Diff line change 1010
1111setup (
1212 name = "kern-sdk" ,
13- version = "1.0.0 " ,
13+ version = "1.0.1 " ,
1414 author = "jhoetter" ,
1515 author_email = "johannes.hoetter@kern.ai" ,
1616 description = "Official SDK for the Kern AI API" ,
You can’t perform that action at this time.
0 commit comments