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.214.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b31e087a765d6c397e2c553ad0c85de7a9ff4944e2ac8a731198c12b168f268 |
|
MD5 | e33948f9902c7b7a0cbb0df242a969a4 |
|
BLAKE2b-256 | 48f2c9611e58bd269129aed93d579d5d708ada79c3c4eb71249b7907a8874b30 |
Close
Hashes for molgenis_emx2_pyclient-8.214.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 489c078b48b11d9f93bd5dbbcc0652d52d9f660cb0dd4025129e72a25f2e1fb2 |
|
MD5 | d2f189132a3924ed1680dfb3601c4142 |
|
BLAKE2b-256 | c79f7935c3b3c69824439d3d7bcfffc8957870832f68ec294890c5afd1dd0174 |