init code clean up + code comments

This commit is contained in:
Rossen Georgiev 2014-12-30 16:35:14 +00:00
parent d5d1fab3bd
commit 40dfad3092
8 changed files with 17 additions and 20 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
.coverage
*.swp
*.pyc
dist
aprs.egg-info
*.egg-info

View File

@ -28,7 +28,7 @@ pylint:
build: pylint test
clean:
rm -rf dist aprs.egg-info
rm -rf dist aprs.egg-info aprslib/*.pyc
dist: clean
python setup.py sdist

View File

@ -1,4 +1,4 @@
# aprs - Python library for dealing with APRS
# aprslib - Python library for working with APRS
# Copyright (C) 2013-2014 Rossen Georgiev
#
# This program is free software; you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
# aprs - Python library for dealing with APRS
# aprslib - Python library for working with APRS
# Copyright (C) 2013-2014 Rossen Georgiev
#
# This program is free software; you can redistribute it and/or modify
@ -31,18 +31,12 @@ __version__ = "0.6.31"
__author__ = "Rossen Georgiev"
__all__ = ['IS', 'parse', 'passcode']
from .parse import parse as refparse
parse = refparse
del refparse
from .exceptions import *
from .parse import parse
from .passcode import passcode
from .passcode import passcode as refpasscode
passcode = refpasscode
del refpasscode
from .IS import IS as refIS
from .IS import IS
class IS(refIS):
class IS(IS):
pass
del refIS

View File

@ -1,4 +1,4 @@
# aprs - Python library for dealing with APRS
# aprslib - Python library for working with APRS
# Copyright (C) 2013-2014 Rossen Georgiev
#
# This program is free software; you can redistribute it and/or modify
@ -18,6 +18,8 @@
"""
Provides facilities for covertion from/to base91
"""
__all__ = ['to_decimal', 'from_decimal']
from math import log
from re import findall

View File

@ -1,4 +1,4 @@
# aprs - Python library for dealing with APRS
# aprslib - Python library for working with APRS
# Copyright (C) 2013-2014 Rossen Georgiev
#
# This program is free software; you can redistribute it and/or modify

View File

@ -1,4 +1,4 @@
# aprs - Python library for dealing with APRS
# aprslib - Python library for working with APRS
# Copyright (C) 2013-2014 Rossen Georgiev
#
# This program is free software; you can redistribute it and/or modify
@ -59,7 +59,7 @@ def parse(raw_sentence):
"""
Parses an APRS packet and returns a dict with decoded data
- All attributes are in meteric units
- All attributes are in metric units
Supports:
* normal/compressed/mic-e position reports

View File

@ -1,4 +1,4 @@
# aprs - Python library for dealing with APRS
# aprslib - Python library for working with APRS
# Copyright (C) 2013-2014 Rossen Georgiev
#
# This program is free software; you can redistribute it and/or modify