File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3+ '''
4+ nrepl
5+ -----
6+
7+ A Python client for the nREPL Clojure networked-REPL server.
8+
9+ :copyright: (c) 2013 by Chas Emerick.
10+ :license: MIT, see LICENSE for more details.
11+ '''
12+
13+
314import socket
415import nrepl .bencode as bencode
516import threading
819except ImportError :
920 from urllib .parse import urlparse , ParseResult
1021
22+ __version_info__ = ('0' , '0' , '3' )
23+ __version__ = '.' .join (__version_info__ )
24+ __author__ = 'Chas Emerick'
25+ __license__ = 'MIT'
26+ __copyright__ = '(c) 2013 by Chas Emerick'
27+ __all__ = ['connect' , 'WatchableConnection' ]
28+
1129
1230def _bencode_connect (uri ):
1331 s = socket .create_connection (uri .netloc .split (":" ))
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3+ '''
4+ nrepl.bencode
5+ -------------
6+
7+ This module provides BEncode-protocol support.
8+
9+ :copyright: (c) 2013 by Chas Emerick.
10+ :license: MIT, see LICENSE for more details.
11+ '''
12+
13+
314try :
415 from cStringIO import StringIO
516except ImportError :
You can’t perform that action at this time.
0 commit comments