Skip to content

Commit b1abfe9

Browse files
committed
add additional module-level docstrings and metadata
1 parent c194ea4 commit b1abfe9

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

nrepl/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
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+
314
import socket
415
import nrepl.bencode as bencode
516
import threading
@@ -8,6 +19,13 @@
819
except 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

1230
def _bencode_connect(uri):
1331
s = socket.create_connection(uri.netloc.split(":"))

nrepl/bencode.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
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+
314
try:
415
from cStringIO import StringIO
516
except ImportError:

0 commit comments

Comments
 (0)