Metadata-Version: 2.4
Name: sbws
Version: 2.2.0
Summary: Simple Bandwidth Scanner
Author: Matt Traudt
Author-email: juga <juga@torproject.org>
Maintainer-email: Georg Koppen <gk@torproject.org>, juga <juga@torproject.org>
License-Expression: CC0-1.0
Project-URL: Homepage, https://gitlab.torproject.org/tpo/network-health/sbws
Project-URL: Documentation, https://tpo.pages.torproject.net/network-health/sbws
Project-URL: Source, https://gitlab.torproject.org/tpo/network-health/sbws
Project-URL: Tracker, https://gitlab.torproject.org/tpo/network-health/sbws/-/issues
Keywords: tor,onion,bandwidth,measurements,scanner,relay,circuit
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE.rst
Requires-Dist: psutil>=7.0
Requires-Dist: stem>=1.8.0
Requires-Dist: versioneer[toml]
Requires-Dist: requests[socks]
Provides-Extra: test
Requires-Dist: aiohttp; extra == "test"
Requires-Dist: black; extra == "test"
Requires-Dist: codespell; extra == "test"
Requires-Dist: coverage; extra == "test"
Requires-Dist: flake8; extra == "test"
Requires-Dist: flake8-docstrings; extra == "test"
Requires-Dist: flake8-pyproject; extra == "test"
Requires-Dist: time-machine; extra == "test"
Requires-Dist: isort; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-mock; extra == "test"
Requires-Dist: tox; extra == "test"
Requires-Dist: sphinx; extra == "test"
Provides-Extra: doc
Requires-Dist: sphinx; extra == "doc"
Requires-Dist: pylint; extra == "doc"
Requires-Dist: sphinx-bootstrap-theme; extra == "doc"
Provides-Extra: dev
Requires-Dist: codespell; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: flake8-docstrings; extra == "dev"
Requires-Dist: flake8-pyproject; extra == "dev"
Requires-Dist: isort; extra == "dev"
Dynamic: license-file

Readme
======

Simple Bandwidth Scanner (called ``sbws``) is a Tor bandwidth scanner
that generates bandwidth files to be used by Directory Authorities.

The scanner measures the bandwidth of each relay in the Tor network,
except the directory authorities, by creating a two hop circuit
(consisting of a helper relay and the relay to measure). It then
measures the bandwidth by downloading data from a destination Web Server
and stores the measurements.

The generator read the measurements, aggregates, filters and scales them
using torflow’s scaling method. Then it generates a bandwidth list file
that is read by a directory authority to report relays’ bandwidth in its
vote.

**WARNING**: This software is intended to be run by researchers using a
test Tor network, such as chutney or shadow, or by the Tor bandwidth
authorities on the public Tor network. Please do not run this software
on the public Tor network unless you are one of the Tor bandwidth
authorities, to avoid creating unnecessary traffic.

**ADVICE**: It is recommended to read this documentation at
https://tpo.pages.torproject.net/network-health/sbws.
At https://gitlab.torproject.org/tpo/network-health/sbws
some links won’t be properly rendered. It can also be read after
installing the Debian package ``sbws-doc`` in ``/usr/share/doc/sbws`` or
after building it locally as explained in
``./docs/source/documenting.rst``.

Installing
----------

See `./INSTALL.rst <INSTALL.rst>`__ (in local directory or tpo Gitlab)
or `INSTALL.html <INSTALL.html>`__ (local build or Read the Docs).

Deploying and running
---------------------

See `./DEPLOY.rst <DEPLOY.rst>`__ (in local directory or tpo Gitlab) or
`DEPLOY.html <DEPLOY.html>`__ (local build or Read the Docs).

Changelog
---------

See `./CHANGELOG.rst <CHANGELOG.rst>`__ (in local directory or tpo
Gitlab) or `CHANGELOG.html <CHANGELOG.html>`__ (local build or Read the
Docs).

Documentation
-------------

More extensive documentation can be found in the ``./docs`` directory,
and online at https://tpo.pages.torproject.net/network-health/sbws.

License
-------

This work is in the public domain within the United States.

We waive copyright and related rights in the work worldwide through the
`CC0-1.0 license <https://creativecommons.org/publicdomain/zero/1.0>`__.

You can find a copy of the CC0 Public Domain Dedication along with this
software in ./LICENSE.rst

Authors
-------

See `./AUTHORS.rst <AUTHORS.rst>`__ (in local directory or tpo Gitlab) or
`AUTHORS.html <AUTHORS.html>`__ (local build or Read the Docs).
