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.2.0

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.2.0
File Size Uploaded Provenance Actions
leekspin-0.2.0.tar.gz 21.2 kB Without provenance Details for leekspin-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for leekspin 0.2.0
File Interpreter ABI Platform Actions
leekspin-0.2.0-py2.7.egg Legacy Egg format - - Details for leekspin-0.2.0-py2.7.egg

Total release size: 81.9 kB

Release files / leekspin-0.2.0.tar.gz

Download URL leekspin-0.2.0.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ee01ff7ec1f1e534a8c80f6a1b5646051240fc0b92fc5b1b11f8f015d692d062
BLAKE2b-256 checksum
How to use checksums
4d3e71b18595a6f37d673f7618dde5261da1cc4b5b5c11945a19fdd4b2658a6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL leekspin-0.2.0-py2.7.egg
Size 60.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
0890e77689471e9ea70b54e11f845b3a32c4e42509d2d50a6179096784034850
BLAKE2b-256 checksum
How to use checksums
93d8339750e25e5e79ac25635d87ce3ddf5f2f3de0793682fd5b5188af46ac02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for leekspin 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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