brynq-sdk-ftp 3.0.1__tar.gz → 3.0.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq_sdk_ftp
3
- Version: 3.0.1
3
+ Version: 3.0.2
4
4
  Summary: FTP wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -3,7 +3,6 @@ from io import StringIO
3
3
  from paramiko.client import SSHClient, AutoAddPolicy
4
4
  from paramiko import RSAKey
5
5
  from paramiko.sftp_attr import SFTPAttributes
6
- import pysftp
7
6
  from typing import Union, List, Literal, Optional
8
7
  from stat import S_ISREG
9
8
  import os
@@ -26,8 +25,6 @@ class SFTP(BrynQ):
26
25
  self.port = 22 if credentials['port'] is None else credentials['port']
27
26
  self.username = credentials['username']
28
27
  self.password = credentials['password']
29
- self.cnopts = pysftp.CnOpts()
30
- self.cnopts.hostkeys = None
31
28
  self.private_key_path = credentials.get('private_key_password', None)
32
29
  self.private_key_passphrase = credentials.get('private_key_password', None)
33
30
  self.private_key = credentials.get('private_key', None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq-sdk-ftp
3
- Version: 3.0.1
3
+ Version: 3.0.2
4
4
  Summary: FTP wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -2,7 +2,7 @@ from setuptools import setup, find_namespace_packages
2
2
 
3
3
  setup(
4
4
  name='brynq_sdk_ftp',
5
- version='3.0.1',
5
+ version='3.0.2',
6
6
  description='FTP wrapper from BrynQ',
7
7
  long_description='FTP wrapper from Brynq',
8
8
  author='BrynQ',
File without changes