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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 747a631fbc4834a1ecdfb624de22b6c4ae4fc732dcb7af14febe713e513564dc |
|
MD5 | d1a041c07fbc0c940f73ce71337a5826 |
|
BLAKE2b-256 | 0638d21fe825791271ade73d03d2edc814621aa2392e01eb64d496a178c3af11 |
Close
Hashes for molgenis_emx2_pyclient-8.213.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b08c52574b8653723680c641ca7b9755ac1878afcaa6cc0a7d8f5d7ebbab9125 |
|
MD5 | c28709e5f0c2fe63f759af0529eb7d66 |
|
BLAKE2b-256 | 1d8f516f80a29a6a6468049eb2e35ee05b2ea325b2dd6a644b44a4ae952452ba |