Browse Source

Initial commit.

Ian Adam Naval 7 years ago
commit
c3a94efd4a
6 changed files with 76 additions and 0 deletions
  1. 35
    0
      .gitignore
  2. 0
    0
      LICENSE.txt
  3. 4
    0
      README.md
  4. 1
    0
      requirements.txt
  5. 18
    0
      src/main.py
  6. 18
    0
      src/mbta_alert/__init__.py

+ 35
- 0
.gitignore View File

@@ -0,0 +1,35 @@
1
+*.py[cod]
2
+
3
+# C extensions
4
+*.so
5
+
6
+# Packages
7
+*.egg
8
+*.egg-info
9
+dist
10
+build
11
+eggs
12
+parts
13
+bin
14
+var
15
+sdist
16
+develop-eggs
17
+.installed.cfg
18
+lib
19
+lib64
20
+
21
+# Installer logs
22
+pip-log.txt
23
+
24
+# Unit test / coverage reports
25
+.coverage
26
+.tox
27
+nosetests.xml
28
+
29
+# Translations
30
+*.mo
31
+
32
+# Mr Developer
33
+.mr.developer.cfg
34
+.project
35
+.pydevproject

+ 0
- 0
LICENSE.txt View File


+ 4
- 0
README.md View File

@@ -0,0 +1,4 @@
1
+MBTA Alert
2
+==========
3
+
4
+Simple tool to send me e-mail alerts while to let me know that I should leave for the bus.

+ 1
- 0
requirements.txt View File

@@ -0,0 +1 @@
1
+requests==1.2.3

+ 18
- 0
src/main.py View File

@@ -0,0 +1,18 @@
1
+#!/usr/bin/env python3
2
+# -*- coding: utf-8 -*-
3
+"""
4
+:mod:`main` -- Main
5
+===================
6
+
7
+:platform: Unix
8
+:synopsis: Main module for MBTA Alert.
9
+:author: Ian Adam Naval <ianonavy@gmail.com>
10
+
11
+Third party dependencies: none
12
+"""
13
+
14
+from mbta_alert import MBTAAlerter
15
+
16
+
17
+if __name__ == '__main__':
18
+    MBTAAlerter()

+ 18
- 0
src/mbta_alert/__init__.py View File

@@ -0,0 +1,18 @@
1
+#!/usr/bin/env python3
2
+# -*- coding: utf-8 -*-
3
+"""
4
+:mod:`mbta_alert` -- MBTA Alerter
5
+=================================
6
+
7
+:platform: Unix
8
+:synopsis: Simple tool to alert me when it is time to leave.
9
+:author: Ian Adam Naval <ianonavy@gmail.com>
10
+
11
+Third party dependencies: requests
12
+"""
13
+
14
+import requests
15
+
16
+
17
+class MBTAAlerter(object):
18
+    pass

Loading…
Cancel
Save