Stem Docs

API

API

Controller

  • Core
  • Types
  • stem.exit_policy - Relay policy for the destinations it will or won’t allow traffic to.
  • stem.version - Tor versions that can be compared to determine Tor’s capabilities.

Descriptors

To read descriptors from disk use parse_file() for individual files and stem.descriptor.reader for batches. You can also use stem.descriptor.remote to download descriptors remotely like tor does.

  • Classes

Utilities