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 details)

Uploaded Source

File details

Details for the file PBI_SELENIUM-1.0.tar.gz.

File metadata

  • Download URL: PBI_SELENIUM-1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for PBI_SELENIUM-1.0.tar.gz
Algorithm Hash digest
SHA256 e881f214c5863a8e2b84542b15c37362df9aae3f59191f2dec44f5dad43c73f2
MD5 5ba36625405b457fc1a50517c2d9e742
BLAKE2b-256 9609b368dfc2f6b9441e37758b63910279f71c4be851cbdb0cb3eecfc9a928af

See more details on using hashes here.

Supported by

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