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.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0162ff0bdc266cbb432b14b3ccf86ca81922ae3068e1f3402d0bab7efa2615ca |
|
MD5 | a3003b67b97485867277434f5a219b2d |
|
BLAKE2b-256 | a84a8ffef32899e40b9dc4f36db9a38b70cf3947e07778ab44d056a1f2e18316 |
Close
Hashes for molgenis_emx2_pyclient-8.213.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a5b8a1c92485d496d96ae66ec72f796c6c88731ecdc4f21607df0ca3710902 |
|
MD5 | b758a7a2c5ac4c5bdc60efe7a68a5f3f |
|
BLAKE2b-256 | bd803e79b588cfa6460e7db1517ddc262f9521e9720802d1fde37d73a0dfcff7 |