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.200.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e80ffbfb65c5d0b0070fa063d7bb3e20ab602800c66f8e83fb576f2ac73406e9 |
|
MD5 | 7f63bb21a3c775c070faad9d8ae06f3e |
|
BLAKE2b-256 | c9c4f365e85cedcc63f80ea463cbfb8e064d0a5a8263105706891a01f38f7155 |
Close
Hashes for molgenis_emx2_pyclient-8.200.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd1114895d7bf9977a3f7485fb88d72863d0ce16d32d664afa480b10063c81e |
|
MD5 | 07ae1a36360b8a923547203d43ff3c44 |
|
BLAKE2b-256 | ed9c768e306b2a1e7afa01740fbf9008a3ace2949026353e3069b92eaba0c9a3 |