Skip to main content

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.

Release files for synapse-to-ipynb 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for synapse-to-ipynb 1.2.1
File Size Uploaded
synapse_to_ipynb-1.2.1.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for synapse-to-ipynb 1.2.1
File Interpreter ABI Platform
synapse_to_ipynb-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / synapse_to_ipynb-1.2.1.tar.gz

Download URL synapse_to_ipynb-1.2.1.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f71c87aec44f64b63b4aaad8364f5d7732c9643d25f769e85e0a16db3cdd22d5
BLAKE2b-256 checksum
How to use checksums
5a6d9916b60e09baee8e00b2cad6f3c97e230cac9cc01898f4c8341ec279fda2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release files / synapse_to_ipynb-1.2.1-py3-none-any.whl

Download URL synapse_to_ipynb-1.2.1-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89c30d431769fafa7ce22945543da896fb62b92adb2f6db998efee2c7d2dac6b
BLAKE2b-256 checksum
How to use checksums
382c7d7e4acd3485ffb478de9954347a5c17868b710e25d713055c5bb66a4a60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page