drb-impl-ftp-1.0b1
توضیحات
DRB Ftp implementation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | drb-impl-ftp-1.0b1 |
| نام | drb-impl-ftp |
| نسخه کتابخانه | 1.0b1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | GAEL Systems |
| ایمیل نویسنده | drb-python@gael.fr |
| آدرس صفحه اصلی | https://gitlab.com/drb-python/impl/ftp |
| آدرس اینترنتی | https://pypi.org/project/drb-impl-ftp/ |
| مجوز | - |
# 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`.<br/>
The implementation name is `ftp`.<br/>
The factory class is encoded into `drb_impl_ftp.drb_impl_ftp`.<br/>
The ftp signature id is `d61c923a-5f1b-11ec-bf63-0242ac130002`<br/>
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:
```commandline
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.
```python
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()`.<br/>
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
نیازمندی
| مقدار | نام |
|---|---|
| <1.1.0,>=1.0.1 | drb |
| >=0.20 | versioneer |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl drb-impl-ftp-1.0b1:
pip install drb-impl-ftp-1.0b1.whl
نصب پکیج tar.gz drb-impl-ftp-1.0b1:
pip install drb-impl-ftp-1.0b1.tar.gz