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.210.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 574c853816963ff0a0d2dcdf61e00bc2f73e7bb92d0e1aa71da73ff95a13e870 |
|
MD5 | 890a290c995159af4922b1c4616ac48b |
|
BLAKE2b-256 | 5846f51f7cfa1b4bd764980cc5a9c39a5a40ff79a6546d801e49f98facaacc94 |
Close
Hashes for molgenis_emx2_pyclient-8.210.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33fcf7124b87e76df3cde5e2dfa6d33b888faf5acf1e278dcd766649b244d367 |
|
MD5 | 6a22d81ab1e55d14acb47e229dfcabf3 |
|
BLAKE2b-256 | 624a7afe70f13164276669c6ecd579b9b00954fc6acad20d251debe1207d1b21 |