Metadata-Version: 2.1
Name: mbu_dev_shared_components
Version: 0.0.35
Summary: Shared components to use in RPA projects
Author-email: MBU <rpa@mbu.aarhus.dk>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Office365-REST-Python-Client>=2.5.9
Requires-Dist: openpyxl>=3.1.2
Requires-Dist: pyodbc>=5.1.0
Requires-Dist: requests_ntlm>=1.2.0

# mbu-dev-shared-components

## Installation

```
pip install mbu-dev-shared-components
```

## Intro

This python library contains helper modules for RPA development.
It's based on the need of MBU, but it has been
generalized to be useful for others as well.

## Integrations

### Office365
#### - SharePoint

Helper functions for using SharePoint api. A few examples include:

- Authentication.
- Get list of files from a specified folder.
- Get file from folder.
- Get files from folder.


#### - Excel

This module provides the ExcelReader class to read data from Excel files with .xlsx format.

The ExcelReader class offers methods to read specific cells, rows, and convert the row data to JSON format.
Additionally, it provides functionalities to count the total number of rows and nodes in the JSON data.

- Read cell
- Read cells
- Read rows
- Get row count


### SAP
#### - Invoices

This module provides the InvoiceCreator class to create invoices in SAP.

The InvoiceCreator class offers methods to open a specified business partner, and creat an invoice.

- Open business partner
- Create invoice

### Utils
#### - JSON
This module provides a class for manipulating JSON objects by transforming lists
within the JSON into dictionaries with specified keys.

The primary class in this module is JSONManipulator, which contains methods for
converting lists associated with keys in a JSON object into dictionaries.

- Transform all lists
- Insert key value pairs
