Python client for the Molgenis EMX2 API
Project description
Installation
pip install molgenis_emx2_client
How to use
Within your Python project import the class Client and use it to sign in
from molgenis_emx2_client 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_client*.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.199.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8abe94c44f5a9627b85ca0172aeda5922a0df8205a4c0853fd62218065cdfb1e |
|
MD5 | 1d50634c61d5d555d4e3fb6409aeac1b |
|
BLAKE2b-256 | ec1d277eb4280f011ec7179e48e9c7d285afa91e768cf39f4f6085f5876184af |
Close
Hashes for molgenis_emx2_pyclient-8.199.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba307c87fb6e8b24d92d788c7a5c81df4609088ee205909a824bd5295d8f466 |
|
MD5 | aed9d24c96ba52f89c3808f75d7e7f50 |
|
BLAKE2b-256 | a9bf66b57c4dc4483e40507e22064ced5c21e239718b0ad2736c351be8fd0758 |