Add Server Message Block (SMB) storage support to dtool
Free software: MIT License
Features
Copy datasets to and from SMB storage
List all the datasets in an SMB share
Create datasets directly to an SMB share
Installation
To install the dtool-smb package:
pip install dtool-smb
Configuration
Then create the file .config/dtool/dtool.json and add the SMB account using the format below:
```
{
"DTOOL_SMB_USERNAME_jicinformatics": "<username>",
"DTOOL_SMB_PASSWORD_jicinformatics": "<password>",
"DTOOL_SMB_SERVER_NAME_jicinformatics": "<server-name>",
"DTOOL_SMB_SERVER_PORT_jicinformatics": <server-port>,
"DTOOL_SMB_DOMAIN_jicinformatics": "<smb-domain>",
"DTOOL_SMB_SERVICE_NAME_jicinformatics": "<smb-share>",
"DTOOL_SMB_PATH_jicinformatics": "<path-within-share>"
}
```
Note that <server-port> is typically 445. The name of the ‘share’ is specified through the DTOOL_SMB_SERVICE_NAME_* key.
Usage
To copy a dataset from local disk (my-dataset) to an SMB storage account (jicinformatics) one can use the command below:
dtool cp ./my-dataset smb://jicinformatics/
To list all the datasets in an SMB share one can use the command below:
dtool ls smb://jicinformatics/
See the dtool documentation for more detail.
Metadata
Release files for dtool-smb 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dtool-smb-0.1.0.tar.gz | 9.8 kB | Without provenance | Details |
Release files / dtool-smb-0.1.0.tar.gz
| Download URL | dtool-smb-0.1.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88a84dc6b5f4fb7f5b63819c6e4b00a11b9e8531e748454c9306b48fcbf1b79f
|
|
BLAKE2b-256 checksum How to use checksums |
c50d5b88da69262ccc634c794a9c7890edb67aefe408eaa9465dee9c2b7132a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for dtool-smb 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.