Skip to main content

DRB Ftp driver

Project description

Ftp driver

This drb-driver-ftp module implements ftp protocol access with DRB data model.

Ftp Factory and Ftp Node

The module implements the factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.

The entry point group reference is drb.driver.
The driver name is ftp.
The factory class is encoded into drb.driver.ftp.
The ftp signature id is d61c923a-5f1b-11ec-bf63-0242ac130002

The Ftp can be instantiated from an uri. The ParsedPath class provided in drb core module can help to manage these inputs.

Using this module

The project is present in https://www.pypi.org service. it can be freely loaded into projects with the following command line:

pip install drb-driver-ftp

Access Data

DrbFtpNode manages the ftp protocol to access remote data. The construction parameter is an url with the host and an authentication object. Both FTP and FTPS are supported. They allow access the ftp content.

from drb.drivers.ftp import DrbFtpNode
from requests.auth import HTTPBasicAuth

node = DrbFtpNode("URL", "HOST", auth=HTTPBasicAuth("username", "password"))

Ftp protocol allows navigation inside the ftp server. To do so this driver is able to provide children of the same FTP type.

Authentication

FTP node is able to manage Basic authentication based on username and password, as well as TLS ans SSL authentication by using the FTP_TLS.auth().
This method set up a secure control connection. By default, the node will try to connect with the SSL protocol if you want to change protocol you have to give You can find all the version of TLS and SSL supported here https://docs.python.org/3/library/ftplib.html#ftplib.FTP_TLS.ssl_version

Limitations

None

Documentation

The documentation of this driver can be found here https://drb-python.gitlab.io/impl/ftp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drb-driver-ftp-1.3.0.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

drb_driver_ftp-1.3.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file drb-driver-ftp-1.3.0.tar.gz.

File metadata

  • Download URL: drb-driver-ftp-1.3.0.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.18

File hashes

Hashes for drb-driver-ftp-1.3.0.tar.gz
Algorithm Hash digest
SHA256 86ea64d4ff09265436681ea3fbe8477f1d90bba7c30f14d8f88dd121381745e2
MD5 ae979eafd9d83dc70583b69ff4e8ac36
BLAKE2b-256 86868a73d8d369c6f5bb9e4e15f09802fd1688701703f9e6a02ad14bc8a5ea95

See more details on using hashes here.

File details

Details for the file drb_driver_ftp-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: drb_driver_ftp-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/6.8.0 pkginfo/1.9.6 requests/2.27.1 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.8.18

File hashes

Hashes for drb_driver_ftp-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e880f90ec296b7587815845d097451ea6d2ecce5dc459de98604c4fe35c52c24
MD5 9c2a2fd1f47c13a1b3f3d0111ee6dfd3
BLAKE2b-256 41790f4a8c7d7825bd91809bd4dc0370f4a8e43dd4c9d87e9f430f8ab21a3878

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page