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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9a3327d9e4d5840cd69bf2a2f4bfdbe592ce17aa6752962de9f525ee5fae567 |
|
MD5 | 8f2554e94f894a9a0662c8dbbe58424c |
|
BLAKE2b-256 | 25b355c829e680c8c44236acef7d1379593aaba179faa2e1ddeea9e2e3b997f7 |
Close
Hashes for molgenis_emx2_pyclient-8.213.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37bd30a2b1ea2c99393405b68b29cfd505ee9db53e8cd85b169e4ef0e176b158 |
|
MD5 | cfd684a59d5ecb9ac93d8e94131a119b |
|
BLAKE2b-256 | 0612a3792879cd055f2c06d99dc0c6c87814ab4d5f5904182189c9b1c73d21cd |