This factors out the various "get me a Deferred which fires when/if we compute a value" code from the _DeferredWormhole API calls: get_code, get_unverified_key, get_versions, get_message, etc. It uses an eventual-send for each one, which will protect against surprises when an application invokes an wormhole API from within a previous API's callback: without this, the internal wormhole state isn't guaranteed to be coherent, and crashes could result. |
||
|---|---|---|
| docs | ||
| misc | ||
| src/wormhole | ||
| .appveyor.yml | ||
| .coveragerc | ||
| .dockerignore | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| Dockerfile | ||
| LICENSE | ||
| MANIFEST.in | ||
| NEWS.md | ||
| README.md | ||
| setup.cfg | ||
| setup.py | ||
| snapcraft.yaml | ||
| tox.ini | ||
| versioneer.py | ||
Magic Wormhole
Get things from one computer to another, safely.
This package provides a library and a command-line tool named wormhole,
which makes it possible to get arbitrary-sized files and directories
(or short pieces of text) from one computer to another. The two endpoints are
identified by using identical "wormhole codes": in general, the sending
machine generates and displays the code, which must then be typed into the
receiving machine.
The codes are short and human-pronounceable, using a phonetically-distinct wordlist. The receiving side offers tab-completion on the codewords, so usually only a few characters must be typed. Wormhole codes are single-use and do not need to be memorized.
For complete documentation, please see https://magic-wormhole.readthedocs.io or the docs/ subdirectory.
License, Compatibility
This library is released under the MIT license, see LICENSE for details.
This library is compatible with python2.7, 3.4 (non-Windows-only), 3.5, and 3.6 .