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.0.8.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.0.8-py27-none-any.whl (28.2 kB view details)

Uploaded Python 2.7

leekspin-0.0.8-py2.7.egg (59.7 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for leekspin-0.0.8.tar.gz
Algorithm Hash digest
SHA256 5728b9c2c48fabe73cf5c0d554d2ae693d328b5fe80498912f385a63ca618305
MD5 a7148e8486484ebd28b5f11b5b790a8f
BLAKE2b-256 a8ee4da1f228558ecb8f05b0cdab096b37742def30ee5a412e0bfcdf74fca6c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for leekspin-0.0.8-py27-none-any.whl
Algorithm Hash digest
SHA256 92eec77cb558a209546798b42be7c0cbc7826b08d840159e971725d83347f369
MD5 5e08b91b5168771036ad07f771a867d5
BLAKE2b-256 cc24c5fb262221a4c8b9b3b8683b3d09b46a283839d9188a9cd483b3fd97fefa

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for leekspin-0.0.8-py2.7.egg
Algorithm Hash digest
SHA256 dfcaf68a49c99b199292449e337e3d752f4cf35d97400315ce355cebfec1e3db
MD5 fb8b8c50b19bf19b60cf75f3f1795b6e
BLAKE2b-256 b2b4a1d5de459ebe168e618f486efc6b8a8f092f3cb2d5b9a53f7a725d6c690b

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.1

3 files

2.1.0

3 files

2.0.0

3 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.2.1

3 files

0.2.0

2 files

0.1.4

2 files

0.1.3

3 files

0.1.2

3 files

0.1.1

3 files

0.1.0

1 file

0.0.10

3 files

0.0.9

3 files

This release

0.0.8 This release

3 files

0.0.7

3 files

0.0.6

3 files

0.0.4

3 files

0.0.3

3 files

0.0.2

3 files

0.2.1-dirty

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page