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 generate-OR-descriptors. To use it to generate 20 descriptors, do:

$ generate-OR-descriptors -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.3.tar.gz (20.6 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.3-py27-none-any.whl (25.4 kB view details)

Uploaded Python 2.7

leekspin-0.0.3-py2.7.egg (41.1 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for leekspin-0.0.3.tar.gz
Algorithm Hash digest
SHA256 555ad08c0d1e6678e54aa69dbbfb7ef230545237aea5e9c1b60c272b5c3bb030
MD5 d24834cde9dad0b7509a2315f0c5adbd
BLAKE2b-256 018ec8e43f623ce32726674320a44a28588c83d12b74d323d5fb41131a57e502

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for leekspin-0.0.3-py27-none-any.whl
Algorithm Hash digest
SHA256 6ed9b74eeaf56ce7ba80b42d1f470d449ca08c4934825c2a08a7361a3249effc
MD5 5ec04dd91eb6078f010c561ef43e6a23
BLAKE2b-256 ef7c6102b802b6eb2186613e780c6f62ddd3fa636f18573de322fc62a7f800c8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for leekspin-0.0.3-py2.7.egg
Algorithm Hash digest
SHA256 bb18f049b782f914cc50b98a39760de90b83a4f44c5484c2feee485c473b4398
MD5 ec78b8fe2f8bf99ea12707ed828c876e
BLAKE2b-256 92a23bc031bc9dc0417894b34692255224c63c7e85a0d7c5f29522486afed80e

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

0.0.8

3 files

0.0.7

3 files

0.0.6

3 files

0.0.4

3 files

This release

0.0.3 This release

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