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.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.0.4
File Size Uploaded Provenance Actions
leekspin-0.0.4.tar.gz 21.0 kB Without provenance Details for leekspin-0.0.4.tar.gz

Built distributions (wheels)

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

Total release size: 106.7 kB

Release files / leekspin-0.0.4.tar.gz

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

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

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

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

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

Security for leekspin 0.0.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