├── .gitignore ├── CHANGES.md ├── CONTRIBUTORS.txt ├── Dockerfile ├── LICENSE ├── MANIFEST.in ├── README.md ├── TODO ├── ank ├── __init__.py ├── chain_process.py ├── cli.py ├── components │ ├── __init__.py │ ├── api_app.py │ ├── join_app.py │ ├── kafka_consumer.py │ ├── kafka_producer.py │ ├── log_app.py │ ├── pipe_app.py │ ├── rabbitmq_consumer.py │ ├── rabbitmq_producer.py │ ├── redis_subscribe.py │ ├── schedule_app.py │ ├── split_app.py │ ├── zmq_consumer.py │ └── zmq_producer.py ├── daemon.py ├── generate_processor.py ├── generate_setting.py ├── program_loader.py ├── templates │ ├── __init__.py │ ├── apiapp_endpoint.tpy │ ├── apiapp_processor.tpy │ ├── apiapp_services.tpy │ ├── apiapp_settings.tpy │ ├── baseapp_processor.tpy │ ├── baseapp_services.tpy │ ├── baseapp_settings.tpy │ ├── docker.tpy │ ├── readme.tpy │ ├── schedule_services.tpy │ ├── schedule_settings.tpy │ ├── scheduleapp_processor.tpy │ └── unittest.tpy ├── tests │ ├── __init__.py │ ├── processor.py │ ├── services.yml │ ├── settings.yml │ └── test_deploy.py └── utils │ ├── __init__.py │ ├── api_helpers.py │ ├── cmd_helpers.py │ ├── config_handle.py │ ├── crontab_time.py │ ├── logger.py │ └── naming_services.py ├── examples ├── __init__.py ├── api_app │ ├── __init__.py │ ├── endpoint.py │ ├── processor.py │ ├── requirements.txt │ ├── services.yml │ └── settings.yml ├── schedule_app │ ├── __init__.py │ ├── processor.py │ ├── requirements.txt │ ├── services.yml │ └── settings.yml └── streaming_app │ ├── __init__.py │ ├── processor.py │ ├── requirements.txt │ ├── services.yml │ └── settings.yml ├── requirements.txt └── setup.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/CHANGES.md -------------------------------------------------------------------------------- /CONTRIBUTORS.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/README.md -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/TODO -------------------------------------------------------------------------------- /ank/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/__init__.py -------------------------------------------------------------------------------- /ank/chain_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/chain_process.py -------------------------------------------------------------------------------- /ank/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/cli.py -------------------------------------------------------------------------------- /ank/components/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'sunary' -------------------------------------------------------------------------------- /ank/components/api_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/api_app.py -------------------------------------------------------------------------------- /ank/components/join_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/join_app.py -------------------------------------------------------------------------------- /ank/components/kafka_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/kafka_consumer.py -------------------------------------------------------------------------------- /ank/components/kafka_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/kafka_producer.py -------------------------------------------------------------------------------- /ank/components/log_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/log_app.py -------------------------------------------------------------------------------- /ank/components/pipe_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/pipe_app.py -------------------------------------------------------------------------------- /ank/components/rabbitmq_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/rabbitmq_consumer.py -------------------------------------------------------------------------------- /ank/components/rabbitmq_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/rabbitmq_producer.py -------------------------------------------------------------------------------- /ank/components/redis_subscribe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/redis_subscribe.py -------------------------------------------------------------------------------- /ank/components/schedule_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/schedule_app.py -------------------------------------------------------------------------------- /ank/components/split_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/split_app.py -------------------------------------------------------------------------------- /ank/components/zmq_consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/zmq_consumer.py -------------------------------------------------------------------------------- /ank/components/zmq_producer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/components/zmq_producer.py -------------------------------------------------------------------------------- /ank/daemon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/daemon.py -------------------------------------------------------------------------------- /ank/generate_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/generate_processor.py -------------------------------------------------------------------------------- /ank/generate_setting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/generate_setting.py -------------------------------------------------------------------------------- /ank/program_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/program_loader.py -------------------------------------------------------------------------------- /ank/templates/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'sunary' 2 | 3 | 4 | import os 5 | TEMPLATES_PATH = os.getcwd() -------------------------------------------------------------------------------- /ank/templates/apiapp_endpoint.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/apiapp_endpoint.tpy -------------------------------------------------------------------------------- /ank/templates/apiapp_processor.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/apiapp_processor.tpy -------------------------------------------------------------------------------- /ank/templates/apiapp_services.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/apiapp_services.tpy -------------------------------------------------------------------------------- /ank/templates/apiapp_settings.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/apiapp_settings.tpy -------------------------------------------------------------------------------- /ank/templates/baseapp_processor.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/baseapp_processor.tpy -------------------------------------------------------------------------------- /ank/templates/baseapp_services.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/baseapp_services.tpy -------------------------------------------------------------------------------- /ank/templates/baseapp_settings.tpy: -------------------------------------------------------------------------------- 1 | parameters: -------------------------------------------------------------------------------- /ank/templates/docker.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/docker.tpy -------------------------------------------------------------------------------- /ank/templates/readme.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/readme.tpy -------------------------------------------------------------------------------- /ank/templates/schedule_services.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/schedule_services.tpy -------------------------------------------------------------------------------- /ank/templates/schedule_settings.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/schedule_settings.tpy -------------------------------------------------------------------------------- /ank/templates/scheduleapp_processor.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/scheduleapp_processor.tpy -------------------------------------------------------------------------------- /ank/templates/unittest.tpy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/templates/unittest.tpy -------------------------------------------------------------------------------- /ank/tests/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'sunary' 2 | -------------------------------------------------------------------------------- /ank/tests/processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/tests/processor.py -------------------------------------------------------------------------------- /ank/tests/services.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/tests/services.yml -------------------------------------------------------------------------------- /ank/tests/settings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/tests/settings.yml -------------------------------------------------------------------------------- /ank/tests/test_deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/tests/test_deploy.py -------------------------------------------------------------------------------- /ank/utils/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'sunary' -------------------------------------------------------------------------------- /ank/utils/api_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/utils/api_helpers.py -------------------------------------------------------------------------------- /ank/utils/cmd_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/utils/cmd_helpers.py -------------------------------------------------------------------------------- /ank/utils/config_handle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/utils/config_handle.py -------------------------------------------------------------------------------- /ank/utils/crontab_time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/utils/crontab_time.py -------------------------------------------------------------------------------- /ank/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/utils/logger.py -------------------------------------------------------------------------------- /ank/utils/naming_services.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/ank/utils/naming_services.py -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'sunary' -------------------------------------------------------------------------------- /examples/api_app/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'sunary' -------------------------------------------------------------------------------- /examples/api_app/endpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/api_app/endpoint.py -------------------------------------------------------------------------------- /examples/api_app/processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/api_app/processor.py -------------------------------------------------------------------------------- /examples/api_app/requirements.txt: -------------------------------------------------------------------------------- 1 | ank>=1.5.5 2 | pymongo -------------------------------------------------------------------------------- /examples/api_app/services.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/api_app/services.yml -------------------------------------------------------------------------------- /examples/api_app/settings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/api_app/settings.yml -------------------------------------------------------------------------------- /examples/schedule_app/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'sunary' -------------------------------------------------------------------------------- /examples/schedule_app/processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/schedule_app/processor.py -------------------------------------------------------------------------------- /examples/schedule_app/requirements.txt: -------------------------------------------------------------------------------- 1 | ank>=1.5.5 -------------------------------------------------------------------------------- /examples/schedule_app/services.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/schedule_app/services.yml -------------------------------------------------------------------------------- /examples/schedule_app/settings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/schedule_app/settings.yml -------------------------------------------------------------------------------- /examples/streaming_app/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'sunary' -------------------------------------------------------------------------------- /examples/streaming_app/processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/streaming_app/processor.py -------------------------------------------------------------------------------- /examples/streaming_app/requirements.txt: -------------------------------------------------------------------------------- 1 | ank>=1.5.5 -------------------------------------------------------------------------------- /examples/streaming_app/services.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/streaming_app/services.yml -------------------------------------------------------------------------------- /examples/streaming_app/settings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/examples/streaming_app/settings.yml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunary/ank/HEAD/setup.py --------------------------------------------------------------------------------