|
| 1 | +# Comparing `tmp/easyfileops-0.1.5.tar.gz` & `tmp/easyfileops-0.1.55.tar.gz` |
| 2 | + |
| 3 | +## filetype from file(1) |
| 4 | + |
| 5 | +```diff |
| 6 | +@@ -1 +1 @@ |
| 7 | +-gzip compressed data, was "easyfileops-0.1.5.tar", last modified: Sat Jun 1 20:22:55 2024, max compression |
| 8 | ++gzip compressed data, was "easyfileops-0.1.55.tar", last modified: Sat Jun 1 20:28:19 2024, max compression |
| 9 | +``` |
| 10 | + |
| 11 | +## Comparing `easyfileops-0.1.5.tar` & `easyfileops-0.1.55.tar` |
| 12 | + |
| 13 | +### file list |
| 14 | + |
| 15 | +```diff |
| 16 | +@@ -1,13 +1,13 @@ |
| 17 | +-drwxrwxrwx 0 0 0 0 2024-06-01 20:22:55.930440 easyfileops-0.1.5/ |
| 18 | +-drwxrwxrwx 0 0 0 0 2024-06-01 20:22:55.904761 easyfileops-0.1.5/EasyFileOps/ |
| 19 | +--rw-rw-rw- 0 0 0 0 2024-06-01 20:12:49.000000 easyfileops-0.1.5/EasyFileOps/__init__.py |
| 20 | +--rw-rw-rw- 0 0 0 8255 2024-06-01 20:22:45.000000 easyfileops-0.1.5/EasyFileOps/file.py |
| 21 | +-drwxrwxrwx 0 0 0 0 2024-06-01 20:22:55.924761 easyfileops-0.1.5/EasyFileOps.egg-info/ |
| 22 | +--rw-rw-rw- 0 0 0 167 2024-06-01 20:22:55.000000 easyfileops-0.1.5/EasyFileOps.egg-info/PKG-INFO |
| 23 | +--rw-rw-rw- 0 0 0 203 2024-06-01 20:22:55.000000 easyfileops-0.1.5/EasyFileOps.egg-info/SOURCES.txt |
| 24 | +--rw-rw-rw- 0 0 0 1 2024-06-01 20:22:55.000000 easyfileops-0.1.5/EasyFileOps.egg-info/dependency_links.txt |
| 25 | +--rw-rw-rw- 0 0 0 12 2024-06-01 20:22:55.000000 easyfileops-0.1.5/EasyFileOps.egg-info/top_level.txt |
| 26 | +--rw-rw-rw- 0 0 0 167 2024-06-01 20:22:55.929879 easyfileops-0.1.5/PKG-INFO |
| 27 | +--rw-rw-rw- 0 0 0 1702 2024-06-01 20:22:45.000000 easyfileops-0.1.5/README.txt |
| 28 | +--rw-rw-rw- 0 0 0 42 2024-06-01 20:22:55.930440 easyfileops-0.1.5/setup.cfg |
| 29 | +--rw-rw-rw- 0 0 0 265 2024-06-01 20:22:45.000000 easyfileops-0.1.5/setup.py |
| 30 | ++drwxrwxrwx 0 0 0 0 2024-06-01 20:28:19.875213 easyfileops-0.1.55/ |
| 31 | ++drwxrwxrwx 0 0 0 0 2024-06-01 20:28:19.844730 easyfileops-0.1.55/EasyFileOps/ |
| 32 | ++-rw-rw-rw- 0 0 0 0 2024-06-01 20:12:49.000000 easyfileops-0.1.55/EasyFileOps/__init__.py |
| 33 | ++-rw-rw-rw- 0 0 0 8301 2024-06-01 20:27:46.000000 easyfileops-0.1.55/EasyFileOps/file.py |
| 34 | ++drwxrwxrwx 0 0 0 0 2024-06-01 20:28:19.875213 easyfileops-0.1.55/EasyFileOps.egg-info/ |
| 35 | ++-rw-rw-rw- 0 0 0 168 2024-06-01 20:28:19.000000 easyfileops-0.1.55/EasyFileOps.egg-info/PKG-INFO |
| 36 | ++-rw-rw-rw- 0 0 0 203 2024-06-01 20:28:19.000000 easyfileops-0.1.55/EasyFileOps.egg-info/SOURCES.txt |
| 37 | ++-rw-rw-rw- 0 0 0 1 2024-06-01 20:28:19.000000 easyfileops-0.1.55/EasyFileOps.egg-info/dependency_links.txt |
| 38 | ++-rw-rw-rw- 0 0 0 12 2024-06-01 20:28:19.000000 easyfileops-0.1.55/EasyFileOps.egg-info/top_level.txt |
| 39 | ++-rw-rw-rw- 0 0 0 168 2024-06-01 20:28:19.875213 easyfileops-0.1.55/PKG-INFO |
| 40 | ++-rw-rw-rw- 0 0 0 1748 2024-06-01 20:27:46.000000 easyfileops-0.1.55/README.txt |
| 41 | ++-rw-rw-rw- 0 0 0 42 2024-06-01 20:28:19.882690 easyfileops-0.1.55/setup.cfg |
| 42 | ++-rw-rw-rw- 0 0 0 266 2024-06-01 20:26:03.000000 easyfileops-0.1.55/setup.py |
| 43 | +``` |
| 44 | + |
| 45 | +### Comparing `easyfileops-0.1.5/EasyFileOps/file.py` & `easyfileops-0.1.55/EasyFileOps/file.py` |
| 46 | + |
| 47 | + * *Files 2% similar despite different names* |
| 48 | + |
| 49 | +```diff |
| 50 | +@@ -8,15 +8,15 @@ |
| 51 | + ### |
| 52 | + ### |
| 53 | + You can install EasyFileOps via pip: |
| 54 | + pip install EasyFileOps |
| 55 | + ### |
| 56 | + ### |
| 57 | + Importing: |
| 58 | +-from EasyFileOps import file |
| 59 | ++from EasyFileOps import file as efo (or any name you want) |
| 60 | + ### |
| 61 | + ### |
| 62 | + EasyFileOps main method is file |
| 63 | + Parameters of file: |
| 64 | + filename (str) - Here write a file name to operate on |
| 65 | + option (str) - Available options: r, r+, rb, rb+, readline, readlines, readable, w, w+, wb, wb+, writelines, writable, |
| 66 | + a, a+, ab, ab+, seekable, flush, detach, fileno, truncate, isatty, split, splitlines |
| 67 | +@@ -39,24 +39,24 @@ |
| 68 | + option split: |
| 69 | + -words: return words in file |
| 70 | + ### |
| 71 | + ### |
| 72 | + Example usages |
| 73 | + |
| 74 | + #Reading entire content of file |
| 75 | +-content, lines = file("example.txt", "r") |
| 76 | ++content, lines = efo.file("example.txt", "r") |
| 77 | + |
| 78 | + #Wrinting content to a file |
| 79 | +-file("example.txt", "w", "Hi EasyFileOps!") |
| 80 | ++efo.file("example.txt", "w", "Hi EasyFileOps!") |
| 81 | + |
| 82 | + #or writing with seek |
| 83 | +-file("example.txt", "w", "Hi EasyFileOps!", 8) |
| 84 | ++efo.file("example.txt", "w", "Hi EasyFileOps!", 8) |
| 85 | + |
| 86 | + #Truncate |
| 87 | +-file("example.txt", "truncate", 40) |
| 88 | ++efo.file("example.txt", "truncate", 40) |
| 89 | + ### |
| 90 | + ### |
| 91 | + IMPORTANT!!! |
| 92 | + if you use these options: seekable, writable, readable, truncate or detach constructions changes: |
| 93 | + -for seekable, writable, readable: file("example.txt", "seekable, writable or readable option", "option any with r, w or a") |
| 94 | + -for truncate: file("example.txt", "truncate", "(bytes in int)") |
| 95 | + -for detach: file("example.txt", "detach", "option any with r, w or a") |
| 96 | +``` |
| 97 | + |
| 98 | +### Comparing `easyfileops-0.1.5/README.txt` & `easyfileops-0.1.55/README.txt` |
| 99 | + |
| 100 | + * *Files 4% similar despite different names* |
| 101 | + |
| 102 | +```diff |
| 103 | +@@ -4,15 +4,15 @@ |
| 104 | + ### |
| 105 | + ### |
| 106 | + You can install EasyFileOps via pip: |
| 107 | + pip install EasyFileOps |
| 108 | + ### |
| 109 | + ### |
| 110 | + Importing: |
| 111 | +-from EasyFileOps import file |
| 112 | ++from EasyFileOps import file as efo (or any name you want) |
| 113 | + ### |
| 114 | + ### |
| 115 | + EasyFileOps main method is file |
| 116 | + Parameters of file: |
| 117 | + filename (str) - Here write a file name to operate on |
| 118 | + option (str) - Available options: r, r+, rb, rb+, readline, readlines, readable, w, w+, wb, wb+, writelines, writable, |
| 119 | + a, a+, ab, ab+, seekable, flush, detach, fileno, truncate, isatty, split, splitlines |
| 120 | +@@ -35,24 +35,24 @@ |
| 121 | + option split: |
| 122 | + -words: return words in file |
| 123 | + ### |
| 124 | + ### |
| 125 | + Example usages |
| 126 | + |
| 127 | + #Reading entire content of file |
| 128 | +-content, lines = file("example.txt", "r") |
| 129 | ++content, lines = efo.file("example.txt", "r") |
| 130 | + |
| 131 | + #Wrinting content to a file |
| 132 | +-file("example.txt", "w", "Hi EasyFileOps!") |
| 133 | ++efo.file("example.txt", "w", "Hi EasyFileOps!") |
| 134 | + |
| 135 | + #or writing with seek |
| 136 | +-file("example.txt", "w", "Hi EasyFileOps!", 8) |
| 137 | ++efo.file("example.txt", "w", "Hi EasyFileOps!", 8) |
| 138 | + |
| 139 | + #Truncate |
| 140 | +-file("example.txt", "truncate", 40) |
| 141 | ++efo.file("example.txt", "truncate", 40) |
| 142 | + ### |
| 143 | + ### |
| 144 | + IMPORTANT!!! |
| 145 | + if you use these options: seekable, writable, readable, truncate or detach constructions changes: |
| 146 | + -for seekable, writable, readable: file("example.txt", "seekable, writable or readable option", "option any with r, w or a") |
| 147 | + -for truncate: file("example.txt", "truncate", "(bytes in int)") |
| 148 | + -for detach: file("example.txt", "detach", "option any with r, w or a") |
| 149 | +``` |
| 150 | + |
0 commit comments