From 8e0aad8633ea3484a5a679fef6d04f7249f1400a Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 20 Sep 2016 17:28:55 +0800 Subject: Setup package structures Credit: https://github.com/kennethreitz/samplemod TODO: Add the 'docs' part --- fg21sim/__init__.py | 1 + fg21sim/core.py | 9 +++++++++ fg21sim/helpers.py | 0 3 files changed, 10 insertions(+) create mode 100644 fg21sim/__init__.py create mode 100644 fg21sim/core.py create mode 100644 fg21sim/helpers.py (limited to 'fg21sim') diff --git a/fg21sim/__init__.py b/fg21sim/__init__.py new file mode 100644 index 0000000..f4633fa --- /dev/null +++ b/fg21sim/__init__.py @@ -0,0 +1 @@ +from .core import hmm \ No newline at end of file diff --git a/fg21sim/core.py b/fg21sim/core.py new file mode 100644 index 0000000..2cea5dc --- /dev/null +++ b/fg21sim/core.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- + +def get_hmm(): + """Get a thought.""" + return 'hmmm...' + +def hmm(): + """Contemplation...""" + print get_hmm() \ No newline at end of file diff --git a/fg21sim/helpers.py b/fg21sim/helpers.py new file mode 100644 index 0000000..e69de29 -- cgit v1.2.2