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.2.tar.gz (21.1 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.2-py27-none-any.whl (28.2 kB view details)

Uploaded Python 2.7

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

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for leekspin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8a999122dc8bf7799c7740094ed2fb8013bcaced10d800cb662e4673d107294f
MD5 559ce31a0049e77a079328301d73ab85
BLAKE2b-256 e96f1b32911894c8b8fb9f06556ea6d5e72064d48f63d7a0957cf3afecf4ffb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for leekspin-0.1.2-py27-none-any.whl
Algorithm Hash digest
SHA256 719e9a9052789e22448db8d348359e4f29fc280f3159f4400593a34df1ec5254
MD5 4c60d1042ff1a1cd31d55fbe25660030
BLAKE2b-256 4d5cda1769ca2ca8a6c88e8bd70a4519c015f65ef526883c74ef99868424f1bc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for leekspin-0.1.2-py2.7.egg
Algorithm Hash digest
SHA256 7aedd7fc2243d4e7a5b7fbcd201a026345f3dff192bd3f4f4d0262a4301b7f4a
MD5 20112b34ff6d21cccb8f033fe80ee3d8
BLAKE2b-256 445dba9a92d7b6a023e6f10f173ba8d528cac9af80d02848c218aca88bab3324

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