A wrapper built on top of python's built-in FTPlib to simplify operations such as uploading or download files from a server
Project description
ftpleasant
A wrapper built on top of python's built-in FTPlib to simplify operations such as uploading or download files from a server.
This module is meant as a replacement to codebynumber's ftpretty as that project includes functionality which I deemed unnecessary and does not include other functionality.
On top of what ftpretty can do, ftpleasant:
- Drops support for Python 2
- Separates the content putting/getting functions into their own functions, for more explicit programming
- Adds a function for the welcome message, as well as retrieving server functionality
- Adds support for usage with the "with" keyword
- Has prettier returns (e.g. get() returns a dict containing some info about the operation)
Unrecognised commands are not passed to the underlying FTP or FTP_TLS object. This was done on purpose to encourage more explicit and safer programming.
Supports Python 3.7+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ftpleasant-0.1.2.tar.gz.
File metadata
- Download URL: ftpleasant-0.1.2.tar.gz
- Upload date:
- Size: 57.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
638e1f989cc0ef279294f241e89b5834b9d91be48ae0dc9f492e3b5b14ec59a7
|
|
| MD5 |
9d3c8615c91407e82389210c7fd2416a
|
|
| BLAKE2b-256 |
13ccba4f3a43318d6654586599e3cd2b00402d3704634ed0d571f5e4efb2c39c
|
Provenance
The following attestation bundles were made for ftpleasant-0.1.2.tar.gz:
Publisher:
python-publish.yml on bahmoudd/ftpleasant
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ftpleasant-0.1.2.tar.gz -
Subject digest:
638e1f989cc0ef279294f241e89b5834b9d91be48ae0dc9f492e3b5b14ec59a7 - Sigstore transparency entry: 1389318036
- Sigstore integration time:
-
Permalink:
bahmoudd/ftpleasant@9e838a532ce0553f707e98b664a8011ae2be9efb -
Branch / Tag:
refs/heads/master - Owner: https://github.com/bahmoudd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@9e838a532ce0553f707e98b664a8011ae2be9efb -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file ftpleasant-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ftpleasant-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73e2feab348d9ddded1bd24bedd65bf48e5f7a8eb9518a9b4513316c7e25f891
|
|
| MD5 |
5927170040b22a66611d878d5b236732
|
|
| BLAKE2b-256 |
6a7adba7d7a879b92cc6b7ccecdc8653a75fe6db01dc9676e4b69e04bf41c8df
|
Provenance
The following attestation bundles were made for ftpleasant-0.1.2-py3-none-any.whl:
Publisher:
python-publish.yml on bahmoudd/ftpleasant
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ftpleasant-0.1.2-py3-none-any.whl -
Subject digest:
73e2feab348d9ddded1bd24bedd65bf48e5f7a8eb9518a9b4513316c7e25f891 - Sigstore transparency entry: 1389318043
- Sigstore integration time:
-
Permalink:
bahmoudd/ftpleasant@9e838a532ce0553f707e98b664a8011ae2be9efb -
Branch / Tag:
refs/heads/master - Owner: https://github.com/bahmoudd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@9e838a532ce0553f707e98b664a8011ae2be9efb -
Trigger Event:
workflow_dispatch
-
Statement type: