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 details)

Uploaded Source

File details

Details for the file pythonhost-1.0.5.tar.gz.

File metadata

  • Download URL: pythonhost-1.0.5.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pythonhost-1.0.5.tar.gz
Algorithm Hash digest
SHA256 5289b0d034f738c3c7436603ba190e49a5d500569ea3e5e051456279b82b6257
MD5 4c25b57270c6ff546f39fe6a1e7c08bc
BLAKE2b-256 8db6d2dc2a7a2eb34c8fe1bd68ecd27f2cad6d9d65434ea44017a250d609f314

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