{"id":34045264,"url":"https://github.com/aghuttun/fileshiftlib","last_synced_at":"2026-04-08T19:33:26.896Z","repository":{"id":291973641,"uuid":"979406026","full_name":"aghuttun/fileshiftlib","owner":"aghuttun","description":"SFTP client Python package that uses paramiko library.","archived":false,"fork":false,"pushed_at":"2025-12-09T10:25:16.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-04T23:49:44.411Z","etag":null,"topics":["file","ftp","paramiko","sftp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aghuttun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-07T13:13:31.000Z","updated_at":"2025-12-09T15:55:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"237180f5-e432-4984-8be7-27dffbed9cb1","html_url":"https://github.com/aghuttun/fileshiftlib","commit_stats":null,"previous_names":["aghuttun/fileshiftlib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aghuttun/fileshiftlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aghuttun%2Ffileshiftlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aghuttun%2Ffileshiftlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aghuttun%2Ffileshiftlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aghuttun%2Ffileshiftlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aghuttun","download_url":"https://codeload.github.com/aghuttun/fileshiftlib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aghuttun%2Ffileshiftlib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file","ftp","paramiko","sftp"],"created_at":"2025-12-13T23:05:14.521Z","updated_at":"2026-04-08T19:33:26.889Z","avatar_url":"https://github.com/aghuttun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fileshiftlib\n\n- [Description](#package-description)\n- [Usage](#usage)\n- [Installation](#installation)\n- [Docstring](#docstring)\n- [License](#license)\n\n## Package Description\n\nSFTP client Python package that uses [paramiko](https://pypi.org/project/paramiko/) library.\n\n## Usage\n\nFrom a script:\n\n```python\nimport fileshiftlib\n\nhost = \"localhost\"\nusername = \"123...\"\npassword = \"xxxx\"\nport = 22\n\n# Initialize SFTP client\nsftp = fileshiftlib.SFTP(\n    host=host,\n    username=username,\n    password=password,\n    port=port,\n    logger=None\n)\n```\n\n```python\nsftp.reconnect()\n```\n\n```python\nftp_status = sftp.is_connected()\nprint(ftp_status)\n```\n\n```python\ncontent_list = sftp.list_dir()\nprint(content_list)\n```\n\n```python\nsftp.change_dir(path=\".\")\n```\n\n```python\nsftp.delete_file(filename=r\"demo.txt\")\n```\n\n```python\nsftp.download_file(\n    remote_path=r\"/demo/demo.txt\",\n    local_path=r\"c:\\local\\demo.txt\"\n)\n```\n\n```python\nsftp.upload_file(\n    local_path=r\"c:\\local\\demo.txt\",\n    remote_path=r\"/demo/demo.txt\"\n)\n```\n\n## Installation\n\nInstall python and pip if you have not already.\n\nThen run:\n\n```bash\npip install pip --upgrade\n```\n\nFor production:\n\n```bash\npip install fileshiftlib\n```\n\nThis will install the package and all of it's python dependencies.\n\nIf you want to install the project for development:\n\n```bash\ngit clone https://github.com/aghuttun/fileshiftlib.git\ncd fileshiftlib\npip install -e \".[dev]\"\n```\n\n## Docstring\n\nThe script's docstrings follow the numpydoc style.\n\n## License\n\nBSD License (see license file)\n\n[top](#fileshiftlib)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faghuttun%2Ffileshiftlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faghuttun%2Ffileshiftlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faghuttun%2Ffileshiftlib/lists"}