Skip to main content

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

Metadata

Release files for drb-impl-ftp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drb-impl-ftp 1.0.0
File Size Uploaded
drb-impl-ftp-1.0.0.tar.gz 22.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for drb-impl-ftp 1.0.0
File Interpreter ABI Platform
drb_impl_ftp-1.0.0-py3.8.egg Legacy Egg format - - Details
drb_impl_ftp-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.3 kB

Release files / drb-impl-ftp-1.0.0.tar.gz

Download URL drb-impl-ftp-1.0.0.tar.gz
Size 22.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0cae31653da4ae4c3d59d0c1e7a3620ce5517097f6f49aa56939fb7673c590a9
BLAKE2b-256 checksum
How to use checksums
b4fd1659487dbd87277da675c70ba8595b612660c0ff827a6d2b2f3d82852fc8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / drb_impl_ftp-1.0.0-py3.8.egg

Download URL drb_impl_ftp-1.0.0-py3.8.egg
Size 12.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
d8b020a528c1fd918676f9ddd4282aeaa0390c07bbaa68046c1c07e9f0253f36
BLAKE2b-256 checksum
How to use checksums
ff92596ede44300dfb2b497801cacdce672dca01070ad897ff1d0ef8578248b3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / drb_impl_ftp-1.0.0-py3-none-any.whl

Download URL drb_impl_ftp-1.0.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3941d0c8f704afebfdc9b43c19e91f191825509c012fb145f48f6fb528682a6d
BLAKE2b-256 checksum
How to use checksums
ac54d1be8a2ef787da895db77157a36e8e1431c731e53de5a5e644cecf353e4f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page