Stem Release 1.2


Hi all. After months of work I'm please to announce the release of Stem 1.2.0!

For those who aren't familiar with it, Stem is a Python library for interacting with Tor. With it you can script against your relay, descriptor data, or even write applications similar to arm and Vidalia.

So what's new in this release?

Interactive Tor Interpreter

The control interpreter is a new method for interacting with Tor's control interface that combines an interactive python interpreter with raw access similar to telnet. This adds several usability features, such as...

  • Irc-style commands like '/help'.
  • Tab completion for Tor's controller commands.
  • History scrollback by pressing up/down.
  • Transparently handles Tor authentication at startup.
  • Colorized output for improved readability.

For a tutorial to get you started see...

Down the Rabbit Hole

New connect() Function

This release of Stem provides a new, even easier method for establishing controllers. Connecting to Tor can now be as easy as...

import sys

from stem.connection import connect

if __name__ == '__main__':
  controller = connect()

  if not controller:
    sys.exit(1)  # unable to get a connection

  print 'Tor is running version %s' % controller.get_version()

For a rundown on the myriad of improvements and fixes in this release see...

Cheers! -Damian

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Has there been a problem with the Tor network of late? The reason I ask is because it has become increasingly slower to the point of being unusable. Tor was actually becoming almost indistinguishable from a non-Tor connection, and at times it appeared to be even faster. But recently Tor has taken a step into the dark ages!

No, it's about the same. Tor network performance has improved a lot in the last few years, I agree -- a lot of that has to do with additional capacity from big relays.

Hi everybody,
Just noticed a website What the hell? Since when usbtor in Luxembourg?

They're on our mirror list:
along with a lot of other domains.

can somebody answer a question for me? when i open the tor browser does it automatically take me to the "dark web" , "invisible web"? because just seems to take me to almost same old sites???!!! I am just interested to go there!!!!

The "dark web" is a myth created by the media to sell newspapers.

Syndicate content Syndicate content