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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99808f097c2ad3dec8b8786dee3f3a89b0187ea522300c01ed9c03af49d6e1a7 |
|
MD5 | c77066117a8b6276b093beeb35775a4c |
|
BLAKE2b-256 | b45c4d07f50658fef2178ee74fe7f9cc4050405f711cd4ad06a69e367ab57464 |
Close
Hashes for molgenis_emx2_pyclient-8.213.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e097d70a2d9d8c8a7e7359692964cb0824ae28e2bd85b11988c5d886951796d0 |
|
MD5 | 33e6bb91271fb6a3bb503fabaf76e461 |
|
BLAKE2b-256 | 2aef39c964df9d9f581db0003172d8ce6748db7247f047ba1d290d14cc065bb9 |