mmif-python 1.3.0__tar.gz → 1.3.1__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 (58) hide show
  1. {mmif_python-1.3.0 → mmif_python-1.3.1}/PKG-INFO +1 -1
  2. mmif_python-1.3.1/VERSION +1 -0
  3. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/video_document_helper.py +2 -2
  4. mmif_python-1.3.1/mmif/ver/__init__.py +2 -0
  5. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif_python.egg-info/PKG-INFO +1 -1
  6. mmif_python-1.3.0/VERSION +0 -1
  7. mmif_python-1.3.0/mmif/ver/__init__.py +0 -2
  8. {mmif_python-1.3.0 → mmif_python-1.3.1}/LICENSE +0 -0
  9. {mmif_python-1.3.0 → mmif_python-1.3.1}/MANIFEST.in +0 -0
  10. {mmif_python-1.3.0 → mmif_python-1.3.1}/README.md +0 -0
  11. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/__init__.py +0 -0
  12. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/res/__init__.py +0 -0
  13. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/res/clams.vocabulary.yaml +0 -0
  14. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/res/do-not-edit.txt +0 -0
  15. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/res/mmif.json +0 -0
  16. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/serialize/__init__.py +0 -0
  17. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/serialize/annotation.py +0 -0
  18. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/serialize/mmif.py +0 -0
  19. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/serialize/model.py +0 -0
  20. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/serialize/view.py +0 -0
  21. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/__init__.py +0 -0
  22. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/cli/__init__.py +0 -0
  23. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/cli/describe.py +0 -0
  24. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/cli/rewind.py +0 -0
  25. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/cli/source.py +0 -0
  26. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/cli/summarize.py +0 -0
  27. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/sequence_helper.py +0 -0
  28. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/summarizer/__init__.py +0 -0
  29. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/summarizer/config.py +0 -0
  30. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/summarizer/graph.py +0 -0
  31. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/summarizer/nodes.py +0 -0
  32. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/summarizer/summary.py +0 -0
  33. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/summarizer/utils.py +0 -0
  34. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/text_document_helper.py +0 -0
  35. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/timeunit_helper.py +0 -0
  36. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/utils/workflow_helper.py +0 -0
  37. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/ver/do-not-edit.txt +0 -0
  38. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/vocabulary/__init__.py +0 -0
  39. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/vocabulary/annotation_types.py +0 -0
  40. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/vocabulary/base_types.py +0 -0
  41. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/vocabulary/do-not-edit.txt +0 -0
  42. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif/vocabulary/document_types.py +0 -0
  43. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif_docloc_http/__init__.py +0 -0
  44. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif_python.egg-info/SOURCES.txt +0 -0
  45. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif_python.egg-info/dependency_links.txt +0 -0
  46. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif_python.egg-info/entry_points.txt +0 -0
  47. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif_python.egg-info/requires.txt +0 -0
  48. {mmif_python-1.3.0 → mmif_python-1.3.1}/mmif_python.egg-info/top_level.txt +0 -0
  49. {mmif_python-1.3.0 → mmif_python-1.3.1}/requirements.cv +0 -0
  50. {mmif_python-1.3.0 → mmif_python-1.3.1}/requirements.seq +0 -0
  51. {mmif_python-1.3.0 → mmif_python-1.3.1}/requirements.txt +0 -0
  52. {mmif_python-1.3.0 → mmif_python-1.3.1}/setup.cfg +0 -0
  53. {mmif_python-1.3.0 → mmif_python-1.3.1}/setup.py +0 -0
  54. {mmif_python-1.3.0 → mmif_python-1.3.1}/tests/test_serialize.py +0 -0
  55. {mmif_python-1.3.0 → mmif_python-1.3.1}/tests/test_utils.py +0 -0
  56. {mmif_python-1.3.0 → mmif_python-1.3.1}/tests/test_utils_cli.py +0 -0
  57. {mmif_python-1.3.0 → mmif_python-1.3.1}/tests/test_versioncompat.py +0 -0
  58. {mmif_python-1.3.0 → mmif_python-1.3.1}/tests/test_vocab.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mmif-python
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: Python implementation of MultiMedia Interchange Format specification. (https://mmif.clams.ai)
5
5
  Home-page: https://mmif.clams.ai
6
6
  Author: Brandeis Lab for Linguistics and Computation
@@ -0,0 +1 @@
1
+ 1.3.1
@@ -25,7 +25,7 @@ _cv_import_warning = (
25
25
  def _check_cv_dep(dep):
26
26
  """Import a CV dependency, raising ImportError with a helpful message."""
27
27
  try:
28
- return importlib.__import__(dep)
28
+ return importlib.import_module(dep)
29
29
  except ImportError as e:
30
30
  raise ImportError(
31
31
  _cv_import_warning.format(e.name, mmif.__version__)
@@ -130,7 +130,7 @@ def extract_frames_as_images(video_document: Document, framenums: Iterable[int],
130
130
  original_framenums = list(framenums)
131
131
  unique_framenums = sorted(set(original_framenums))
132
132
  if as_PIL:
133
- Image = _check_cv_dep('PIL').Image
133
+ Image = _check_cv_dep('PIL.Image')
134
134
  unique_frames = {}
135
135
  video = capture(video_document)
136
136
  cur_f = 0
@@ -0,0 +1,2 @@
1
+ __version__ = "1.3.1"
2
+ __specver__ = "1.1.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mmif-python
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: Python implementation of MultiMedia Interchange Format specification. (https://mmif.clams.ai)
5
5
  Home-page: https://mmif.clams.ai
6
6
  Author: Brandeis Lab for Linguistics and Computation
mmif_python-1.3.0/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.3.0
@@ -1,2 +0,0 @@
1
- __version__ = "1.3.0"
2
- __specver__ = "1.1.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes