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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf6ce7b8cf457204c2ee508aed9ac9ef79b8b5fdcd0e8010979ae2f15c27d4bc |
|
MD5 | e594626021b633849bbc414d0d774296 |
|
BLAKE2b-256 | 4bec64887f0d6b84c195e1ff17911b3191099435789de9c2ea8388ae85183e46 |
Close
Hashes for molgenis_emx2_pyclient-8.213.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66f124396dc967a469b0ebffbab6d0ed41c9504936e7e5b65d2cd1fece281445 |
|
MD5 | ecfcfbfe209cdf072bb7e35b43b121af |
|
BLAKE2b-256 | 628e912808be91ed543981e814170ecefbc8d6b0016c7bac785817c2a6075ba0 |