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

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.1.4
File Size Uploaded Provenance Actions
leekspin-0.1.4.tar.gz 21.4 kB Without provenance Details for leekspin-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 81.8 kB

Release files / leekspin-0.1.4.tar.gz

Download URL leekspin-0.1.4.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
09d7468d599267ae4e338be8236934df96252c1048618b7777764ae9763faf6c
BLAKE2b-256 checksum
How to use checksums
b071b0a55e74154cdbe0bf705df21d683b131afa3317c4847853696d0c04abbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL leekspin-0.1.4-py2.7.egg
Size 60.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
1ef615dde5b7e2b622eac8be565d0b9774b715b0c3dad4695eb1e30015a8565c
BLAKE2b-256 checksum
How to use checksums
d11ff4f32346877118aef8bf3da1594e393d8793b12a9d33728e56bac4de9122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for leekspin 0.1.4

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