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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98ea2f51091d8352f533d16ec6cd0b9b951ce9dcde0bb976d22569420de14d07 |
|
MD5 | b8b034e853b4442be162fa18ed9ea94e |
|
BLAKE2b-256 | f3ad9b8ca40d5351d7478753e316a40d60a38d3dc40b64272662829982df63dc |
Close
Hashes for molgenis_emx2_pyclient-8.213.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d86307b19bfab334acad73c7e000f3907235f778b39998445e922fd107ddc00e |
|
MD5 | 6147d891b8b5cd0e149f96b03779ed07 |
|
BLAKE2b-256 | c3e4567d6fef7a773a373671b60c81de9a820859a7a4cdcb1fc4527f019801e2 |