rara-tools 0.6.8__tar.gz → 0.6.10__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.

Potentially problematic release.


This version of rara-tools might be problematic. Click here for more details.

Files changed (61) hide show
  1. {rara_tools-0.6.8/rara_tools.egg-info → rara_tools-0.6.10}/PKG-INFO +1 -1
  2. rara_tools-0.6.10/VERSION +1 -0
  3. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/constants/digitizer.py +1 -0
  4. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/constants/general.py +1 -0
  5. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/elastic.py +3 -2
  6. {rara_tools-0.6.8 → rara_tools-0.6.10/rara_tools.egg-info}/PKG-INFO +1 -1
  7. rara_tools-0.6.8/VERSION +0 -1
  8. {rara_tools-0.6.8 → rara_tools-0.6.10}/LICENSE.md +0 -0
  9. {rara_tools-0.6.8 → rara_tools-0.6.10}/README.md +0 -0
  10. {rara_tools-0.6.8 → rara_tools-0.6.10}/pyproject.toml +0 -0
  11. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/constants/__init__.py +0 -0
  12. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/constants/language_evaluator.py +0 -0
  13. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/constants/linker.py +0 -0
  14. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/constants/meta_extractor.py +0 -0
  15. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/constants/normalizers.py +0 -0
  16. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/constants/parsers.py +0 -0
  17. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/constants/subject_indexer.py +0 -0
  18. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/converters.py +0 -0
  19. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/decorators.py +0 -0
  20. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/digar_schema_converter.py +0 -0
  21. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/exceptions.py +0 -0
  22. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/normalizers/__init__.py +0 -0
  23. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/normalizers/authorities.py +0 -0
  24. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/normalizers/base.py +0 -0
  25. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/normalizers/bibs.py +0 -0
  26. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/normalizers/viaf.py +0 -0
  27. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_parsers/base_parser.py +0 -0
  28. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_parsers/ems_parser.py +0 -0
  29. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_parsers/location_parser.py +0 -0
  30. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_parsers/organization_parser.py +0 -0
  31. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_parsers/person_parser.py +0 -0
  32. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_parsers/title_parser.py +0 -0
  33. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_records/base_record.py +0 -0
  34. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_records/ems_record.py +0 -0
  35. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_records/organization_record.py +0 -0
  36. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_records/person_record.py +0 -0
  37. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/marc_records/title_record.py +0 -0
  38. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/tools/entity_normalizers.py +0 -0
  39. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/tools/marc_converter.py +0 -0
  40. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/parsers/tools/russian_transliterator.py +0 -0
  41. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/s3.py +0 -0
  42. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/task_reporter.py +0 -0
  43. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools/utils.py +0 -0
  44. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools.egg-info/SOURCES.txt +0 -0
  45. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools.egg-info/dependency_links.txt +0 -0
  46. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools.egg-info/requires.txt +0 -0
  47. {rara_tools-0.6.8 → rara_tools-0.6.10}/rara_tools.egg-info/top_level.txt +0 -0
  48. {rara_tools-0.6.8 → rara_tools-0.6.10}/requirements.txt +0 -0
  49. {rara_tools-0.6.8 → rara_tools-0.6.10}/setup.cfg +0 -0
  50. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_digar_schema_converter.py +0 -0
  51. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_elastic.py +0 -0
  52. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_elastic_vector_and_search_operations.py +0 -0
  53. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_entity_normalizers.py +0 -0
  54. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_marc_parsers.py +0 -0
  55. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_normalization.py +0 -0
  56. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_s3_exceptions.py +0 -0
  57. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_s3_file_operations.py +0 -0
  58. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_sierra_converters.py +0 -0
  59. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_task_reporter.py +0 -0
  60. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_utils.py +0 -0
  61. {rara_tools-0.6.8 → rara_tools-0.6.10}/tests/test_viaf_client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rara-tools
3
- Version: 0.6.8
3
+ Version: 0.6.10
4
4
  Summary: Tools to support Kata's work.
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.10
@@ -0,0 +1 @@
1
+ 0.6.10
@@ -1,4 +1,5 @@
1
1
  COMPONENT_KEY = "digitizer"
2
+ ES_INDEX_DEFAULT = "digitizer_output"
2
3
 
3
4
 
4
5
  class ModelTypes:
@@ -4,6 +4,7 @@ class Status:
4
4
  PENDING = "PENDING"
5
5
  RUNNING = "RUNNING"
6
6
  COMPLETED = "COMPLETED"
7
+ BLOCKED = "BLOCKED"
7
8
  RETRYING = "RETRYING"
8
9
 
9
10
 
@@ -23,8 +23,9 @@ class KataElastic:
23
23
  }
24
24
 
25
25
  DEFAULT_MAPPING = {
26
- "text": "keyword",
26
+ "text": "text",
27
27
  "parent_id": "keyword",
28
+ "article_id": "keyword",
28
29
  "text_quality": "float",
29
30
  "n_chars": "integer",
30
31
  "n_words": "integer",
@@ -34,7 +35,7 @@ class KataElastic:
34
35
  "sequence_nr": "integer",
35
36
  "section_title": "keyword",
36
37
  "section_type": "keyword",
37
- "section_meta": "keyword",
38
+ "section_meta": "text",
38
39
  }
39
40
 
40
41
  def __init__(self, elasticsearch_url: str, timeout: Optional[int] = None):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rara-tools
3
- Version: 0.6.8
3
+ Version: 0.6.10
4
4
  Summary: Tools to support Kata's work.
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.10
rara_tools-0.6.8/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.6.8
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes