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.0.tar.gz (51.5 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.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ftpleasant-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2f4bf64e31ffd827ec9aea44a5d90c0c109a9076b55a4e8fcb451cdbb2abe435
MD5 5103fb463a01c41c19c76942b6831064
BLAKE2b-256 fdd2a4483a84eeac42ab3949322b8963d54a18f7b3a07b851c15570d66fb2ee1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ftpleasant-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 390e854ae28049ef7623512281c45f4d37c02276969c8bebbce36efddd70a2de
MD5 89fae380c58d0b12ad0beecab930c8a5
BLAKE2b-256 e4f5719c29fb4fad818453c4fd0e04b4b923548a7821dfc5308e068ed9826c92

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