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
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
Metadata Files
README.md
MedConB Client
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
- Website: https://bayer.com/
- Repositories: 98
- Profile: https://github.com/Bayer-Group
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
Top Committers
| Name | 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.
- Documentation: https://medconb-client.readthedocs.io/
- License: mit
-
Latest release: 0.0.4
published about 1 year ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v4 composite
- actions/setup-python v5 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- pypa/gh-action-pypi-publish release/v1 composite
- devtools * development
- mkdocs * development
- mkdocs-gen-files * development
- mkdocs-glightbox * development
- mkdocs-jupyter * development
- mkdocs-literate-nav * development
- mkdocs-material * development
- mkdocstrings * development
- aiohttp *
- gql *
- msal *
- pandas *
- pydantic *
- requests_toolbelt *