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.210.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84b9db6b024f566e798a6b9c514a37d9be7be08f08de3b0ac4a3645722a7d00f |
|
MD5 | fcd16d50d194960eb03223f68d0dc69d |
|
BLAKE2b-256 | 50b1942111fe5b3a596d288058c96c453acc1aac2f3f0792787569915178e20c |
Close
Hashes for molgenis_emx2_pyclient-8.210.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b79739455a5895792d3c74af1174dfa15862ad829970600c999741135bf803e9 |
|
MD5 | b1185a0827199f09b075d996405d3b96 |
|
BLAKE2b-256 | 4c6ef975ecb7254aa127d4447ab794aecce0c7662a35c983b34a39068e9ec3be |