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.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2e953295dcc69351963d6b0f72925e2e57977ed28f1574564fcd45573c5947f |
|
MD5 | 5578bc508c73eb4663cce697bfb74898 |
|
BLAKE2b-256 | 39786e57260ba02a30f66c0383263cccc1809c71bbb54e5354bddccb272cf74e |
Close
Hashes for molgenis_emx2_pyclient-8.213.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | decb3ce0e96f586146d5b19f54b57e2a9308cf64c1fc496cfea272c12a93198a |
|
MD5 | f46a5c5b1fb27f17d89d2d6e69bbb8c2 |
|
BLAKE2b-256 | 7b3119d8203639ff590d5d924215a35e335483ac523faa9e0f00acd51ac3181a |