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.209.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 598910021fbec7f52f98d8391d850ea778b5ce697b0382a42c1d7d4b7383cb3f |
|
MD5 | 8a0f2f65055f144f0b0d5cf3ff882ab5 |
|
BLAKE2b-256 | cbe3f5988eb5ac8f245f533661e30aa916bc87269a1400e79ce6b494856368d4 |
Close
Hashes for molgenis_emx2_pyclient-8.209.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16edc8d34676c8bc7d19a5b6b6de12393343210bfd9a1d579c05de389ca7ad90 |
|
MD5 | c55fad335e03786b63caecfcaaf33f38 |
|
BLAKE2b-256 | 67319965bc5e4f8f014ebabfbaa0b1e054c35dd34d1910db59c14f4b4923e36e |