python-redlines 0.2.0__tar.gz → 0.2.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.
- {python_redlines-0.2.0 → python_redlines-0.2.1}/PKG-INFO +1 -1
- {python_redlines-0.2.0 → python_redlines-0.2.1}/src/python_redlines/__about__.py +1 -1
- {python_redlines-0.2.0 → python_redlines-0.2.1}/src/python_redlines/engines.py +4 -4
- {python_redlines-0.2.0 → python_redlines-0.2.1}/.gitignore +0 -0
- {python_redlines-0.2.0 → python_redlines-0.2.1}/README.md +0 -0
- {python_redlines-0.2.0 → python_redlines-0.2.1}/pyproject.toml +0 -0
- {python_redlines-0.2.0 → python_redlines-0.2.1}/src/python_redlines/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-redlines
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Generate tracked-change redline .docx documents by comparing Word files.
|
|
5
5
|
Project-URL: Homepage, https://github.com/JSv4/Python-Redlines
|
|
6
6
|
Project-URL: Issues, https://github.com/JSv4/Python-Redlines/issues
|
|
@@ -132,11 +132,11 @@ class BaseEngine(object):
|
|
|
132
132
|
"""
|
|
133
133
|
return [self.extracted_binaries_path, author_tag, original_path, modified_path, target_path]
|
|
134
134
|
|
|
135
|
-
def run_redline(self, author_tag: str, original: Union[bytes, Path], modified: Union[bytes, Path],
|
|
136
|
-
|
|
135
|
+
def run_redline(self, author_tag: str, original: Union[str, bytes, Path], modified: Union[str, bytes, Path],
|
|
136
|
+
**kwargs) -> Tuple[bytes, Optional[str], Optional[str]]:
|
|
137
137
|
"""
|
|
138
|
-
Runs the redline binary. The 'original' and 'modified' arguments can be either bytes or file paths
|
|
139
|
-
Returns the redline output as bytes.
|
|
138
|
+
Runs the redline binary. The 'original' and 'modified' arguments can be either bytes or file paths
|
|
139
|
+
(as ``str`` or ``pathlib.Path``). Returns the redline output as bytes.
|
|
140
140
|
|
|
141
141
|
Additional keyword arguments are passed to _build_command() for engine-specific options.
|
|
142
142
|
DocxodusEngine supports: detail_threshold, case_insensitive, detect_moves,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|