Leekspin (á la the original internet masterpiece) is a small library for generating mocked Onion Router (OR) descriptors, such as those used by relays and bridges within Tor in order to convey information about said relay/bridge to directory authorities (DirAuths), the bridge authority (BridgeAuth), clients connecting to the network (a.k.a. Onion Proxies (OP)), etc.
This library is meant to be used to generate mock descriptors for testing other Tor libraries and programs, such as Stem and BridgeDB.
Installing
The very simplest way, if you use pip, would be to do:
$ pip install leekspin
Otherwise, the standard setuptools commands work just fine:
$ git clone https://github.com/isislovecruft/leekspin.git $ cd leekspin $ python setup.py install --record installed-files.txt
Running
Leekspin will install a script named… leekspin. To use it to generate 20 descriptors, do:
$ leekspin -n 20
TODO
Currently, Leekspin only creates bridge descriptors such as these . Much of Leekspin should be refactored, with new classes created based on those used in Stem to create pretty data structures for each type of descriptor. After that, Leekspin’s functionality should be extended to also be capable of creating relay descriptors.
Release files for leekspin 0.2.1-dirty
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| leekspin-0.2.1-dirty.tar.gz | 21.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| leekspin-0.2.1_dirty-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 82.7 kB
Release files / leekspin-0.2.1-dirty.tar.gz
| Download URL | leekspin-0.2.1-dirty.tar.gz |
|---|---|
| Size | 21.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77133a9a9bd8623c9277716ebeaa62bd16fb164ae4d0b929fa8a01db44129a89
|
|
BLAKE2b-256 checksum How to use checksums |
7f862e30cf9fbc09d31dc13d04506b22fe9df523655c734a75debec21a702a09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / leekspin-0.2.1_dirty-py2.7.egg
| Download URL | leekspin-0.2.1_dirty-py2.7.egg |
|---|---|
| Size | 61.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9058b0ca11177512ecf5863172b46255e8f6ad6abed555ae728a7a468089ec2e
|
|
BLAKE2b-256 checksum How to use checksums |
97706b66462a8fbfdb195202d3ea5a27d6ec9116be9d59305190f168fa61400a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |