Stem Release 1.2

by atagar | June 1, 2014

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.

https://stem.torproject.org/

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()
controller.close()

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

https://stem.torproject.org/change_log.html#version-1-2

Cheers! -Damian

Comments

Please note that the comment area below has been archived.

June 01, 2014

Permalink

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!

June 03, 2014

Permalink

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

June 13, 2014

Permalink

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!!!!