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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a96d0c4ef0a7ec414733cfe42c174611c024614f82ad961c29651f08b5cfc59 |
|
MD5 | f24035281c0d441d0f28d8354851af90 |
|
BLAKE2b-256 | 2b39ba13b2096edeb8ea409c88078b3bf342fa59240063addc95435b1cc3b51a |
Close
Hashes for molgenis_emx2_pyclient-8.210.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad3834914b5032d1d1a3bf1feac954b81fb0da0f2c6392c79b84afaac3f8e462 |
|
MD5 | 172bf26bc97426326b0ee29ea731fb68 |
|
BLAKE2b-256 | 6139e9ad1917659778af2e19ac5c2aa7b48bfb269df3a41f7b7009f2350b224b |