From 4f66af8d6461b715df30832f80adf1d3370f22a2 Mon Sep 17 00:00:00 2001 From: Dennis Thiessen Date: Tue, 10 Oct 2017 11:13:19 +0200 Subject: [PATCH] Reordered project structure --- .gitignore | 90 +++++++++++ .idea/crypto-arbitrage-bot.iml | 11 -- .idea/misc.xml | 4 - .idea/modules.xml | 8 - .idea/vcs.xml | 6 - .idea/workspace.xml | 238 ++++++++++++++++++++++++--- LICENSE | 21 +++ MANIFEST.in | 1 + Makefile | 5 + README.md | 1 - README.rst | 8 + __init__.py | 1 - __main__.py | 4 - __pycache__/__init__.cpython-35.pyc | Bin 129 -> 0 bytes __pycache__/__main__.cpython-35.pyc | Bin 190 -> 0 bytes bot/__init__.py | 1 + bot/core.py | 57 +++++++ bot/helpers.py | 3 + docs/Makefile | 153 ++++++++++++++++++ docs/conf.py | 242 ++++++++++++++++++++++++++++ docs/index.rst | 22 +++ docs/make.bat | 190 ++++++++++++++++++++++ requirements.txt | 3 + setup.py | 25 +++ tests/__init__.py | 0 tests/context.py | 8 + tests/test_advanced.py | 16 ++ tests/test_basic.py | 16 ++ 28 files changed, 1077 insertions(+), 57 deletions(-) create mode 100644 .gitignore delete mode 100644 .idea/crypto-arbitrage-bot.iml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml create mode 100644 LICENSE create mode 100644 MANIFEST.in create mode 100644 Makefile delete mode 100644 README.md create mode 100644 README.rst delete mode 100644 __init__.py delete mode 100644 __main__.py delete mode 100644 __pycache__/__init__.cpython-35.pyc delete mode 100644 __pycache__/__main__.cpython-35.pyc create mode 100644 bot/__init__.py create mode 100644 bot/core.py create mode 100644 bot/helpers.py create mode 100644 docs/Makefile create mode 100644 docs/conf.py create mode 100644 docs/index.rst create mode 100644 docs/make.bat create mode 100644 requirements.txt create mode 100644 setup.py create mode 100644 tests/__init__.py create mode 100644 tests/context.py create mode 100644 tests/test_advanced.py create mode 100644 tests/test_basic.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..37fc9d4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,90 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# IPython Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# dotenv +.env + +# virtualenv +.venv/ +venv/ +ENV/ + +# Spyder project settings +.spyderproject + +# Rope project settings +.ropeproject diff --git a/.idea/crypto-arbitrage-bot.iml b/.idea/crypto-arbitrage-bot.iml deleted file mode 100644 index 6711606..0000000 --- a/.idea/crypto-arbitrage-bot.iml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index cf1964f..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 01aeb6c..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7c05c23..d42df62 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,14 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + - - + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -61,12 +130,18 @@ - +