https://github.com/bayer-group/medconb-client

https://github.com/bayer-group/medconb-client

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.7%) to scientific vocabulary

Keywords

beat-undefined
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: Bayer-Group
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 669 KB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 4
Topics
beat-undefined
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing License Codeowners

README.md

MedConB Client

Build Status Documentation Checked with mypy Code style: black Linting: Ruff

This library provides a Python interface to the MedConB API. With this you can easily retrieve whole codelists from MedConB.

Installation

You can install (and update) it into your python environment by running:

pip install --force-reinstall -U medconb-client

Usage

To use it, you need to create a client:

```python from medconb_client import Client

endpoint = "https://api.medconb.example.com/graphql/" token = get_token()

client = Client(endpoint, token) ```

with that client you can now interact with the API.

Get a codelist by name

python codelist = client.get_codelist_by_name( codelist_name="Coronary Artery Disease", codelist_collection_name="Pacific AF [Sample]", )

python codelist = client.get_codelist_by_name( codelist_name="Coronary Artery Disease", phenotype_collection_name="[Sample] PACIFIC AF ECA", phenotype_name="Coronary Artery Disease", )

Get a codelist by id

python codelist = client.get_codelist( codelist_id="9c4ad312-3008-4d95-9b16-6f9b21ec1ad9" )

Retrieve collections in your workspace

```python workspaceinfo = client.getworkspace()

collectioninfo = next( collection for collection in workspaceinfo.collections if collection.itemType == "Codelist" )

codelist = client.getcodelist(collectioninfo.items[0].id) ```

For more information, also see our Examples Page.

Owner

  • Name: Bayer Open Source
  • Login: Bayer-Group
  • Kind: organization

Science for a better life

GitHub Events

Total
  • Release event: 7
  • Watch event: 1
  • Delete event: 4
  • Member event: 2
  • Push event: 26
  • Create event: 10
Last Year
  • Release event: 7
  • Watch event: 1
  • Delete event: 4
  • Member event: 2
  • Push event: 26
  • Create event: 10

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 18
  • Total Committers: 1
  • Avg Commits per committer: 18.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 18
  • Committers: 1
  • Avg Commits per committer: 18.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Alexander Vowinkel a****l@b****m 18
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 26 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
pypi.org: medconb-client

medconb-client is a Python client for the MedConB API.

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 26 Last month
Rankings
Dependent packages count: 9.8%
Average: 32.3%
Dependent repos count: 54.9%
Maintainers (1)
Last synced: 10 months ago

Dependencies

.github/workflows/mkdocs.yaml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/pypi.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
pyproject.toml pypi
requirements-dev.txt pypi
  • devtools * development
  • mkdocs * development
  • mkdocs-gen-files * development
  • mkdocs-glightbox * development
  • mkdocs-jupyter * development
  • mkdocs-literate-nav * development
  • mkdocs-material * development
  • mkdocstrings * development
requirements.txt pypi
  • aiohttp *
  • gql *
  • msal *
  • pandas *
  • pydantic *
  • requests_toolbelt *