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.204.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63bca8e0f64261957d573481908790e78766bd401ab768684725460db4aacb17 |
|
MD5 | 139fe3bac51357889824a79232638d0f |
|
BLAKE2b-256 | d0608618b4a415ecb6a638fa53de43fea9f88ba21e9f23ec846733b9c79a3271 |
Close
Hashes for molgenis_emx2_pyclient-8.204.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a146c340198a03d58a097dce00d8827909a1e7203a1f0ee8b7c599cd7e15787 |
|
MD5 | 4c739f5aa22e7d13534c63b3b570cd29 |
|
BLAKE2b-256 | 1dd5193abc03b7cae648b70af58d0707d5366ca803497db70f6dca6c2c0a1ffd |