├── .gitignore ├── DEV.md ├── README.md ├── README.rst ├── conda-environment.txt ├── examples ├── article-summarizer │ ├── README.md │ ├── main.py │ └── requirements.txt ├── check_env │ ├── main.py │ └── requirements.txt ├── db-lookup │ ├── README.md │ ├── helpers │ │ ├── __init__.py │ │ └── dbconn.py │ ├── main.py │ └── requirements.txt ├── ensemble-model │ ├── README.md │ ├── main.py │ ├── models │ │ ├── __init__.py │ │ ├── decisiontree.py │ │ ├── ensemble.py │ │ ├── knn.py │ │ └── svc.py │ ├── objects │ │ ├── decision_tree.pkl │ │ ├── ensemble.pkl │ │ ├── knn.pkl │ │ └── svc.pkl │ ├── requirements.txt │ └── train.py ├── h2o-classifier │ ├── README.md │ ├── deploy.py │ ├── iris.csv │ ├── objects │ │ └── h2o_rf_model │ ├── promote.sh │ ├── requirements.txt │ └── train.py ├── hello-vectorized │ ├── README.md │ ├── main.py │ └── requirements.txt ├── hello-world │ ├── README.md │ ├── main.py │ └── requirements.txt ├── iris-classifier │ ├── README.md │ ├── helpers │ │ ├── __init__.py │ │ └── getclass.py │ ├── main.py │ ├── objects │ │ └── model_weights.pkl │ ├── requirements.txt │ └── train.py ├── naivebayes-pomegranate │ ├── README.md │ ├── deploy.py │ ├── objects │ │ └── naive_weights.pomo │ ├── requirements.txt │ └── train-naivebayes.py ├── svc-classifier │ ├── README.md │ ├── SVC_Classifier.ipynb │ ├── main.py │ └── requirements.txt ├── tensorflow │ ├── README.md │ ├── cnn_mnist.py │ ├── main.py │ ├── mnist.py │ ├── objects │ │ └── image.png │ ├── promote.sh │ └── requirements.txt └── weather-model │ ├── README.md │ ├── helpers │ ├── __init__.py │ ├── datatable.csv │ ├── get_weather.py │ └── tempdesc.py │ ├── main.py │ └── requirements.txt ├── promote ├── __init__.py ├── metadata.py ├── promote.py ├── promote_json.py ├── utils.py ├── validator.py └── version.py ├── release.sh ├── setup.py └── tests ├── sample-model ├── README.md ├── __MACOSX │ └── ._deploy_tensorflow.py ├── deploy_clfModel.py ├── deploy_malformed.py ├── deploy_tensorflow.py ├── helpers │ ├── __init__.py │ └── punctuation.py ├── objects │ ├── model_weights.pkl │ └── rng.pkl ├── promote.sh ├── requirements.txt └── train.py └── tests.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/.gitignore -------------------------------------------------------------------------------- /DEV.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | source activate promote-python 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/README.md -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /conda-environment.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/conda-environment.txt -------------------------------------------------------------------------------- /examples/article-summarizer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/article-summarizer/README.md -------------------------------------------------------------------------------- /examples/article-summarizer/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/article-summarizer/main.py -------------------------------------------------------------------------------- /examples/article-summarizer/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | schema 3 | newspaper3k -------------------------------------------------------------------------------- /examples/check_env/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/check_env/main.py -------------------------------------------------------------------------------- /examples/check_env/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | -------------------------------------------------------------------------------- /examples/db-lookup/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/db-lookup/README.md -------------------------------------------------------------------------------- /examples/db-lookup/helpers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/db-lookup/helpers/dbconn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/db-lookup/helpers/dbconn.py -------------------------------------------------------------------------------- /examples/db-lookup/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/db-lookup/main.py -------------------------------------------------------------------------------- /examples/db-lookup/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | schema==0.6.5 3 | psycopg2==2.7.3.1 -------------------------------------------------------------------------------- /examples/ensemble-model/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/README.md -------------------------------------------------------------------------------- /examples/ensemble-model/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/main.py -------------------------------------------------------------------------------- /examples/ensemble-model/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/ensemble-model/models/decisiontree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/models/decisiontree.py -------------------------------------------------------------------------------- /examples/ensemble-model/models/ensemble.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/models/ensemble.py -------------------------------------------------------------------------------- /examples/ensemble-model/models/knn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/models/knn.py -------------------------------------------------------------------------------- /examples/ensemble-model/models/svc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/models/svc.py -------------------------------------------------------------------------------- /examples/ensemble-model/objects/decision_tree.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/objects/decision_tree.pkl -------------------------------------------------------------------------------- /examples/ensemble-model/objects/ensemble.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/objects/ensemble.pkl -------------------------------------------------------------------------------- /examples/ensemble-model/objects/knn.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/objects/knn.pkl -------------------------------------------------------------------------------- /examples/ensemble-model/objects/svc.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/objects/svc.pkl -------------------------------------------------------------------------------- /examples/ensemble-model/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | schema 3 | scikit-learn -------------------------------------------------------------------------------- /examples/ensemble-model/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/ensemble-model/train.py -------------------------------------------------------------------------------- /examples/h2o-classifier/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/h2o-classifier/README.md -------------------------------------------------------------------------------- /examples/h2o-classifier/deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/h2o-classifier/deploy.py -------------------------------------------------------------------------------- /examples/h2o-classifier/iris.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/h2o-classifier/iris.csv -------------------------------------------------------------------------------- /examples/h2o-classifier/objects/h2o_rf_model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/h2o-classifier/objects/h2o_rf_model -------------------------------------------------------------------------------- /examples/h2o-classifier/promote.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/h2o-classifier/promote.sh -------------------------------------------------------------------------------- /examples/h2o-classifier/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | h2o 3 | pandas -------------------------------------------------------------------------------- /examples/h2o-classifier/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/h2o-classifier/train.py -------------------------------------------------------------------------------- /examples/hello-vectorized/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/hello-vectorized/README.md -------------------------------------------------------------------------------- /examples/hello-vectorized/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/hello-vectorized/main.py -------------------------------------------------------------------------------- /examples/hello-vectorized/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | schema -------------------------------------------------------------------------------- /examples/hello-world/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/hello-world/README.md -------------------------------------------------------------------------------- /examples/hello-world/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/hello-world/main.py -------------------------------------------------------------------------------- /examples/hello-world/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | schema -------------------------------------------------------------------------------- /examples/iris-classifier/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/iris-classifier/README.md -------------------------------------------------------------------------------- /examples/iris-classifier/helpers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/iris-classifier/helpers/getclass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/iris-classifier/helpers/getclass.py -------------------------------------------------------------------------------- /examples/iris-classifier/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/iris-classifier/main.py -------------------------------------------------------------------------------- /examples/iris-classifier/objects/model_weights.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/iris-classifier/objects/model_weights.pkl -------------------------------------------------------------------------------- /examples/iris-classifier/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | schema 3 | scikit-learn -------------------------------------------------------------------------------- /examples/iris-classifier/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/iris-classifier/train.py -------------------------------------------------------------------------------- /examples/naivebayes-pomegranate/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/naivebayes-pomegranate/README.md -------------------------------------------------------------------------------- /examples/naivebayes-pomegranate/deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/naivebayes-pomegranate/deploy.py -------------------------------------------------------------------------------- /examples/naivebayes-pomegranate/objects/naive_weights.pomo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/naivebayes-pomegranate/objects/naive_weights.pomo -------------------------------------------------------------------------------- /examples/naivebayes-pomegranate/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/naivebayes-pomegranate/requirements.txt -------------------------------------------------------------------------------- /examples/naivebayes-pomegranate/train-naivebayes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/naivebayes-pomegranate/train-naivebayes.py -------------------------------------------------------------------------------- /examples/svc-classifier/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/svc-classifier/README.md -------------------------------------------------------------------------------- /examples/svc-classifier/SVC_Classifier.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/svc-classifier/SVC_Classifier.ipynb -------------------------------------------------------------------------------- /examples/svc-classifier/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/svc-classifier/main.py -------------------------------------------------------------------------------- /examples/svc-classifier/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | numpy 3 | pandas 4 | scikit-learn -------------------------------------------------------------------------------- /examples/tensorflow/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/tensorflow/README.md -------------------------------------------------------------------------------- /examples/tensorflow/cnn_mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/tensorflow/cnn_mnist.py -------------------------------------------------------------------------------- /examples/tensorflow/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/tensorflow/main.py -------------------------------------------------------------------------------- /examples/tensorflow/mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/tensorflow/mnist.py -------------------------------------------------------------------------------- /examples/tensorflow/objects/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/tensorflow/objects/image.png -------------------------------------------------------------------------------- /examples/tensorflow/promote.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/tensorflow/promote.sh -------------------------------------------------------------------------------- /examples/tensorflow/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/tensorflow/requirements.txt -------------------------------------------------------------------------------- /examples/weather-model/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/weather-model/README.md -------------------------------------------------------------------------------- /examples/weather-model/helpers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/weather-model/helpers/datatable.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/weather-model/helpers/datatable.csv -------------------------------------------------------------------------------- /examples/weather-model/helpers/get_weather.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/weather-model/helpers/get_weather.py -------------------------------------------------------------------------------- /examples/weather-model/helpers/tempdesc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/weather-model/helpers/tempdesc.py -------------------------------------------------------------------------------- /examples/weather-model/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/examples/weather-model/main.py -------------------------------------------------------------------------------- /examples/weather-model/requirements.txt: -------------------------------------------------------------------------------- 1 | promote 2 | schema==0.6.5 -------------------------------------------------------------------------------- /promote/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/promote/__init__.py -------------------------------------------------------------------------------- /promote/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/promote/metadata.py -------------------------------------------------------------------------------- /promote/promote.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/promote/promote.py -------------------------------------------------------------------------------- /promote/promote_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/promote/promote_json.py -------------------------------------------------------------------------------- /promote/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/promote/utils.py -------------------------------------------------------------------------------- /promote/validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/promote/validator.py -------------------------------------------------------------------------------- /promote/version.py: -------------------------------------------------------------------------------- 1 | __version__ = "1.11.0" 2 | -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python setup.py install sdist upload 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/setup.py -------------------------------------------------------------------------------- /tests/sample-model/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/tests/sample-model/README.md -------------------------------------------------------------------------------- /tests/sample-model/__MACOSX/._deploy_tensorflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/tests/sample-model/__MACOSX/._deploy_tensorflow.py -------------------------------------------------------------------------------- /tests/sample-model/deploy_clfModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/tests/sample-model/deploy_clfModel.py -------------------------------------------------------------------------------- /tests/sample-model/deploy_malformed.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/sample-model/deploy_tensorflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/tests/sample-model/deploy_tensorflow.py -------------------------------------------------------------------------------- /tests/sample-model/helpers/__init__.py: -------------------------------------------------------------------------------- 1 | from . import punctuation -------------------------------------------------------------------------------- /tests/sample-model/helpers/punctuation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/tests/sample-model/helpers/punctuation.py -------------------------------------------------------------------------------- /tests/sample-model/objects/model_weights.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/tests/sample-model/objects/model_weights.pkl -------------------------------------------------------------------------------- /tests/sample-model/objects/rng.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/tests/sample-model/objects/rng.pkl -------------------------------------------------------------------------------- /tests/sample-model/promote.sh: -------------------------------------------------------------------------------- 1 | apt-get install tree -------------------------------------------------------------------------------- /tests/sample-model/requirements.txt: -------------------------------------------------------------------------------- 1 | pandas==0.18.2 2 | joblib 3 | promote -------------------------------------------------------------------------------- /tests/sample-model/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/tests/sample-model/train.py -------------------------------------------------------------------------------- /tests/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alteryx/promote-python/HEAD/tests/tests.py --------------------------------------------------------------------------------