diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 925f603..d752497 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,3 +29,4 @@ jobs: run: | python setup.py sdist bdist_wheel twine upload dist/* + diff --git a/EasyFTP-logo-highscaled.png b/EasyFTP-logo-highscaled.png index 454a9bd..8f9323d 100644 Binary files a/EasyFTP-logo-highscaled.png and b/EasyFTP-logo-highscaled.png differ diff --git a/LICENSE b/LICENSE index 52bd8ba..546e391 100644 --- a/LICENSE +++ b/LICENSE @@ -19,3 +19,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + diff --git a/README.md b/README.md index aa03f64..c4fc808 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,5 @@ pip install EasyFTP ``` ## Usage Refer to the [documentation](https://github.com/ZustFancake/EasyFTP/blob/main/docs/EasyFTP.md) for comprehensive usage instructions and examples. + + diff --git a/build/lib/EasyFTP/EasyFTP.py b/build/lib/EasyFTP/EasyFTP.py index c386685..e223ce4 100644 --- a/build/lib/EasyFTP/EasyFTP.py +++ b/build/lib/EasyFTP/EasyFTP.py @@ -247,3 +247,4 @@ def chmod(self, remote_path: str, perm: int, mode: Literal["oct", "bin", "int"] f = Filter.Filter(include = r"de.d") session.delete(".", f, ".") + diff --git a/build/lib/EasyFTP/Filter.py b/build/lib/EasyFTP/Filter.py index ad5bb48..21cb761 100644 --- a/build/lib/EasyFTP/Filter.py +++ b/build/lib/EasyFTP/Filter.py @@ -62,3 +62,4 @@ def matches_patterns(self, pattern: List[str], dest: str) -> bool: if self.matches_pattern(pat, dest): return pat return False + diff --git a/build/lib/EasyFTP/__init__.py b/build/lib/EasyFTP/__init__.py index be6845a..707bdb1 100644 --- a/build/lib/EasyFTP/__init__.py +++ b/build/lib/EasyFTP/__init__.py @@ -1,3 +1,3 @@ __version__ = "0.0.28b" -from .EasyFTP import EasyFTP, FTPError, Filter \ No newline at end of file +from .EasyFTP import EasyFTP, FTPError, Filter diff --git a/dist/EasyFTP-0.0.22b0-py3-none-any.whl b/dist/EasyFTP-0.0.22b0-py3-none-any.whl index d4aa000..c4c7141 100644 Binary files a/dist/EasyFTP-0.0.22b0-py3-none-any.whl and b/dist/EasyFTP-0.0.22b0-py3-none-any.whl differ diff --git a/dist/EasyFTP-0.0.22b0.tar.gz b/dist/EasyFTP-0.0.22b0.tar.gz index 8193519..2ea7a92 100644 Binary files a/dist/EasyFTP-0.0.22b0.tar.gz and b/dist/EasyFTP-0.0.22b0.tar.gz differ diff --git a/dist/EasyFTP-0.0.24b0-py3-none-any.whl b/dist/EasyFTP-0.0.24b0-py3-none-any.whl index e7da3ae..bd84403 100644 Binary files a/dist/EasyFTP-0.0.24b0-py3-none-any.whl and b/dist/EasyFTP-0.0.24b0-py3-none-any.whl differ diff --git a/dist/EasyFTP-0.0.24b0.tar.gz b/dist/EasyFTP-0.0.24b0.tar.gz index b538c94..79aca7b 100644 Binary files a/dist/EasyFTP-0.0.24b0.tar.gz and b/dist/EasyFTP-0.0.24b0.tar.gz differ diff --git a/dist/EasyFTP-0.0.25b0-py3-none-any.whl b/dist/EasyFTP-0.0.25b0-py3-none-any.whl index 64a0a2b..5a018c1 100644 Binary files a/dist/EasyFTP-0.0.25b0-py3-none-any.whl and b/dist/EasyFTP-0.0.25b0-py3-none-any.whl differ diff --git a/dist/EasyFTP-0.0.25b0.tar.gz b/dist/EasyFTP-0.0.25b0.tar.gz index 8a69357..c90a0df 100644 Binary files a/dist/EasyFTP-0.0.25b0.tar.gz and b/dist/EasyFTP-0.0.25b0.tar.gz differ diff --git a/dist/EasyFTP-0.0.26b0-py3-none-any.whl b/dist/EasyFTP-0.0.26b0-py3-none-any.whl index cb5faf0..04f424f 100644 Binary files a/dist/EasyFTP-0.0.26b0-py3-none-any.whl and b/dist/EasyFTP-0.0.26b0-py3-none-any.whl differ diff --git a/dist/EasyFTP-0.0.26b0.tar.gz b/dist/EasyFTP-0.0.26b0.tar.gz index 6db2aa1..a97476c 100644 Binary files a/dist/EasyFTP-0.0.26b0.tar.gz and b/dist/EasyFTP-0.0.26b0.tar.gz differ diff --git a/dist/EasyFTP-0.0.27b0-py3-none-any.whl b/dist/EasyFTP-0.0.27b0-py3-none-any.whl index 50bbb05..0a997a8 100644 Binary files a/dist/EasyFTP-0.0.27b0-py3-none-any.whl and b/dist/EasyFTP-0.0.27b0-py3-none-any.whl differ diff --git a/dist/EasyFTP-0.0.27b0.tar.gz b/dist/EasyFTP-0.0.27b0.tar.gz index 88d0000..2c74d08 100644 Binary files a/dist/EasyFTP-0.0.27b0.tar.gz and b/dist/EasyFTP-0.0.27b0.tar.gz differ diff --git a/dist/EasyFTP-0.0.28b0-py3-none-any.whl b/dist/EasyFTP-0.0.28b0-py3-none-any.whl index 3e3d7fe..206f540 100644 Binary files a/dist/EasyFTP-0.0.28b0-py3-none-any.whl and b/dist/EasyFTP-0.0.28b0-py3-none-any.whl differ diff --git a/dist/EasyFTP-0.0.28b0.tar.gz b/dist/EasyFTP-0.0.28b0.tar.gz index 6cf193a..defef19 100644 Binary files a/dist/EasyFTP-0.0.28b0.tar.gz and b/dist/EasyFTP-0.0.28b0.tar.gz differ diff --git a/docs/EasyFTP.md b/docs/EasyFTP.md index f05494a..2a92088 100644 --- a/docs/EasyFTP.md +++ b/docs/EasyFTP.md @@ -261,3 +261,4 @@ with EasyFTP() as session: ## Using `EasyFTP.Filter` Refer to its [documentation](https://github.com/ZustFancake/EasyFTP/blob/main/docs/Filter.md) for usage instructions and examples. + diff --git a/docs/Filter.md b/docs/Filter.md index 7fd81e9..b9c5d31 100644 --- a/docs/Filter.md +++ b/docs/Filter.md @@ -95,3 +95,4 @@ if my_filter.matches_patterns(["file_*.txt", "file_*.dat"], destination): FilterError: Raised when invalid parameters are provided during initialization. ## Note The patterns support wildcards. '*' matches any sequence of characters, while other characters match themselves. + diff --git a/setup.py b/setup.py index 7b673ac..e6fa5f7 100644 --- a/setup.py +++ b/setup.py @@ -32,3 +32,5 @@ 'Programming Language :: Python :: 3.12', ], ) + + diff --git a/src/EasyFTP.egg-info/PKG-INFO b/src/EasyFTP.egg-info/PKG-INFO index f89c247..99e58e8 100644 --- a/src/EasyFTP.egg-info/PKG-INFO +++ b/src/EasyFTP.egg-info/PKG-INFO @@ -43,3 +43,4 @@ pip install EasyFtp ``` ## Usage Refer to the [documentation](https://github.com/ZustFancake/EasyFTP/blob/main/docs/EasyFTP.md) for comprehensive usage instructions and examples. + diff --git a/src/EasyFTP.egg-info/SOURCES.txt b/src/EasyFTP.egg-info/SOURCES.txt index 10e581c..19fb197 100644 --- a/src/EasyFTP.egg-info/SOURCES.txt +++ b/src/EasyFTP.egg-info/SOURCES.txt @@ -13,4 +13,4 @@ src/EasyFTP.egg-info/PKG-INFO src/EasyFTP.egg-info/SOURCES.txt src/EasyFTP.egg-info/dependency_links.txt src/EasyFTP.egg-info/not-zip-safe -src/EasyFTP.egg-info/top_level.txt \ No newline at end of file +src/EasyFTP.egg-info/top_level.txt diff --git a/src/EasyFTP.egg-info/dependency_links.txt b/src/EasyFTP.egg-info/dependency_links.txt index 8b13789..139597f 100644 --- a/src/EasyFTP.egg-info/dependency_links.txt +++ b/src/EasyFTP.egg-info/dependency_links.txt @@ -1 +1,2 @@ + diff --git a/src/EasyFTP.egg-info/not-zip-safe b/src/EasyFTP.egg-info/not-zip-safe index 8b13789..139597f 100644 --- a/src/EasyFTP.egg-info/not-zip-safe +++ b/src/EasyFTP.egg-info/not-zip-safe @@ -1 +1,2 @@ + diff --git a/src/EasyFTP.egg-info/top_level.txt b/src/EasyFTP.egg-info/top_level.txt index 5246df3..e69944a 100644 --- a/src/EasyFTP.egg-info/top_level.txt +++ b/src/EasyFTP.egg-info/top_level.txt @@ -1 +1,2 @@ EasyFTP + diff --git a/src/EasyFTP/EasyFTP.egg-info/PKG-INFO b/src/EasyFTP/EasyFTP.egg-info/PKG-INFO index e6c7e4f..1f9bfd5 100644 --- a/src/EasyFTP/EasyFTP.egg-info/PKG-INFO +++ b/src/EasyFTP/EasyFTP.egg-info/PKG-INFO @@ -43,3 +43,4 @@ pip install EasyFtp ``` ## Usage Refer to the [documentation](https://github.com/ZustFancake/EasyFTP/blob/main/docs/EasyFTP.md) for comprehensive usage instructions and examples. + diff --git a/src/EasyFTP/EasyFTP.egg-info/SOURCES.txt b/src/EasyFTP/EasyFTP.egg-info/SOURCES.txt index 670678a..a6436e6 100644 --- a/src/EasyFTP/EasyFTP.egg-info/SOURCES.txt +++ b/src/EasyFTP/EasyFTP.egg-info/SOURCES.txt @@ -6,4 +6,4 @@ setup.py ./src/EasyFTP/EasyFTP.egg-info/dependency_links.txt ./src/EasyFTP/EasyFTP.egg-info/not-zip-safe ./src/EasyFTP/EasyFTP.egg-info/top_level.txt -src/EasyFTP/EasyFTP.egg-info/SOURCES.txt \ No newline at end of file +src/EasyFTP/EasyFTP.egg-info/SOURCES.txt diff --git a/src/EasyFTP/EasyFTP.egg-info/dependency_links.txt b/src/EasyFTP/EasyFTP.egg-info/dependency_links.txt index 8b13789..139597f 100644 --- a/src/EasyFTP/EasyFTP.egg-info/dependency_links.txt +++ b/src/EasyFTP/EasyFTP.egg-info/dependency_links.txt @@ -1 +1,2 @@ + diff --git a/src/EasyFTP/EasyFTP.egg-info/not-zip-safe b/src/EasyFTP/EasyFTP.egg-info/not-zip-safe index 8b13789..139597f 100644 --- a/src/EasyFTP/EasyFTP.egg-info/not-zip-safe +++ b/src/EasyFTP/EasyFTP.egg-info/not-zip-safe @@ -1 +1,2 @@ + diff --git a/src/EasyFTP/EasyFTP.egg-info/top_level.txt b/src/EasyFTP/EasyFTP.egg-info/top_level.txt index 8b13789..139597f 100644 --- a/src/EasyFTP/EasyFTP.egg-info/top_level.txt +++ b/src/EasyFTP/EasyFTP.egg-info/top_level.txt @@ -1 +1,2 @@ + diff --git a/src/EasyFTP/EasyFTP.py b/src/EasyFTP/EasyFTP.py index c386685..e223ce4 100644 --- a/src/EasyFTP/EasyFTP.py +++ b/src/EasyFTP/EasyFTP.py @@ -247,3 +247,4 @@ def chmod(self, remote_path: str, perm: int, mode: Literal["oct", "bin", "int"] f = Filter.Filter(include = r"de.d") session.delete(".", f, ".") + diff --git a/src/EasyFTP/Filter.py b/src/EasyFTP/Filter.py index ad5bb48..21cb761 100644 --- a/src/EasyFTP/Filter.py +++ b/src/EasyFTP/Filter.py @@ -62,3 +62,4 @@ def matches_patterns(self, pattern: List[str], dest: str) -> bool: if self.matches_pattern(pat, dest): return pat return False + diff --git a/src/EasyFTP/__init__.py b/src/EasyFTP/__init__.py index 3f61790..c6f5b5b 100644 --- a/src/EasyFTP/__init__.py +++ b/src/EasyFTP/__init__.py @@ -1,3 +1,3 @@ __version__ = "0.0.32b" -from .EasyFTP import EasyFTP, FTPError, Filter \ No newline at end of file +from .EasyFTP import EasyFTP, FTPError, Filter