Metadata-Version: 2.1
Name: onelake-shortcut-tools
Version: 0.1.2
Summary: A library of tools for OneLake shortcuts.
Author-email: Miles Cole <m.w.c.360@gmail.com>
License: MIT License
        
        Copyright (c) 2024 Miles Cole
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/mwc360/onelake-shortcut-tools/
Project-URL: Issues, https://github.com/mwc360/onelake-shortcut-tools/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# onelake-shortcut-tools
OneLake Shortcut Tools is library to help enable using OneLake Shortcuts in Microsoft Fabric. 
## Key Features:
- **Databricks Delta Table Compatibility Checker:** Quickly determine the compatibility of Databricks Delta tables with different Fabric runtime versions. Classification of read vs. write compatibility and whether or not droppable features exist which can allow for the table to be read or written to via Fabric Spark.
  
## Installation
```python
pip install onelake-shortcut-tools
```

## Usage
```python
from onelake_shortcut_tools.compatibility_checker import CompatibilityChecker

df = CompatibilityChecker(
    catalog_names=['catalog1', 'catalog2'], 
    schema_names=[], 
    fabric_runtime='1.2'
).evaluate()

display(df)
```
![image](https://github.com/mwc360/onelake-shortcut-tools/assets/52209784/ab31a52d-73e0-4e68-bf94-c499c474d7bf)

## Supported Configrations
- Databricks Unity Catalog is currently required for the beta release. Support for `hive_metastore` objects will be added in the next release.
- Apache Spark Runtime for Fabric 1.2 and 1.3 Preview are currently supported.


