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

Metadata

Release files for leekspin 0.0.6

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.6
File Size Uploaded Provenance Actions
leekspin-0.0.6.tar.gz 20.9 kB Without provenance Details for leekspin-0.0.6.tar.gz

Built distributions (wheels)

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

Total release size: 106.5 kB

Release files / leekspin-0.0.6.tar.gz

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

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

Download URL leekspin-0.0.6-py27-none-any.whl
Size 28.9 kB
Tags Python 2.7
SHA-256 checksum
How to use checksums
e2ebc3de536df6cc7455c5b1b0fc4b0f0e9c668f058249645a5cf4b02b411d9f
BLAKE2b-256 checksum
How to use checksums
2f769ad2360b8cf6ee74854abdf5e19dfda29f878c2192bfc101bb378d72cae7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL leekspin-0.0.6-py2.7.egg
Size 56.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
f83531465b83dbfe8daf86cf1bfa8981fbaedd1277091a347b4bfa0e879bf4bb
BLAKE2b-256 checksum
How to use checksums
f21a6a9d45d6ea9cd78f2ad037ff5d2485ca3df863e9cf1677e9b62772b17c58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for leekspin 0.0.6

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