Skip to main content

fileshiftlib

SFTP client for Python.

Installation

pip install fileshiftlib

Usage

import fileshiftlib

# Initialise SFTP client
sftp = fileshiftlib.SFTP(
    host="sftp.example.com",
    username="user",
    password="password",
    port=22
)
# Check connection status
if sftp.is_connected():
    print("Connected!")
# List directory contents
files = sftp.list_dir(".")
print(files)
# Change directory
sftp.change_dir("/remote/path")
# Upload a file
sftp.upload_file("local_file.txt", "remote_file.txt")
# Download a file
sftp.download_file("remote_file.txt", "local_copy.txt")
# Delete a file
sftp.delete_file("remote_file.txt")
# Reconnect
sftp.reconnect()

Version

Recommended way to read the installed package version:

from importlib.metadata import version

print(version("fileshiftlib"))

Convenience attribute (also available):

import fileshiftlib

print(fileshiftlib.__version__)

License

BSD-3-Clause License (see LICENSE)

Metadata

Release files for fileshiftlib 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fileshiftlib 0.1.12
File Size Uploaded
fileshiftlib-0.1.12.tar.gz 14.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for fileshiftlib 0.1.12
File
fileshiftlib-0.1.12-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
fileshiftlib-0.1.12-cp310-abi3-manylinux_2_39_x86_64.whl CPython 3.10 abi3 Linux glibc 2.39+ x86-64 Details
fileshiftlib-0.1.12-cp310-abi3-manylinux_2_39_aarch64.whl CPython 3.10 abi3 Linux glibc 2.39+ ARM64 Details
fileshiftlib-0.1.12-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 5.8 MB

Release files / fileshiftlib-0.1.12.tar.gz

Download URL fileshiftlib-0.1.12.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ef9ddf3a5858e25151f2bf6c19f271b73a3a1385527a95e18f3c66bb80a70bd6
BLAKE2b-256 checksum
How to use checksums
eef0ade7edfd86ca8cf313f2cc7ef403d82dfbed46d43f65be1b6e2c1cfe1ad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fileshiftlib-0.1.12-cp310-abi3-win_amd64.whl

Download URL fileshiftlib-0.1.12-cp310-abi3-win_amd64.whl
Size 265.8 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c9e230fe1f60fd2743e5014d07bd34e0352d7fa11982477cb1a3df04cae9e0f9
BLAKE2b-256 checksum
How to use checksums
914d34d370ec855becd5cab3d86b0d559dc5c53e7fd27cddda471c4579cc08ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fileshiftlib-0.1.12-cp310-abi3-manylinux_2_39_x86_64.whl

Download URL fileshiftlib-0.1.12-cp310-abi3-manylinux_2_39_x86_64.whl
Size 2.7 MB
Tags CPython 3.10 Linux glibc 2.39+ x86-64 abi3
SHA-256 checksum
How to use checksums
a4602e7fd58faa93f0b676575e5454990f851777629aa24133c401159413a727
BLAKE2b-256 checksum
How to use checksums
aecf439a0202399ddedbbb549838d93675128a7a85cd14581f8d2bcfcbbc2512
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fileshiftlib-0.1.12-cp310-abi3-manylinux_2_39_aarch64.whl

Download URL fileshiftlib-0.1.12-cp310-abi3-manylinux_2_39_aarch64.whl
Size 2.5 MB
Tags CPython 3.10 Linux glibc 2.39+ ARM64 abi3
SHA-256 checksum
How to use checksums
3fa70fe6e589deac42976716bbd7d9f38f1f590839ce36c61f7610f044f0cb94
BLAKE2b-256 checksum
How to use checksums
f7124a35a9b0519638b6e8c822bbbf5228df883366a3862809e6f16432fca3d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fileshiftlib-0.1.12-cp310-abi3-macosx_11_0_arm64.whl

Download URL fileshiftlib-0.1.12-cp310-abi3-macosx_11_0_arm64.whl
Size 343.2 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e8de407532a2c8859a27cc27d8b39489f1f17e036d5021a9cb5a63bd9ed56794
BLAKE2b-256 checksum
How to use checksums
d737343a56ac791ed57eaa32db8f06b298f2eed021e5ca16f4bc36d07ad86575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.12 This release

5 release files

0.1.8

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page