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

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.3
File Size Uploaded Provenance Actions
leekspin-0.1.3.tar.gz 21.1 kB Without provenance Details for leekspin-0.1.3.tar.gz

Built distributions (wheels)

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

Total release size: 108.9 kB

Release files / leekspin-0.1.3.tar.gz

Download URL leekspin-0.1.3.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ad031ad76a4e047c64fee4b56b0fc801a128a9d36ca62e608652441f98f9635b
BLAKE2b-256 checksum
How to use checksums
904aff78e4180094e587858541ccf7145a3e619cf46ac490c15c8fe6ce614f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

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

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

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

Security for leekspin 0.1.3

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