This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Сервис подгтовки отчета KPI по отделениям банка | |
| Входящие агрументы: | |
| - дата на которую нужно сформировать отчет | |
| - список id отделений, день | |
| Результат: | |
| - данные по отношению объемы выданных кредитов к объему выданных ипотек за период |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| ''' | |
| Simple and functional REST server for Python (3.5) using no dependencies beyond the Python standard library. | |
| Ported from original lib for Python 2.7 by Liron (tliron @ github.com) https://gist.github.com/tliron/8e9757180506f25e46d9 | |
| Features: | |
| * Map URI patterns using regular expressions | |
| * Map any/all the HTTP VERBS (GET, PUT, DELETE, POST) | |
| * All responses and payloads are converted to/from JSON for you | |
| * Easily serve static files: a URI can be mapped to a file, in which case just GET is supported |