Skip to main content

pythonhost Library

Project description

pythonhost is a toolbox for the https://pythonhost.ir community.

Install

pip3 install pythonhost

Usage

import pythonhost

import pythonhost as ph

connect to ftp server ph.connect(USER='pythonho', PASS='@UNknown13#',PATH='')

upload file

ph.upload('manage.py')
# or
ph.upload('*')

download file

ph.download('manage.py')
# or
ph.download('*')

View existing files

ph.ls()

print working directory

ph.pwd()

get Information from pythonhost

ph.author

ph.website

ph.version

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

pythonhost-1.0.5.tar.gz (2.1 kB view hashes)

Uploaded Source

Supported by

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