kodexa 6.2.25190248240__tar.gz → 6.2.25191410465__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/PKG-INFO +1 -1
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/platform/client.py +17 -8
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/pyproject.toml +1 -1
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/setup.py +1 -1
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/LICENSE +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/README.md +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/assistant/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/assistant/assistant.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/connectors/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/connectors/connectors.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/model/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/model/base.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/model/model.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/model/objects.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/model/persistence.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/pipeline/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/pipeline/pipeline.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/platform/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/platform/kodexa.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/ast.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/core.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/lexrules.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/lextab.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/lextab.pyi +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/parserules.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/parserules.pyi +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/parsetab.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/selectors/parsetab.pyi +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/spatial/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/spatial/azure_models.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/spatial/bbox_common.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/spatial/table_form_common.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/steps/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/steps/common.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/testing/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/testing/test_components.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/testing/test_utils.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/training/__init__.py +0 -0
- {kodexa-6.2.25190248240 → kodexa-6.2.25191410465}/kodexa/training/train_utils.py +0 -0
@@ -28,10 +28,10 @@ from kodexa.model.objects import PageStore, PageTaxonomy, PageProject, PageOrgan
|
|
28
28
|
PlatformOverview, DocumentFamily, DocumentContentMetadata, ModelContentMetadata, ExtensionPack, Pipeline, \
|
29
29
|
AssistantDefinition, Action, ModelRuntime, CredentialDefinition, Execution, PageAssistantDefinition, \
|
30
30
|
PageCredentialDefinition, \
|
31
|
-
PageProjectTemplate, PageUser, User,
|
31
|
+
PageProjectTemplate, PageUser, User, ContentObject, Taxon, SlugBasedMetadata, DataObject, \
|
32
32
|
PageDataObject, Assistant, ProjectTemplate, PageExtensionPack, DeploymentOptions, PageMembership, Membership, \
|
33
33
|
PageDocumentFamily, ProjectResourcesUpdate, DataAttribute, PageNote, PageDataForm, DataForm, Store, PageExecution, \
|
34
|
-
Dashboard, PageAction, PagePipeline, DocumentStatus, ModelTraining, PageModelTraining, ContentException,
|
34
|
+
Dashboard, PageAction, PagePipeline, DocumentStatus, ModelTraining, PageModelTraining, ContentException, \
|
35
35
|
CustomEvent, ProjectTag, PageDataException, DataException, ReprocessRequest, PageWorkspace, Workspace, PageChannel, \
|
36
36
|
PageMessage, Message, Channel, PageDashboard
|
37
37
|
|
@@ -737,6 +737,7 @@ class ComponentInstanceEndpoint(ClientEndpoint, SlugBasedMetadata):
|
|
737
737
|
raise Exception("Can't create as it already exists")
|
738
738
|
url = f"/api/{self.get_type()}/{self.org_slug}"
|
739
739
|
self.client.post(url, self.to_dict())
|
740
|
+
return self
|
740
741
|
|
741
742
|
def update(self):
|
742
743
|
"""Update the component instance"""
|
@@ -745,6 +746,7 @@ class ComponentInstanceEndpoint(ClientEndpoint, SlugBasedMetadata):
|
|
745
746
|
if not exists:
|
746
747
|
raise Exception("Can't update as it doesn't exist?")
|
747
748
|
self.client.put(url, self.to_dict())
|
749
|
+
return self
|
748
750
|
|
749
751
|
def delete(self):
|
750
752
|
"""Delete the component instance"""
|
@@ -951,20 +953,27 @@ class ProjectModelStoresEndpoint(ProjectResourceEndpoint):
|
|
951
953
|
return ModelStoreEndpoint
|
952
954
|
|
953
955
|
|
954
|
-
class
|
955
|
-
"""Represents a
|
956
|
+
class MessageEndpoint(EntityEndpoint, Message):
|
957
|
+
"""Represents a message endpoint"""
|
956
958
|
|
957
959
|
def get_type(self) -> str:
|
958
960
|
"""Get the type of the endpoint"""
|
959
|
-
return "
|
961
|
+
return "messages"
|
960
962
|
|
961
963
|
|
962
|
-
class
|
963
|
-
"""Represents a
|
964
|
+
class ChannelEndpoint(EntityEndpoint, Channel):
|
965
|
+
"""Represents a channel endpoint"""
|
964
966
|
|
965
967
|
def get_type(self) -> str:
|
966
968
|
"""Get the type of the endpoint"""
|
967
|
-
return "
|
969
|
+
return "channels"
|
970
|
+
|
971
|
+
def send_text_message(self, content: str) -> MessageEndpoint:
|
972
|
+
new_message = MessageEndpoint().set_client(self.client)
|
973
|
+
new_message.channel = self
|
974
|
+
new_message.content = content
|
975
|
+
new_message.type = "TEXT"
|
976
|
+
return new_message.create()
|
968
977
|
|
969
978
|
|
970
979
|
class WorkspaceEndpoint(EntityEndpoint, Workspace):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "kodexa"
|
3
|
-
version = "6.2.
|
3
|
+
version = "6.2.25191410465"
|
4
4
|
description = "Python SDK for the Kodexa Platform"
|
5
5
|
authors = ["Austin Redenbaugh <austin@kodexa.com>", "Philip Dodds <philip@kodexa.com>", "Romar Cablao <rcablao@kodexa.com>", "Amadea Paula Dodds <amadeapaula@kodexa.com>"]
|
6
6
|
readme = "README.md"
|
@@ -37,7 +37,7 @@ install_requires = \
|
|
37
37
|
|
38
38
|
setup_kwargs = {
|
39
39
|
'name': 'kodexa',
|
40
|
-
'version': '6.2.
|
40
|
+
'version': '6.2.25191410465',
|
41
41
|
'description': 'Python SDK for the Kodexa Platform',
|
42
42
|
'long_description': '# Kodexa\n\n[](https://github.com/kodexa-ai/kodexa/actions/workflows/main.yml)\n\n\n\nKodexa is a platform for building intelligent document processing pipelines. It is a set of tools and services that\nallow you to build a pipeline that can take a document, extract the content, and then process it to extract the\ninformation you need.\n\nIt is built on a set of core principles:\n\n* **Document Centric** - Kodexa is built around the idea of a document. A document is a collection of content\n nodes that are connected together. This is a powerful model that allows you to build pipelines that can\n extract content from a wide range of sources.\n\n* **Pipeline Oriented** - Kodexa is built around the idea of a pipeline. A pipeline is a series of steps that\n can be executed on a document. This allows you to build a pipeline that can extract content from a wide range\n of sources.\n\n* **Extensible** - Kodexa is built around the idea of a pipeline. A pipeline is a series of steps that can be executed\n on a document. This allows you to build a pipeline that can extract content from a wide range of sources.\n\n* **Label Driven** - Kodexa focuses on the idea of labels. Labels are a way to identify content within a document\n and then use that content to drive the processing of the document.\n\n# Python SDK\n\nThis repository contains the Python SDK for Kodexa. The SDK is the primary way to interact with Kodexa. It allows you to\ndefine actions, models, and pipelines that can be executed on Kodexa. It also includes a complete SDK client for\nworking with a Kodexa platform instance.\n\n## Documentation & Examples\n\nDocumentation is available at the [Kodexa Documentation Portal](https://docs.kodexa.com)\n\n## Current Development\n\n[//]: # (Replace it with the diagrams and descriptions for build releases)\n**BUILD VERSION FLOW**\n\nBuild version will differ based on the branches that are published to pypi.\n\n**GITHUB PROCESS**\n\nChanges that contain bugs, features, and fixes should first be pushed to the test branch. \nOnce these changes are thoroughly tested, they can be submitted as a pull request to the main branch. The pull request should be reviewed and approved by an appropriate person before the changes can be merged.\n\n## Set-up\n\nWe use poetry to manage our dependencies, so you can install them with:\n\n poetry install\n\nYou can then run the tests with:\n\n poetry run pytest\n\n# Contributing\n\nWe welcome contributions to the Kodexa platform. Please see our [contributing guide](CONTRIBUTING.md) for more details.\n\n# License\n\nApache 2.0\n\n',
|
43
43
|
'author': 'Austin Redenbaugh',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|