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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4997e437f62077b00bff8c625aa3ae5a4abcfa59a5a56792391c0f5a730c0e51 |
|
MD5 | b5dbe08449cfb8c39cbbef7ff3f24fa6 |
|
BLAKE2b-256 | e1724e3e0ccd5d74d052e08b094981c9d8ec2c03b757a48b9e5f7fdc23b14372 |
Close
Hashes for molgenis_emx2_pyclient-8.213.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4d4180b9c4860c628adfd81cf76477cf34c3967c22704e63430655dc1451438 |
|
MD5 | d1a44838d3207284b177e90dd3074eaf |
|
BLAKE2b-256 | 29dffc3e46dc48161d412daee473c1a7eec15948b6cf9b25b39b18048097b454 |