kodexa 6.1.3__tar.gz → 6.1.14615988279__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.
Files changed (41) hide show
  1. {kodexa-6.1.3 → kodexa-6.1.14615988279}/PKG-INFO +12 -2
  2. {kodexa-6.1.3 → kodexa-6.1.14615988279}/README.md +11 -1
  3. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/model/model.py +9 -4
  4. {kodexa-6.1.3 → kodexa-6.1.14615988279}/pyproject.toml +1 -1
  5. {kodexa-6.1.3 → kodexa-6.1.14615988279}/setup.py +2 -2
  6. {kodexa-6.1.3 → kodexa-6.1.14615988279}/LICENSE +0 -0
  7. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/__init__.py +0 -0
  8. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/assistant/__init__.py +0 -0
  9. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/assistant/assistant.py +0 -0
  10. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/connectors/__init__.py +0 -0
  11. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/connectors/connectors.py +0 -0
  12. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/model/__init__.py +0 -0
  13. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/model/base.py +0 -0
  14. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/model/objects.py +0 -0
  15. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/model/persistence.py +0 -0
  16. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/pipeline/__init__.py +0 -0
  17. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/pipeline/pipeline.py +0 -0
  18. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/platform/__init__.py +0 -0
  19. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/platform/client.py +0 -0
  20. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/platform/kodexa.py +0 -0
  21. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/__init__.py +0 -0
  22. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/ast.py +0 -0
  23. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/core.py +0 -0
  24. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/lexrules.py +0 -0
  25. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/lextab.py +0 -0
  26. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/lextab.pyi +0 -0
  27. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/parserules.py +0 -0
  28. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/parserules.pyi +0 -0
  29. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/parsetab.py +0 -0
  30. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/selectors/parsetab.pyi +0 -0
  31. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/spatial/__init__.py +0 -0
  32. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/spatial/azure_models.py +0 -0
  33. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/spatial/bbox_common.py +0 -0
  34. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/spatial/table_form_common.py +0 -0
  35. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/steps/__init__.py +0 -0
  36. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/steps/common.py +0 -0
  37. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/testing/__init__.py +0 -0
  38. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/testing/test_components.py +0 -0
  39. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/testing/test_utils.py +0 -0
  40. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/training/__init__.py +0 -0
  41. {kodexa-6.1.3 → kodexa-6.1.14615988279}/kodexa/training/train_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kodexa
3
- Version: 6.1.3
3
+ Version: 6.1.14615988279
4
4
  Summary: Python SDK for the Kodexa Platform
5
5
  Author: Austin Redenbaugh
6
6
  Author-email: austin@kodexa.com
@@ -70,7 +70,16 @@ Documentation is available at the [Kodexa Documentation Portal](https://docs.kod
70
70
 
71
71
  ## Current Development
72
72
 
73
- The main branch is 6.0 which is a production release.
73
+ [//]: # (Replace it with the diagrams and descriptions for build releases)
74
+ **BUILD VERSION FLOW**
75
+ ![build-version-flow.png](docs%2Fbuild-version-flow.png)
76
+
77
+ Build version will differ based on the branches that are published to pypi.
78
+
79
+ **GITHUB PROCESS**
80
+ ![github-process.png](docs%2Fgithub-process.png)
81
+ Changes that contain bugs, features, and fixes should first be pushed to the test branch.
82
+ Once 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.
74
83
 
75
84
  ## Set-up
76
85
 
@@ -90,3 +99,4 @@ We welcome contributions to the Kodexa platform. Please see our [contributing gu
90
99
 
91
100
  Apache 2.0
92
101
 
102
+
@@ -36,7 +36,16 @@ Documentation is available at the [Kodexa Documentation Portal](https://docs.kod
36
36
 
37
37
  ## Current Development
38
38
 
39
- The main branch is 6.0 which is a production release.
39
+ [//]: # (Replace it with the diagrams and descriptions for build releases)
40
+ **BUILD VERSION FLOW**
41
+ ![build-version-flow.png](docs%2Fbuild-version-flow.png)
42
+
43
+ Build version will differ based on the branches that are published to pypi.
44
+
45
+ **GITHUB PROCESS**
46
+ ![github-process.png](docs%2Fgithub-process.png)
47
+ Changes that contain bugs, features, and fixes should first be pushed to the test branch.
48
+ Once 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.
40
49
 
41
50
  ## Set-up
42
51
 
@@ -55,3 +64,4 @@ We welcome contributions to the Kodexa platform. Please see our [contributing gu
55
64
  # License
56
65
 
57
66
  Apache 2.0
67
+
@@ -1535,10 +1535,15 @@ class ContentNode(object):
1535
1535
 
1536
1536
  if not node:
1537
1537
  if (traverse == traverse.ALL or traverse == traverse.PARENT) and self.get_parent().get_parent():
1538
- # can now traverse content-areas.. can add traversal of pages if needed, but don't think the scenario exists.
1539
- potential_next_node = self.get_parent().get_parent().get_children()[self.get_parent().index + 1].get_children()[0]
1540
- if potential_next_node:
1541
- return potential_next_node
1538
+ try:
1539
+ potential_next_node = self.get_parent().get_parent().get_children()[self.get_parent().index + 1].get_children()[0]
1540
+ if potential_next_node:
1541
+ return potential_next_node
1542
+ except:
1543
+ # traverse additional layer
1544
+ potential_next_node = self.get_parent().get_parent().get_parent().get_children()[self.get_parent().get_parent().index + 1].get_children()[0].get_children()[0]
1545
+ if potential_next_node:
1546
+ return potential_next_node
1542
1547
  return node
1543
1548
 
1544
1549
  if compiled_node_type_re.match(node.node_type) and (not skip_virtual or not node.virtual):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kodexa"
3
- version = "6.1.3"
3
+ version = "6.1.14615988279"
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,9 +37,9 @@ install_requires = \
37
37
 
38
38
  setup_kwargs = {
39
39
  'name': 'kodexa',
40
- 'version': '6.1.3',
40
+ 'version': '6.1.14615988279',
41
41
  'description': 'Python SDK for the Kodexa Platform',
42
- 'long_description': '# Kodexa\n\n[![Build and Package with Poetry](https://github.com/kodexa-ai/kodexa/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/kodexa-ai/kodexa/actions/workflows/main.yml)\n\n![img.png](https://docs.kodexa.com/img.png)\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\nThe main branch is 6.0 which is a production release.\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',
42
+ 'long_description': '# Kodexa\n\n[![Build and Package with Poetry](https://github.com/kodexa-ai/kodexa/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/kodexa-ai/kodexa/actions/workflows/main.yml)\n\n![img.png](https://docs.kodexa.com/img.png)\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![build-version-flow.png](docs%2Fbuild-version-flow.png)\n\nBuild version will differ based on the branches that are published to pypi.\n\n**GITHUB PROCESS**\n![github-process.png](docs%2Fgithub-process.png)\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',
44
44
  'author_email': 'austin@kodexa.com',
45
45
  'maintainer': 'None',
File without changes