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.209.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5fbe7a8f42da69c2314c07a8371463e07a341b50354c96f2cfe7b4a7392a48c |
|
MD5 | 9218e0bf8982da5bbf8921ad4dc24ac3 |
|
BLAKE2b-256 | 53dfe645b612846321ec8c7c15cd2b80dbd19b744010442df73004272f7b7ae1 |
Close
Hashes for molgenis_emx2_pyclient-8.209.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 215741cc051ede41350fff8ddcf9e12c1ba3e73ad201bd372c6fdee0198f866e |
|
MD5 | dd17be25acfbc4ee6b77106d0fae8c7d |
|
BLAKE2b-256 | 8e4d807415c9e07929fef06dc31d47500bb6f871a1205aec5586bee918298f74 |