Python client for the Molgenis EMX2 API
Project description
Installation
pip install molgenis_emx2_pyclient
How to use
Within your Python project import the class Client and use it to sign in
from molgenis_emx2_pyclient import Client
...
...
client = Client('https://example.molgeniscloud.org')
client.signin('username', 'password')
Development
Clone the molgenis-emx2
repository from GitHub
git clone git@github.com:molgenis/molgenis-emx2.git
Change the working directory to .../tools/pyclient
Create a virtual Python environment
On macOS:
python -m venv venv
On Linux:
python3.11 -m venv venv
On Windows:
py -3.11 venv venv
Activate the virtual environment
On macOS and Linux:
source venv/bin/activate
On Windows:
.venv\Scripts\activate.bat
Install the script dependencies
pip install -r requirements.txt
Build
(venv) $ python -m build
(venv) $ pip install dist/molgenis_emx2_pyclient*.whl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for molgenis_emx2_pyclient-8.213.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2e37c6628e674d447c9a5528a4388080056a3e40687410199e2fe7f5a3047c6 |
|
MD5 | e139cd0bc35546914ede9814d14f5cb7 |
|
BLAKE2b-256 | 580d06ee440945f426c4e50581bea970cec287260ebe3f274fb8a2f9b4f07921 |
Close
Hashes for molgenis_emx2_pyclient-8.213.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62adcf1eca38589360a5a76c1aa67e85f2a8d0862c64b6b6cb8823694ad88b06 |
|
MD5 | 11b63ec9e5e3177da13d1e4638bc2b31 |
|
BLAKE2b-256 | 3c218898acabc7cb6648beba951914ed8fc7cfb3ed11964a8ae31c05f0f4a982 |