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.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b845eb325e356457838f4d68ef61513d6658736d4a8aee8d94254add2268d75b |
|
MD5 | 66df3aedd943e02183d1d5edfe510bbf |
|
BLAKE2b-256 | 8d6181703dfccd714454ca3bc941ddb3418aef5635718c1dfa3a2f7403a90d2c |
Close
Hashes for molgenis_emx2_pyclient-8.213.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ed03adf8d936d1bdef4ee8e23489e681597716b5fe6b0abbfbf1580c06a95b |
|
MD5 | b8da2abf5107259d83fc8e6dbbadcb94 |
|
BLAKE2b-256 | 0b1d484e984ff5836d9de3ea7a37dee36e24a1fe19c71b16c71c4696d20f0a43 |