Python client for the Molgenis EMX2 API
Project description
Installation
pip install molgenis_emx2_client
How to use
Within your Python project import the class Client and use it to sign in
from molgenis_emx2_client 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_client*.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.198.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bbf5d581e63d076001739319d4dbe840643f3de0b0956902baf1e85acc0e4a0 |
|
MD5 | c6153b3ad57a53143ee0f2c0339b11c7 |
|
BLAKE2b-256 | 71f3d64cb5894097116913456515dd39f6cdfd8b5e7d7e8de28e3a82c38cf318 |
Close
Hashes for molgenis_emx2_pyclient-8.198.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 731b4aa767f6ed008e12a7e348885366f6b193372a63d18b8711a127b27a14ac |
|
MD5 | 923eb9e29abeb50fcf794864e0a43f52 |
|
BLAKE2b-256 | 660583acda574f0bee6903271bdd2ee0de562901d18db9687cdc375626bf5726 |