Skip to main content

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


Download files

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

Source Distribution

ftpleasant-0.1.1.tar.gz (57.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ftpleasant-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file ftpleasant-0.1.1.tar.gz.

File metadata

  • Download URL: ftpleasant-0.1.1.tar.gz
  • Upload date:
  • Size: 57.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for ftpleasant-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6b8177599cad213961111cf7399332c7ea51eaf5c1b4408cb557b48112d77245
MD5 6beaa87af346f02ca654c2557c53abb1
BLAKE2b-256 7f1ef95730341ea620b3212c8315672fb34928e305da588f9776fa3a34221795

See more details on using hashes here.

File details

Details for the file ftpleasant-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ftpleasant-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for ftpleasant-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 826352eea78e07a6ce6338adaa8d552c0bf89362d7904d84618a6a5665524b72
MD5 28b8d58408c6dd8b01229510bea7fb6c
BLAKE2b-256 dd48ed32c83efbe1c0a0d230030bb414a085bb55f7ba58d327b5608165d278b3

See more details on using hashes here.

Supported by

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