Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aiscalator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiscalator

AIscalate your Jupyter Notebook Prototypes into Airflow Data Products

  • 0.1.18
  • PyPI
  • Socket score

Maintainers
1

========== AIscalator

  • Free software: Apache Software License 2.0
  • Website: http://www.aiscalate.com
  • Documentation: https://aiscalator.readthedocs.io/en/latest/
  • Bugs: https://github.com/aiscalate/aiscalator/issues

Key Features

Aiscalator is a toolbox to enable your team streamlining processes from innovation to productization with:

  • Jupyter workbench
    • Explore Data, Prototype Solutions
  • Docker wrapper tools
    • Share Code, Deploy Reproducible Environments
  • Airflow machinery
    • Schedule Tasks, Refine Products
  • Data Science and Data Engineering best practices

.. image:: _static/aiscalator_process.png :target: _static/aiscalator_process.png :align: center :alt: From Prototype to Production Workflow

=========== Quick Start

Installation

Test if prerequisite softwares are installed:

.. code-block:: shell

docker --version
docker-compose --version
pip --version

Install AIscalator tool::

git clone https://github.com/Aiscalate/aiscalator.git
cd aiscalator/
make install

Great, we are now ready to use the AIscalator!

The following setup commands are completely optional because they are dealing with prebuilding Docker images. If you choose not to do it at this point, they will get built later on whenever they are required.

However, since producing a Docker image requires a certain amount of time to download, install packages, and sometimes even compiling them, these installation steps can be initiated right away all at once. Thus, you should be free to go enjoy a nice coffee break!

You might want to customize your environment with the AIscalator, this will ask you few questions::

aiscalator setup

Build docker images to run Jupyter environments::

aiscalator jupyter setup

Build docker image to run Airflow::

# aiscalator airflow setup <path-to-workspace-folder>
# for example,
aiscalator airflow setup $PWD

Start working

AIscalator commands dealing with jupyter are defining tasks in Airflow jargon; In our case, they are all wrapped inside a Docker container. We also refer to them as Steps.

Whereas AIscalator commands about airflow are made to author, schedule and monitor DAGs (Directed Acyclic Graphs). They define how a workflow is composed of multiple steps, their dependencies and execution times or triggers.

Jupyter

Create a new Jupyter notebook to work on, define corresponding AIscalator step::

# aiscalator jupyter new <path-to-store-new-files>
# For example,
aiscalator jupyter new project
# (CTRL + c to kill when done)

Or you can edit an existing AIscalator step::

# aiscalator jupyter edit <aiscalator step>
# For example, if you cloned the git repository:
aiscalator jupyter edit resources/example/example.conf
# (CTRL + c to kill when done)

Run the step without GUI::

# aiscalator jupyter run <aiscalator task>
# For example, if you cloned the git repository:
aiscalator jupyter run resources/example/example.conf

Airflow

Start Airflow services::

aiscalator airflow start

Create a new AIscalator DAG, define the airflow job::

# aiscalator airflow new <path-to-store-new-files>
# For example,
aiscalator airflow new project
# (CTRL + c to kill when done)

Or you can edit an existing AIscalator DAG::

# aiscalator airflow edit <aiscalator DAG>
# For example, if you cloned the git repository:
aiscalator airflow edit resources/example/example.conf
# (CTRL + c to kill when done)

Schedule AIscalator DAG into local airflow dags folder::

# aiscalator airflow push <aiscalator DAG>
# For example, if you cloned the git repository:
aiscalator airflow push resources/example/example.conf

Stop Airflow services::

aiscalator airflow stop

======= History

0.1.0 (2018-11-07)

  • First Alpha release on PyPI.

0.1.11 (2019-04-26)

  • Added docker_image.docker_extra_options list feature

0.1.13 (2019-06-23)

  • Handle errors in Jupytext conversions
  • aiscalator run subcommand exit code propagated to cli
  • Concurrent aiscalator run commands is possible

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc