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.214.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0ef05075ddb512e7154ee0a7bc6ac97b1f0856931b1c4e012f8e078715ae641 |
|
MD5 | 3d7ab03969d43658c94807bb7ff8ad96 |
|
BLAKE2b-256 | 0828d6593c5208f8e36fbf478cd318cdb89b9cef053d67e689eef5c15db19774 |
Close
Hashes for molgenis_emx2_pyclient-8.214.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2735523cbbcffc8fc293e35428e44a77406648b4d86f2210dd3f667ce42920a5 |
|
MD5 | 8618645724c80cab7d12b97380281b7d |
|
BLAKE2b-256 | 0e430499dc1dcca8c25dc093dcfccce3803064b8ac5e07b4a0e1744c7f77c68b |