Skip to main content

Python wrapper to DataWarehouse Connect

Project description

Overview

Python wrapper to DataWarehouse Connect.

  • Free software: ISC license

Installation

conda install -c conda-forge dwclib

pip install dwclib

Installation through conda greatly simplifies dependency management.

Additionally, Microsoft SQL Server drivers are needed and will need to be installed seperately. See here for more information: https://github.com/mkleehammer/pyodbc/wiki

Changelog

  • 2024.5.10

    • Support searching patients directly in DWC without DWCmeta
  • 2024.4.4

    • Support querying enumerations
    • Update dependencies
  • 2023.6.21

    • Remove all occurences of naive datetime since dask now support tz-aware
    • New config file syntax to be compatible with other libraries
    • Fix a bug when Pleth waveform return all NaN
  • 2023.6.7

    • Support for querying alerts using the read_alerts call
    • Use the platformdirs package for config file location
  • 2022.9.14

    • Support numeric labels and sublabels in read_patients and read_numerics
    • Support to query for multiple patients at once in read_numerics
  • 2022.6.23

    • Convert packaging from flit to poetry
    • Add linting and testing with nox, flake8 and safety
    • Create scaffolding for future Sphinx documentation
    • Fix a number of bugs in corner cases (division by zero, ...)
    • Add a generic Dask wrapper to run custom DWC queries with Dask
  • 2022.3.22

    • Convert packaging from old-style setup.py to flit
    • Refactor: extract common code between dask and pandas version
    • No longer relies on user defined function in the database
    • Patients: add read_patient function to fetch a single patient
    • Numerics: read_numerics patientids can be a list or a str. When it is a list, a MultiIndex is returned

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

dwclib-2024.9.17.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

dwclib-2024.9.17-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

Details for the file dwclib-2024.9.17.tar.gz.

File metadata

  • Download URL: dwclib-2024.9.17.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.10.10-200.fc40.x86_64

File hashes

Hashes for dwclib-2024.9.17.tar.gz
Algorithm Hash digest
SHA256 eebf38ff08e320548028b4eb460d7158013c8c67a433d71e1bd045cdafe5c360
MD5 8048fc4d3f90ff03e805fd4fa958b9ee
BLAKE2b-256 8b8b30dbd40ceaf611adc89ddbd1ec4c4d94a1af35a7234d9378515b781bc2ec

See more details on using hashes here.

File details

Details for the file dwclib-2024.9.17-py3-none-any.whl.

File metadata

  • Download URL: dwclib-2024.9.17-py3-none-any.whl
  • Upload date:
  • Size: 35.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.10.10-200.fc40.x86_64

File hashes

Hashes for dwclib-2024.9.17-py3-none-any.whl
Algorithm Hash digest
SHA256 8db0f0049a64d2790e3bc6559cc389abaea4e5ed1902860159128220026085d4
MD5 e451d5d66c5a54f3f40467a84e3ea0b5
BLAKE2b-256 98254f75cda082fd46815b34d5b89fa0371a2c778a1210c7162d86616cd160ad

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