eric6-diff-merge-1.0.4
توضیحات
python diff merge tool.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | eric6-diff-merge-1.0.4 |
| نام | eric6-diff-merge |
| نسخه کتابخانه | 1.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lin JH |
| ایمیل نویسنده | 625781186@qq.com |
| آدرس صفحه اصلی | https://github.com/625781186/eric6_diff_merge |
| آدرس اینترنتی | https://pypi.org/project/eric6-diff-merge/ |
| مجوز | GPL-3.0 |
# eric6_diff_merge
python diff merge module copy from eric6.
### install:
`pip install eric6_diff_merge`
### useage:
```python
from eric6_diff_merge import Eric6Diff
def main():
diff = Eric6Diff("./speedtext1.txt",
"./speedtext2.txt",
output="./result.txt")
diff.on_diff()
if __name__ == "__main__":
main()
```
### input :
speedtext1.txt
```python
== Capital-Saratoga ==
aaa
bbb
ccc
ddd
```
speedtext2.txt
```python
== Capital-Saratoga ==
abc
bbb
ccc
```
### output : result.txt
```
--- ./speedtext1.txt Thu Dec 12 03:08:59 2019
+++ ./speedtext2.txt Thu Dec 12 03:08:59 2019
@@ -1,7 +1,5 @@
== Capital-Saratoga ==
-aaa
+abc
bbb
ccc
-ddd
-
```
#### the same module:
If you found the same module, please inform me in issue, thanks!
نحوه نصب
نصب پکیج whl eric6-diff-merge-1.0.4:
pip install eric6-diff-merge-1.0.4.whl
نصب پکیج tar.gz eric6-diff-merge-1.0.4:
pip install eric6-diff-merge-1.0.4.tar.gz