Giter VIP home page Giter VIP logo

synapse-to-ipynb's Introduction

Build Status

Synapse-to-IPython Notebook (synapse-to-ipynb)

Azure Synapse Analytics uses notebooks for various computational tasks however managing these in a local dev environment and with proper version control is difficult. If this is a problem you have run into, this tool might be for you.

This program was designed primarily for use in a CI/CD pipeline.

Features

  • Create new IPython notebooks from Synapse notebooks
  • Delete IPython notebooks that don't exist in Synapse notebooks
  • Update Synapse notebooks from IPython notebooks

Installation

pip install synapse-to-ipynb

Workflow and Usage

  1. Create Synapse notebooks directly in Synapse

  2. Create ipynbs from Synapse notebooks. The source Synapse directory is considered the point of truth and so the default behaviour is that if the target already contains .ipynb files, ones that don't have a matching Synapse notebook will be deleted:

    synapse-to-ipynb --source <synapse_directory> --target <ipython_directory>
    
    • --source: The source directory containing Synapse notebooks (.json).
    • --target: The target directory to store IPython Notebooks (.ipynb).
  3. Develop the .ipynb files in your faviourite IDE

  4. To migrate the changes back to Synapse use the --update flag:

    synapse-to-ipynb --source <synapse_directory> --target <ipython_directory> --update
    
    • --source: The source directory containing Synapse notebooks (.json).
    • --target: The target directory to store IPython Notebooks (.ipynb).
    • --update: Put the tool in update mode

Contributing

Feedback and contributions are welcome! If you encounter any issues or have suggestions for improvement, please create an issue or submit a pull request.

License

This project is licensed under the MIT License.

synapse-to-ipynb's People

Contributors

jordanamos avatar jthurner avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.