This library wraps around the pysmb library
from easypysmb import EasyPySMB
# Connect
e = EasyPySMB(
'smbserver.example.com',
domain='example.com',
username='me',
password='PassW0rd'
)
# List files
e.ls('share1/')
# Store files
e.store_file('/tmp/test.txt', 'share1/test.txt')
# Retrieve files
f = e.retrieve_file('share1/text.txt')
# Backup files
e.backup_file('share1/text.txt', 'share2/test.backup.txt')
# mkdir -p
e.mkdir('share1/dir1/dir2/dir3')
# Terminate connection
e.close()
Metadata
Release files for easypysmb 1.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| easypysmb-1.4.4.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easypysmb-1.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.3 kB
Release files / easypysmb-1.4.4.tar.gz
| Download URL | easypysmb-1.4.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48111dc3c06535e6f20609e58373ab002b790762ad34296311d2f9dc12866786
|
|
BLAKE2b-256 checksum How to use checksums |
f7ce2c9073f410e9ca19027e771061e29da680ed300bd8234b6fe8ac36e6b51c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / easypysmb-1.4.4-py3-none-any.whl
| Download URL | easypysmb-1.4.4-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d40393378ccc9c2ae1b66eea1982d7c4076675028ddede6ece3849c5dda15ac7
|
|
BLAKE2b-256 checksum How to use checksums |
03418dd9908caeabecadd9b23dbc5b1ae506c087e53ecac53d71780ef5eec572
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|