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.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b004b2872311e27f33c90f9eeb7b128089b9f4b6a7a4288570d6ecb5e6bfab21 |
|
MD5 | 0750c5f35f4096bc42bf1dbc7ac69c63 |
|
BLAKE2b-256 | c2b41b3ab88fc67d9ab7d7be4d7259a657615a31d92e96ba3eb60ddb83bfc303 |
Close
Hashes for molgenis_emx2_pyclient-8.213.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9e2a4331f20c783bfdba1968504724950214712e7b2c5c0f5ee748ba2829b44 |
|
MD5 | c64deac26c793b59f2994b5b23936a65 |
|
BLAKE2b-256 | 5708e2acf5a0b6abaa256252f6d76c157dc35c192b29c490cc113d73b17c747f |