A simple command line SCP client.
Feature highlights
Store commonly used remote paths for quick access
Use regular expressions to filter files
Upload from standard input directly
Installation
pip install igloo
For igloo to work, you must have activated key authentication (i.e. you must be able to ssh into the remote machine without entering a password or passphrase).
Examples
The exhaustive list of options can be viewed with igloo --help.
Here are a few common usage patterns (note that each --option has a shorter version which can found in the help message):
Setup the default remote URL:
$ igloo --config add user@host:path/to/remote/directoryCopy two files to this remote URL:
$ igloo first.ext second.log first.ext second.logDownload the first file back:
$ igloo --remote first.ext first.extView the list of files in the remote directory that end in .log:
$ igloo --remote --list --expr='\.log$' second.logAdd a new remote URL corresponding to profile public:
$ igloo --config add user@host:another/directory/public publicTransfer all the files in the current directory to the remote public URL, overwriting any preexisting files:
$ igloo --profile=public --force * first.ext second.logDownload all files from the remote directory that don’t end in .log, and delete them from the remote directory afterwards:
$ igloo --remote --move --no-match --expr='\.log$' first.extView list of profiles:
$ igloo --config list default [user@host:path/to/remote/directory] public [user@host:another/directory/public]Read from standard input and save remotely as hello.log
$ echo 'Hello world!' | igloo --stream hello.log hello.log
Future work
Multiple transfers concurrently (–threads=THREADS)
Interactive progress bars (change –quiet behavior)
Zip files and folders on the fly (–zip)
Tool to setup authentication
Metadata
Release files for igloo 0.1.6
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 | |
|---|---|---|---|---|
| igloo-0.1.6.tar.gz | 7.3 kB | Without provenance | Details |
Release files / igloo-0.1.6.tar.gz
| Download URL | igloo-0.1.6.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17b378869ef5538732562cc41066eeed5b7fccdba2e44f15a111bea94c8c17e8
|
|
BLAKE2b-256 checksum How to use checksums |
a55f8927d5fc420b82a08304c35e382e70cd7dd1e7baca9bf5e866d9b09e70ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for igloo 0.1.6
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.