Neptune-HTML Integration

This integration lets you log any standalone HTML objects to Neptune.

html neptune.ai integration

Follow these steps:

  1. Create an experiment:

    import neptune
    
    neptune.init(api_token='ANONYMOUS',project_qualified_name='shared/showroom')
    neptune.create_experiment()
    
  2. Create and log html object into Neptune:

    html = "<button type='button', style='background-color:#005879; width:300px; height:200px; font-size:30px'> \
        <a style='color: #ccc', href='https://docs.neptune.ai'> Take me back to the docs!!<a> </button>"
    
    from neptunecontrib.api import log_html
    
    log_html('button_example', html)
    
  3. Explore the results in the Neptune dashboard:

Check out this experiment in the app.

image