Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

leekspin-0.1.1.tar.gz (21.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

leekspin-0.1.1-py27-none-any.whl (28.1 kB view details)

Uploaded Python 2.7

leekspin-0.1.1-py2.7.egg (59.6 kB view details)

Uploaded Egg

File details

Details for the file leekspin-0.1.1.tar.gz.

File metadata

  • Download URL: leekspin-0.1.1.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for leekspin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1c91e51ea3e21dfc18463950c08407381c7f4c51cda185a13389f6cafd469de3
MD5 10604846de60253072337b9857f6236b
BLAKE2b-256 75f6bfda23812d61b0cc0321b7281c094d36ad92c77fbd8cbc2ea312c17cba65

See more details on using hashes here.

File details

Details for the file leekspin-0.1.1-py27-none-any.whl.

File metadata

File hashes

Hashes for leekspin-0.1.1-py27-none-any.whl
Algorithm Hash digest
SHA256 0a211be0f57a42c33011854efd8ee8075e026e9b2696fb190cbc0478bf97e624
MD5 d441b81c29377261bc1b1354fb610ddb
BLAKE2b-256 cab46b930d2fc998e20273ac9b82f78ac7bf538c0041113218a455a74b251d9d

See more details on using hashes here.

File details

Details for the file leekspin-0.1.1-py2.7.egg.

File metadata

  • Download URL: leekspin-0.1.1-py2.7.egg
  • Upload date:
  • Size: 59.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for leekspin-0.1.1-py2.7.egg
Algorithm Hash digest
SHA256 6db3356bd83aaf62d5915fa62367b6fcdafbdf5273e9bd47e5d4587b1aafa70d
MD5 5be142a7c97f58ab4a7203ee38679d10
BLAKE2b-256 eab746721ed85d9c179b75be52132e86d410d4347197a88eff2bb10ce35e51a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page