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.2.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.2-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

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

Hashes for ftpleasant-0.1.2.tar.gz
Algorithm Hash digest
SHA256 638e1f989cc0ef279294f241e89b5834b9d91be48ae0dc9f492e3b5b14ec59a7
MD5 9d3c8615c91407e82389210c7fd2416a
BLAKE2b-256 13ccba4f3a43318d6654586599e3cd2b00402d3704634ed0d571f5e4efb2c39c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftpleasant-0.1.2.tar.gz:

Publisher: python-publish.yml on bahmoudd/ftpleasant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for ftpleasant-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 73e2feab348d9ddded1bd24bedd65bf48e5f7a8eb9518a9b4513316c7e25f891
MD5 5927170040b22a66611d878d5b236732
BLAKE2b-256 6a7adba7d7a879b92cc6b7ccecdc8653a75fe6db01dc9676e4b69e04bf41c8df

See more details on using hashes here.

Provenance

The following attestation bundles were made for ftpleasant-0.1.2-py3-none-any.whl:

Publisher: python-publish.yml on bahmoudd/ftpleasant

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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