Skip to main content

A Python package from the DS library collection

Project description

ds-provider-sdworx-py-lib

SD Worx provider for the DS Business Workflow platform.

Installation

pip install ds-provider-sdworx-py-lib

Or with uv:

uv pip install ds-provider-sdworx-py-lib

Quick Start

import pandas as pd
from ds_provider_sdworx_py_lib.serde import EmploymentUpdateSerializer

serializer = EmploymentUpdateSerializer()

df = pd.DataFrame([{
    "CompanyNo": "001",
    "SSN": "12345678901",
    "PersonCompanyEmploymentNo": "E001",
    "ValidFrom": "2024-01-01",
    "ValidUntil": "2024-12-31",
    "Salary": "50000",
}])

xml_bytes = serializer(df)
print(xml_bytes.decode("utf-8"))

Development

git clone https://github.com/grasp-labs/ds-provider-sdworx-py-lib.git
cd ds-provider-sdworx-py-lib
uv sync
make test

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

ds_provider_sdworx_py_lib-0.1.0a1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ds_provider_sdworx_py_lib-0.1.0a1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file ds_provider_sdworx_py_lib-0.1.0a1.tar.gz.

File metadata

File hashes

Hashes for ds_provider_sdworx_py_lib-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 9f50e724941126cce0a45afc0cdd982ae026bfaad988f7c6a6ec101f3bb98f4b
MD5 b9e94d1862e3bb300be45486a45cd996
BLAKE2b-256 94813d9ba42a36dc6b89915d9537e5a29025b89b7721864fd26f82d614303577

See more details on using hashes here.

File details

Details for the file ds_provider_sdworx_py_lib-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for ds_provider_sdworx_py_lib-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 af136b006a529870cf6527a34ceea75f7258fc7933a4eb4dd06a9dbada91ac1d
MD5 e6b25a41e4ab898d787f98b8938220ca
BLAKE2b-256 f621ce201d58c0caef08fe1df3af8a969c97c0e992002a5939f17ea3ff92acef

See more details on using hashes here.

Supported by

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