Skip to main content

A package used to mimic the functionality of the Dataverse SDK.

Project description

datapyrse

Overview

datapyrse is a Python library designed to mimic the functionality of the Microsoft Dataverse SDK

Features

  • Data Retrieval: Easily retrieve data from Dataverse entities.
  • Data Manipulation: Perform CRUD operations on Dataverse data.
  • Query Building: Build complex queries to filter and sort data.
  • Integration: Seamlessly integrate with other data processing libraries.

Installation

To install datapyrse, use pip:

pip install datapyrse

Usage

import uuid
from datapyrse.core import *
from datapyrse.core.query import *


service: ServiceClient = ServiceClient(
    tenant_id="YOUR_TENANT_ID",
    resource_url="YOUR_RESOURCE_URL",  # e.g. https://yourorg.crm.dynamics.com
)
if not service.IsReady:
    print("Service not ready")
    exit(1)


# Retrieve multiple entities
query: QueryExpression = QueryExpression(
    "new_tablename", ColumnSet(["new_name", "ownerid"])
)
entities: EntityCollection = service.retrieve_multiple(query)

for ent in entities.entities:
    print(f"\nId: {ent.entity_id}")
    for attribute in ent.attributes:
        print(f"  {attribute}: {ent.attributes[attribute]}")
    print()

# Retrieve a single entity
entity: Entity = service.retrieve_single("new_tablename", uuid.UUID("YOUR_GUID"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datapyrse-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

datapyrse-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file datapyrse-0.1.0.tar.gz.

File metadata

  • Download URL: datapyrse-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for datapyrse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 60f4377752f9ac29830d8685bd49b6ffcec32fc2ddfce16603e167bfd3a1b205
MD5 770bd7fa0ddbe808ca260ad6e20f39ea
BLAKE2b-256 1cd3cc81ab46f5f3a19001bc73df7ba31ebe4ee0662a5d1d072d8fead6a27db7

See more details on using hashes here.

File details

Details for the file datapyrse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: datapyrse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for datapyrse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a8f614541cc0ae4f8d0dd6d768fcc320b6a5af66ca1057b8b54ccb59359beaa
MD5 962de2ac84d15a7a8f1524d9fd553100
BLAKE2b-256 58116e7ec896cfe8c340ef4a6c39e7b01af2fa958df563ebcccef1311ccc731f

See more details on using hashes here.

Supported by

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