Skip to main content

DRB Ftp implementation

Project description

Ftp Implementation

This drb-impl-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.impl.
The implementation name is ftp.
The factory class is encoded into drb_impl_ftp.drb_impl_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-impl-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_impl_ftp import DrbFtpNode
from drb_impl_ftp import BasicAuth

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

Ftp protocol allows navigation inside the ftp server. To do so this implementation 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 implementation 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-impl-ftp-1.0.0.tar.gz (22.7 kB view details)

Uploaded Source

Built Distributions

drb_impl_ftp-1.0.0-py3.8.egg (12.7 kB view details)

Uploaded Source

drb_impl_ftp-1.0.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file drb-impl-ftp-1.0.0.tar.gz.

File metadata

  • Download URL: drb-impl-ftp-1.0.0.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for drb-impl-ftp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0cae31653da4ae4c3d59d0c1e7a3620ce5517097f6f49aa56939fb7673c590a9
MD5 2631188d3541ae91838d6dfa51dfe51c
BLAKE2b-256 b4fd1659487dbd87277da675c70ba8595b612660c0ff827a6d2b2f3d82852fc8

See more details on using hashes here.

File details

Details for the file drb_impl_ftp-1.0.0-py3.8.egg.

File metadata

  • Download URL: drb_impl_ftp-1.0.0-py3.8.egg
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for drb_impl_ftp-1.0.0-py3.8.egg
Algorithm Hash digest
SHA256 d8b020a528c1fd918676f9ddd4282aeaa0390c07bbaa68046c1c07e9f0253f36
MD5 577c627645763373ba2882768e660a26
BLAKE2b-256 ff92596ede44300dfb2b497801cacdce672dca01070ad897ff1d0ef8578248b3

See more details on using hashes here.

File details

Details for the file drb_impl_ftp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: drb_impl_ftp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for drb_impl_ftp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3941d0c8f704afebfdc9b43c19e91f191825509c012fb145f48f6fb528682a6d
MD5 7caa6182466afbcb007e3d328fac3fdf
BLAKE2b-256 ac54d1be8a2ef787da895db77157a36e8e1431c731e53de5a5e644cecf353e4f

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