``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__
Raw data
{
"_id": null,
"home_page": "https://pythonhost.ir",
"name": "pythonhost",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "pythonhost,pythonhost.ir,ftp,python,host",
"author": "pythonhost Co",
"author_email": "info@pythonhost.ir",
"download_url": "https://files.pythonhosted.org/packages/8d/b6/d2dc2a7a2eb34c8fe1bd68ecd27f2cad6d9d65434ea44017a250d609f314/pythonhost-1.0.5.tar.gz",
"platform": "any",
"description": "\r\n\r\n``pythonhost`` is a toolbox for the https://pythonhost.ir community.\r\n\r\n\r\nInstall\r\n-------\r\n\r\n pip3 install pythonhost\r\n\r\n\r\nUsage\r\n-------------\r\n\r\nimport pythonhost\r\n\r\n import pythonhost as ph\r\n\r\n\r\nconnect to ftp server\r\n ph.connect(USER='pythonho', PASS='@UNknown13#',PATH='')\r\n\r\n\r\n\r\nupload file\r\n\r\n ph.upload('manage.py')\r\n # or\r\n ph.upload('*')\r\n \r\n\r\ndownload file\r\n\r\n ph.download('manage.py')\r\n # or\r\n ph.download('*')\r\n \r\n\r\nView existing files\r\n\r\n ph.ls()\r\n \r\n\r\nprint working directory\r\n\r\n ph.pwd()\r\n\r\n\r\nget Information from pythonhost\r\n-------\r\n\r\n> ph.__author__\r\n\r\n> ph.__website__\r\n\r\n> ph.__version__\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "pythonhost Library",
"version": "1.0.5",
"project_urls": {
"Download": "https://github.com/pythonhost/pythonhost.git",
"Homepage": "https://pythonhost.ir"
},
"split_keywords": [
"pythonhost",
"pythonhost.ir",
"ftp",
"python",
"host"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8db6d2dc2a7a2eb34c8fe1bd68ecd27f2cad6d9d65434ea44017a250d609f314",
"md5": "4c25b57270c6ff546f39fe6a1e7c08bc",
"sha256": "5289b0d034f738c3c7436603ba190e49a5d500569ea3e5e051456279b82b6257"
},
"downloads": -1,
"filename": "pythonhost-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "4c25b57270c6ff546f39fe6a1e7c08bc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2114,
"upload_time": "2023-09-10T08:47:51",
"upload_time_iso_8601": "2023-09-10T08:47:51.875282Z",
"url": "https://files.pythonhosted.org/packages/8d/b6/d2dc2a7a2eb34c8fe1bd68ecd27f2cad6d9d65434ea44017a250d609f314/pythonhost-1.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-10 08:47:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pythonhost",
"github_project": "pythonhost",
"github_not_found": true,
"lcname": "pythonhost"
}