├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── LICENSE ├── README.md ├── conftest.py ├── makefile ├── pytest.ini ├── requirements-dev.txt ├── requirements-prod.txt ├── src ├── index.py ├── model │ ├── News.py │ └── Price.py ├── scripts │ ├── bitcoin_news.py │ └── bitcoin_price.py └── services │ ├── fetch.py │ ├── s3.py │ └── time.py ├── template.json └── tests ├── fixtures ├── documents │ ├── bitcoin_news.json │ └── bitcoin_price.json ├── news │ ├── bbc.txt │ ├── coindesk.txt │ ├── ft.txt │ ├── wsj.txt │ └── yahoo.txt ├── prices │ ├── blockchain.json │ ├── coingecko.json │ └── gemini.json └── utils.py └── integration └── test_main.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/README.md -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/conftest.py -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/makefile -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- 1 | aioresponses 2 | autopep8 3 | pytest -------------------------------------------------------------------------------- /requirements-prod.txt: -------------------------------------------------------------------------------- 1 | aiobotocore 2 | aiohttp -------------------------------------------------------------------------------- /src/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/src/index.py -------------------------------------------------------------------------------- /src/model/News.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/src/model/News.py -------------------------------------------------------------------------------- /src/model/Price.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/src/model/Price.py -------------------------------------------------------------------------------- /src/scripts/bitcoin_news.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/src/scripts/bitcoin_news.py -------------------------------------------------------------------------------- /src/scripts/bitcoin_price.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/src/scripts/bitcoin_price.py -------------------------------------------------------------------------------- /src/services/fetch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/src/services/fetch.py -------------------------------------------------------------------------------- /src/services/s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/src/services/s3.py -------------------------------------------------------------------------------- /src/services/time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/src/services/time.py -------------------------------------------------------------------------------- /template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/template.json -------------------------------------------------------------------------------- /tests/fixtures/documents/bitcoin_news.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/documents/bitcoin_news.json -------------------------------------------------------------------------------- /tests/fixtures/documents/bitcoin_price.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/documents/bitcoin_price.json -------------------------------------------------------------------------------- /tests/fixtures/news/bbc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/news/bbc.txt -------------------------------------------------------------------------------- /tests/fixtures/news/coindesk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/news/coindesk.txt -------------------------------------------------------------------------------- /tests/fixtures/news/ft.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/news/ft.txt -------------------------------------------------------------------------------- /tests/fixtures/news/wsj.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/news/wsj.txt -------------------------------------------------------------------------------- /tests/fixtures/news/yahoo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/news/yahoo.txt -------------------------------------------------------------------------------- /tests/fixtures/prices/blockchain.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/prices/blockchain.json -------------------------------------------------------------------------------- /tests/fixtures/prices/coingecko.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/prices/coingecko.json -------------------------------------------------------------------------------- /tests/fixtures/prices/gemini.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/prices/gemini.json -------------------------------------------------------------------------------- /tests/fixtures/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/fixtures/utils.py -------------------------------------------------------------------------------- /tests/integration/test_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeogi/async-python-lambda-template/HEAD/tests/integration/test_main.py --------------------------------------------------------------------------------