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.207.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ded52cfee9473b5c276e4bd4f6adb1f85e26be0c2c4abfb3c8256b94a45f3e4 |
|
MD5 | eff81ab282c21a3d1996a2dbb6ff0bb1 |
|
BLAKE2b-256 | 96c00edd8c25cbae00f0de39ab5d8555a49c0a279d7e0a6fdb82590c70f316f8 |
Close
Hashes for molgenis_emx2_pyclient-8.207.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572718225678f0b1958ba28430ab6e10e9d6b070f3ce3b27417e3da6305c0a58 |
|
MD5 | c9e0c91bd806a0760f7cc0af5eb62be2 |
|
BLAKE2b-256 | 656e3f081184df018bd47eaa2fc7555478564821de1b6bf3e08f9ede2f4a411b |