Skip to main content

Leekspin: An Onion Router descriptor generator

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.

Metadata

Release files for leekspin 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for leekspin 0.0.9
File Size Uploaded
leekspin-0.0.9.tar.gz 21.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for leekspin 0.0.9
File Interpreter ABI Platform
leekspin-0.0.9-py27-none-any.whl Python 2.7 none any Details
leekspin-0.0.9-py2.7.egg Legacy Egg format - - Details

Total release size: 104.6 kB

Release files / leekspin-0.0.9.tar.gz

Download URL leekspin-0.0.9.tar.gz
Size 21.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9b3dcf8386133ec074088d69368ed9336d6e6bd22c627951c6cfdd8a122d9e30
BLAKE2b-256 checksum
How to use checksums
061580e09cef5156aad888b9630fc9f9b4abc31de880cccba306a616a2d50fcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / leekspin-0.0.9-py27-none-any.whl

Download URL leekspin-0.0.9-py27-none-any.whl
Size 28.2 kB
Tags Python 2.7
SHA-256 checksum
How to use checksums
f4ad9d00f0f20f987497495098ca60318444760549a3743ea714e87082ea6978
BLAKE2b-256 checksum
How to use checksums
f83338ab084ecf074a3aaafac222d66d34f2b08c00ba5b5893cfafa86e9ae6ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / leekspin-0.0.9-py2.7.egg

Download URL leekspin-0.0.9-py2.7.egg
Size 55.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
8083ca760958f05c6f2ac196dff49e63cdf17abfa019b5520155d1a29b5f6af6
BLAKE2b-256 checksum
How to use checksums
0a85a2928955968362167096a07b0ba13e9f6c0fe2509159b91afb62e1ed0142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.1.1

3 release files

2.1.0

3 release files

2.0.0

3 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.1

3 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

3 release files

0.1.2

3 release files

0.1.1

3 release files

0.1.0

1 release file

0.0.10

3 release files

This release

0.0.9 This release

3 release files

0.0.8

3 release files

0.0.7

3 release files

0.0.6

3 release files

0.0.4

3 release files

0.0.3

3 release files

0.0.2

3 release 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