perceptic-core-client 0.30.0__py3-none-any.whl → 0.31.0__py3-none-any.whl

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.

Potentially problematic release.


This version of perceptic-core-client might be problematic. Click here for more details.

Files changed (29) hide show
  1. perceptic_core_client/__init__.py +22 -0
  2. perceptic_core_client/api/__init__.py +1 -0
  3. perceptic_core_client/api/citations_resource_api.py +569 -0
  4. perceptic_core_client/models/__init__.py +10 -0
  5. perceptic_core_client/models/biotech_analysis_api_dto.py +119 -0
  6. perceptic_core_client/models/biotech_analysis_image_annotated_citation_api_dto.py +91 -0
  7. perceptic_core_client/models/bulk_get_citations_request.py +87 -0
  8. perceptic_core_client/models/bulk_get_citations_response.py +95 -0
  9. perceptic_core_client/models/citation_api_dto.py +102 -0
  10. perceptic_core_client/models/citation_metadata_api_dto.py +189 -0
  11. perceptic_core_client/models/get_citation_output_uri_response.py +87 -0
  12. perceptic_core_client/models/highlighted_text_citation_metadata_api_dto.py +91 -0
  13. perceptic_core_client/models/image_detection_box_api_dto.py +97 -0
  14. perceptic_core_client/models/web_page_citation_metadata_api_dto.py +89 -0
  15. perceptic_core_client/test/test_biotech_analysis_api_dto.py +77 -0
  16. perceptic_core_client/test/test_biotech_analysis_image_annotated_citation_api_dto.py +78 -0
  17. perceptic_core_client/test/test_bulk_get_citations_request.py +53 -0
  18. perceptic_core_client/test/test_bulk_get_citations_response.py +57 -0
  19. perceptic_core_client/test/test_citation_api_dto.py +54 -0
  20. perceptic_core_client/test/test_citation_metadata_api_dto.py +83 -0
  21. perceptic_core_client/test/test_citations_resource_api.py +45 -0
  22. perceptic_core_client/test/test_get_citation_output_uri_response.py +51 -0
  23. perceptic_core_client/test/test_highlighted_text_citation_metadata_api_dto.py +53 -0
  24. perceptic_core_client/test/test_image_detection_box_api_dto.py +56 -0
  25. perceptic_core_client/test/test_web_page_citation_metadata_api_dto.py +52 -0
  26. {perceptic_core_client-0.30.0.dist-info → perceptic_core_client-0.31.0.dist-info}/METADATA +1 -1
  27. {perceptic_core_client-0.30.0.dist-info → perceptic_core_client-0.31.0.dist-info}/RECORD +29 -7
  28. {perceptic_core_client-0.30.0.dist-info → perceptic_core_client-0.31.0.dist-info}/WHEEL +0 -0
  29. {perceptic_core_client-0.30.0.dist-info → perceptic_core_client-0.31.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,78 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.models.biotech_analysis_image_annotated_citation_api_dto import BiotechAnalysisImageAnnotatedCitationApiDto
18
+
19
+ class TestBiotechAnalysisImageAnnotatedCitationApiDto(unittest.TestCase):
20
+ """BiotechAnalysisImageAnnotatedCitationApiDto unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> BiotechAnalysisImageAnnotatedCitationApiDto:
29
+ """Test BiotechAnalysisImageAnnotatedCitationApiDto
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `BiotechAnalysisImageAnnotatedCitationApiDto`
34
+ """
35
+ model = BiotechAnalysisImageAnnotatedCitationApiDto()
36
+ if include_optional:
37
+ return BiotechAnalysisImageAnnotatedCitationApiDto(
38
+ analysis = perceptic_core_client.models.biotech_analysis_api_dto.BiotechAnalysisApiDto(
39
+ raw_analysis = '',
40
+ compound_data_present = True,
41
+ compounds = [
42
+ ''
43
+ ],
44
+ development_stage = '',
45
+ therapeutic_area = '',
46
+ key_findings = [
47
+ ''
48
+ ],
49
+ risks = [
50
+ ''
51
+ ],
52
+ market_potential = '',
53
+ confidence = 1.337,
54
+ reasoning = '',
55
+ bounding_boxes = [
56
+ perceptic_core_client.models.image_detection_box_api_dto.ImageDetectionBoxApiDto(
57
+ x_min = 56,
58
+ y_min = 56,
59
+ x_max = 56,
60
+ y_max = 56,
61
+ label = '',
62
+ confidence = 1.337, )
63
+ ],
64
+ page_index = 56,
65
+ character_count = 56, )
66
+ )
67
+ else:
68
+ return BiotechAnalysisImageAnnotatedCitationApiDto(
69
+ )
70
+ """
71
+
72
+ def testBiotechAnalysisImageAnnotatedCitationApiDto(self):
73
+ """Test BiotechAnalysisImageAnnotatedCitationApiDto"""
74
+ # inst_req_only = self.make_instance(include_optional=False)
75
+ # inst_req_and_optional = self.make_instance(include_optional=True)
76
+
77
+ if __name__ == '__main__':
78
+ unittest.main()
@@ -0,0 +1,53 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.models.bulk_get_citations_request import BulkGetCitationsRequest
18
+
19
+ class TestBulkGetCitationsRequest(unittest.TestCase):
20
+ """BulkGetCitationsRequest unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> BulkGetCitationsRequest:
29
+ """Test BulkGetCitationsRequest
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `BulkGetCitationsRequest`
34
+ """
35
+ model = BulkGetCitationsRequest()
36
+ if include_optional:
37
+ return BulkGetCitationsRequest(
38
+ ids = [
39
+ ''
40
+ ]
41
+ )
42
+ else:
43
+ return BulkGetCitationsRequest(
44
+ )
45
+ """
46
+
47
+ def testBulkGetCitationsRequest(self):
48
+ """Test BulkGetCitationsRequest"""
49
+ # inst_req_only = self.make_instance(include_optional=False)
50
+ # inst_req_and_optional = self.make_instance(include_optional=True)
51
+
52
+ if __name__ == '__main__':
53
+ unittest.main()
@@ -0,0 +1,57 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.models.bulk_get_citations_response import BulkGetCitationsResponse
18
+
19
+ class TestBulkGetCitationsResponse(unittest.TestCase):
20
+ """BulkGetCitationsResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> BulkGetCitationsResponse:
29
+ """Test BulkGetCitationsResponse
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `BulkGetCitationsResponse`
34
+ """
35
+ model = BulkGetCitationsResponse()
36
+ if include_optional:
37
+ return BulkGetCitationsResponse(
38
+ citations = [
39
+ perceptic_core_client.models.citation_api_dto.CitationApiDto(
40
+ id = '',
41
+ input_uri = '',
42
+ output_artifact_uri = '',
43
+ metadata = perceptic_core_client.models.citation_metadata_api_dto.CitationMetadataApiDto(), )
44
+ ]
45
+ )
46
+ else:
47
+ return BulkGetCitationsResponse(
48
+ )
49
+ """
50
+
51
+ def testBulkGetCitationsResponse(self):
52
+ """Test BulkGetCitationsResponse"""
53
+ # inst_req_only = self.make_instance(include_optional=False)
54
+ # inst_req_and_optional = self.make_instance(include_optional=True)
55
+
56
+ if __name__ == '__main__':
57
+ unittest.main()
@@ -0,0 +1,54 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.models.citation_api_dto import CitationApiDto
18
+
19
+ class TestCitationApiDto(unittest.TestCase):
20
+ """CitationApiDto unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> CitationApiDto:
29
+ """Test CitationApiDto
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `CitationApiDto`
34
+ """
35
+ model = CitationApiDto()
36
+ if include_optional:
37
+ return CitationApiDto(
38
+ id = '',
39
+ input_uri = '',
40
+ output_artifact_uri = '',
41
+ metadata = perceptic_core_client.models.citation_metadata_api_dto.CitationMetadataApiDto()
42
+ )
43
+ else:
44
+ return CitationApiDto(
45
+ )
46
+ """
47
+
48
+ def testCitationApiDto(self):
49
+ """Test CitationApiDto"""
50
+ # inst_req_only = self.make_instance(include_optional=False)
51
+ # inst_req_and_optional = self.make_instance(include_optional=True)
52
+
53
+ if __name__ == '__main__':
54
+ unittest.main()
@@ -0,0 +1,83 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.models.citation_metadata_api_dto import CitationMetadataApiDto
18
+
19
+ class TestCitationMetadataApiDto(unittest.TestCase):
20
+ """CitationMetadataApiDto unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> CitationMetadataApiDto:
29
+ """Test CitationMetadataApiDto
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `CitationMetadataApiDto`
34
+ """
35
+ model = CitationMetadataApiDto()
36
+ if include_optional:
37
+ return CitationMetadataApiDto(
38
+ page_index = 56,
39
+ paragraph_index = 56,
40
+ text = '',
41
+ url = '',
42
+ description = '',
43
+ analysis = perceptic_core_client.models.biotech_analysis_api_dto.BiotechAnalysisApiDto(
44
+ raw_analysis = '',
45
+ compound_data_present = True,
46
+ compounds = [
47
+ ''
48
+ ],
49
+ development_stage = '',
50
+ therapeutic_area = '',
51
+ key_findings = [
52
+ ''
53
+ ],
54
+ risks = [
55
+ ''
56
+ ],
57
+ market_potential = '',
58
+ confidence = 1.337,
59
+ reasoning = '',
60
+ bounding_boxes = [
61
+ perceptic_core_client.models.image_detection_box_api_dto.ImageDetectionBoxApiDto(
62
+ x_min = 56,
63
+ y_min = 56,
64
+ x_max = 56,
65
+ y_max = 56,
66
+ label = '',
67
+ confidence = 1.337, )
68
+ ],
69
+ page_index = 56,
70
+ character_count = 56, )
71
+ )
72
+ else:
73
+ return CitationMetadataApiDto(
74
+ )
75
+ """
76
+
77
+ def testCitationMetadataApiDto(self):
78
+ """Test CitationMetadataApiDto"""
79
+ # inst_req_only = self.make_instance(include_optional=False)
80
+ # inst_req_and_optional = self.make_instance(include_optional=True)
81
+
82
+ if __name__ == '__main__':
83
+ unittest.main()
@@ -0,0 +1,45 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.api.citations_resource_api import CitationsResourceApi
18
+
19
+
20
+ class TestCitationsResourceApi(unittest.TestCase):
21
+ """CitationsResourceApi unit test stubs"""
22
+
23
+ def setUp(self) -> None:
24
+ self.api = CitationsResourceApi()
25
+
26
+ def tearDown(self) -> None:
27
+ pass
28
+
29
+ def test_get_bulk_citations(self) -> None:
30
+ """Test case for get_bulk_citations
31
+
32
+ Get Bulk Citations
33
+ """
34
+ pass
35
+
36
+ def test_get_citation_output_uri(self) -> None:
37
+ """Test case for get_citation_output_uri
38
+
39
+ Get Citation Output Uri
40
+ """
41
+ pass
42
+
43
+
44
+ if __name__ == '__main__':
45
+ unittest.main()
@@ -0,0 +1,51 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.models.get_citation_output_uri_response import GetCitationOutputUriResponse
18
+
19
+ class TestGetCitationOutputUriResponse(unittest.TestCase):
20
+ """GetCitationOutputUriResponse unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> GetCitationOutputUriResponse:
29
+ """Test GetCitationOutputUriResponse
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `GetCitationOutputUriResponse`
34
+ """
35
+ model = GetCitationOutputUriResponse()
36
+ if include_optional:
37
+ return GetCitationOutputUriResponse(
38
+ output_uri = ''
39
+ )
40
+ else:
41
+ return GetCitationOutputUriResponse(
42
+ )
43
+ """
44
+
45
+ def testGetCitationOutputUriResponse(self):
46
+ """Test GetCitationOutputUriResponse"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()
@@ -0,0 +1,53 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.models.highlighted_text_citation_metadata_api_dto import HighlightedTextCitationMetadataApiDto
18
+
19
+ class TestHighlightedTextCitationMetadataApiDto(unittest.TestCase):
20
+ """HighlightedTextCitationMetadataApiDto unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> HighlightedTextCitationMetadataApiDto:
29
+ """Test HighlightedTextCitationMetadataApiDto
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `HighlightedTextCitationMetadataApiDto`
34
+ """
35
+ model = HighlightedTextCitationMetadataApiDto()
36
+ if include_optional:
37
+ return HighlightedTextCitationMetadataApiDto(
38
+ page_index = 56,
39
+ paragraph_index = 56,
40
+ text = ''
41
+ )
42
+ else:
43
+ return HighlightedTextCitationMetadataApiDto(
44
+ )
45
+ """
46
+
47
+ def testHighlightedTextCitationMetadataApiDto(self):
48
+ """Test HighlightedTextCitationMetadataApiDto"""
49
+ # inst_req_only = self.make_instance(include_optional=False)
50
+ # inst_req_and_optional = self.make_instance(include_optional=True)
51
+
52
+ if __name__ == '__main__':
53
+ unittest.main()
@@ -0,0 +1,56 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.models.image_detection_box_api_dto import ImageDetectionBoxApiDto
18
+
19
+ class TestImageDetectionBoxApiDto(unittest.TestCase):
20
+ """ImageDetectionBoxApiDto unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> ImageDetectionBoxApiDto:
29
+ """Test ImageDetectionBoxApiDto
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `ImageDetectionBoxApiDto`
34
+ """
35
+ model = ImageDetectionBoxApiDto()
36
+ if include_optional:
37
+ return ImageDetectionBoxApiDto(
38
+ x_min = 56,
39
+ y_min = 56,
40
+ x_max = 56,
41
+ y_max = 56,
42
+ label = '',
43
+ confidence = 1.337
44
+ )
45
+ else:
46
+ return ImageDetectionBoxApiDto(
47
+ )
48
+ """
49
+
50
+ def testImageDetectionBoxApiDto(self):
51
+ """Test ImageDetectionBoxApiDto"""
52
+ # inst_req_only = self.make_instance(include_optional=False)
53
+ # inst_req_and_optional = self.make_instance(include_optional=True)
54
+
55
+ if __name__ == '__main__':
56
+ unittest.main()
@@ -0,0 +1,52 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ perceptic-core-server API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.0.1-SNAPSHOT
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from perceptic_core_client.models.web_page_citation_metadata_api_dto import WebPageCitationMetadataApiDto
18
+
19
+ class TestWebPageCitationMetadataApiDto(unittest.TestCase):
20
+ """WebPageCitationMetadataApiDto unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> WebPageCitationMetadataApiDto:
29
+ """Test WebPageCitationMetadataApiDto
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `WebPageCitationMetadataApiDto`
34
+ """
35
+ model = WebPageCitationMetadataApiDto()
36
+ if include_optional:
37
+ return WebPageCitationMetadataApiDto(
38
+ url = '',
39
+ description = ''
40
+ )
41
+ else:
42
+ return WebPageCitationMetadataApiDto(
43
+ )
44
+ """
45
+
46
+ def testWebPageCitationMetadataApiDto(self):
47
+ """Test WebPageCitationMetadataApiDto"""
48
+ # inst_req_only = self.make_instance(include_optional=False)
49
+ # inst_req_and_optional = self.make_instance(include_optional=True)
50
+
51
+ if __name__ == '__main__':
52
+ unittest.main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: perceptic-core-client
3
- Version: 0.30.0
3
+ Version: 0.31.0
4
4
  Summary: Python client for Perceptic Core
5
5
  Author-email: Your Name <you@example.com>
6
6
  License: Proprietary