Skip to main content

package for routine operations in power bi

Project description

Selenium Automation Script

This Python script utilizes Selenium for web automation to perform tasks related to logging in, updating workspace reports, and downloading reports..

Prerequisites

  • Python installed (version 3.x recommended)
  • Powerbi Account

Features

UpdateWorkspace

Updates the specified workspace.

    from PBI-SELENIUM import Routine 
     
    Login = 'exemple@gmail.com'
    Password =  'exemple123'
    Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'
    
    Routine.UpdateWorkspace(Login,Password,Workspace)

DownloadReport

Downloads reports from specified links.

    from PBI-SELENIUM import Routine 
     
    Login = 'exemple@gmail.com'
    Password =  'exemple123'
    Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'
    links = ['Yourdashboardlink','https://app.powerbi.com/groups/me/reports//ReportSection?experience=power-bi']
    
    Routine.DownloadReport(Login,Password,Workspace,links)

ViewReports

Views reports at regular intervals.

    from PBI-SELENIUM import Routine 
     
    Login = 'exemple@gmail.com'
    Password =  'exemple123'
    Workspace = 'https://app.powerbi.com/groups/me/list?experience=power-bi'
    interval = 10 # interval time between reports
    links = ['https://app.powerbi.com/groups/me/reports//ReportSection?experience=power-bi']
    
    
    Routine.ViewReports(Login,Password,Workspace,interval,links)

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PBI_SELENIUM-1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page