When the follower's connection is accepted, they'll observe a single dataReceived chunk containing both the leader's KCM and the leader's first actual data record. The state machine considers the KCM for an eventual-turn before selecting the connection, so the data record will arrive while the connection isn't quite ready for it (if consider() were immediate, this wouldn't be a problem, but Automat doesn't deal with reentrant calls very well). So we queue any records that arrive before we're selected. |
||
|---|---|---|
| docs | ||
| misc | ||
| pyi | ||
| src/wormhole | ||
| .appveyor.yml | ||
| .coveragerc | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| 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, 3.6, and 3.7.