Metadata-Version: 2.1
Name: sagemill
Version: 0.0.1
Summary: Run SageMaker Job like Papermil
Home-page: https://github.com/yuki-mt/sagemill/
Author: yuki-mt
Author-email: yuki-mt@gmail.com
License: Apache License 2.0
Keywords: sagemaker,papermill
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: jupyter (>=1.0)
Requires-Dist: boto3 (>=1.12)
Requires-Dist: docker (>=4.2)
Requires-Dist: pipreqs (>=0.4)

Sagemill
========

Sagemill lets you to execute your notebook as
`SageMaker <https://aws.amazon.com/sagemaker/>`__ jobs in the similar
way to `papermill <https://papermill.readthedocs.io/en/latest/>`__

Overall features
----------------

-  parameterize notebooks
-  execute notebooks as SageMaker Trainig/Processing Job

Installatioin
-------------

::

   $ pip install sagemill

Prerequsites
------------

-  Python>=3.5

Required IAM policy
~~~~~~~~~~~~~~~~~~~

-  ecr

   -  create-repository
   -  get-authorization-token

-  sts

   -  get-caller-identity

-  permission to run Sagemaker jobs

   -  write to cloudwatch logs
   -  access to some S3 buckets
   -  start training/proceessing jobs
   -  etc.

Example notebooks
-----------------

These notebook are assumed to be ``conda_python3`` in SageMaker Notebook
instance If you run it on different environments, install ``conda`` and
run ``pip install sagemaker``

-  `Training job with tensorflow <./example/train_tf.ipynb>`__
-  `Training job with your own docker
   image <./example/train_custom.ipynb>`__
-  `Processing job with
   SKLearnProcessor <./example/process_sklearn.ipynb>`__
-  `Processing job with your own docker
   image <./example/process_custom.ipynb>`__


