Skip to main content

vivainsights

vivainsights CI License: MIT PyPI - Downloads PyPI - Version

Overview

This is a Python package for analyzing and visualizing data from Microsoft Viva Insights.

Access to the Analyst Experience is required. With this library, you can generate visualizations and compute analyses in a way that adheres to the analysis best practices of the Viva Insights query outputs.

For the full package documentation, please see here. The vivainsights library is published on the Python Package Index (PyPi).

The API is designed to remain conceptually parallel with the R package so analysts can move between the two languages more easily.

Viva Insights metric and organizational-attribute columns can vary by query, product version, and language locale. The package therefore uses caller-supplied column names for these fields. Person queries consistently use PersonId and MetricDate for their identifier and observation-date columns.

Example visualization output from the library (create_rank()):

Installation

Install vivainsights from PyPI:

pip install vivainsights

Alternatively, install the development version from GitHub:

pip install "vivainsights @ git+https://github.com/microsoft/vivainsights-py.git"

See the Analyst Guide for importing evolving or localized schemas, the function discovery guide for choosing the right function for a task, and the R and Python API guide for cross-language examples.

AI agents can start from the machine-readable index at llms.txt.


Also check out our package cheat sheet for a quick glimpse of what vivainsights offers:

Related repositories

Contributing

This project welcomes contributions and suggestions. For feature and complex bug fix contributions, it is recommended that you first discuss the proposed change with vivainsight’s maintainers before submitting the pull request. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

This library is licensed under the MIT License. For more information, please see the LICENSE file.

Release files for vivainsights 0.4.3

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

Source distribution (sdist)

Source distribution for vivainsights 0.4.3
File Size Uploaded
vivainsights-0.4.3.tar.gz 2.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for vivainsights 0.4.3
File Interpreter ABI Platform
vivainsights-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 MB

Release files / vivainsights-0.4.3.tar.gz

Download URL vivainsights-0.4.3.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
4cfb9bacfa9a0a7b62ac35985cf87ff742d31d6b35e00254b8a9db8b7f31042e
BLAKE2b-256 checksum
How to use checksums
883fa0531af7956764238b8590fdffcd1300eb269aa080715ec329699bc3cba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / vivainsights-0.4.3-py3-none-any.whl

Download URL vivainsights-0.4.3-py3-none-any.whl
Size 2.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8c0b2a61f342901ea07e928a20a308831475a06c484e415f045ed3f03e067115
BLAKE2b-256 checksum
How to use checksums
407f15d4be3d0d7af36129efe29420735899e696216c49ff2ecf017fb1b2e48f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

1 release file

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2.0

1 release file

0.1.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