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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87c883091c29e44001eb6a39e6acce726f6f39e765bbb611ab59c66375d873c7 |
|
MD5 | 966193f5e694a6a82801a1af87b67cfe |
|
BLAKE2b-256 | 0af95547da76fb964aba95e2b4f77f516d6806520447717bca6281e67f34033b |
Close
Hashes for molgenis_emx2_pyclient-8.213.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 975c69da592a493aad4bb5d6ed090e27747772941d400524548e2350cbbba47f |
|
MD5 | f9742d26e73062930b85b43634ba780a |
|
BLAKE2b-256 | a8ff96ce4eefab4715b660febe253ef33d38ba3e4b14b83c4511e7a86f20e3d3 |