Metadata-Version: 2.1
Name: osdupy
Version: 0.0.1
Summary: A small simple python client for interacting with the OSDU API.
Home-page: https://github.com/pariveda/osdupy
Author: Pariveda Solutions, Inc.
Author-email: mike.duffy@parivedasolutions.com
License: UNKNOWN
Description: # osdupy
        
        A simple python client for the [OSDU](https://community.opengroup.org/osdu) data platform.
        
        ## Usage
        
        ### Installation
        
        ```bash
        pip install osdupy
        ```
        
        ### Example
        
        `sample.py`
        
        ```python
        from getpass import getpass()
        from osdu import client
        
        password = getpass()
        osdu = client.init(api_url, client_id, user, password)
        
        # Search for records by query.
        query = {
            "kind": f"opendes:osdu:*:*"
        }
        result = osdu.search.query_with_cursor(query, max_results=10)
        
        # Get a record.
        record_id = 'opendes:doc:01255650acef4930a04048dbb4b559d0'
        result = osdu.storage.get_record(record_id)
        
        ```
        
        See [tests](tests/tests.py) for more copmrehensive usage examples.
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
