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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5db14d5a0c7035260b88dc9a8a00009e7fcad13974a2f8b3534880ff52eb7211 |
|
MD5 | 6282cb1d9b835ba394bdd921ebbb9542 |
|
BLAKE2b-256 | 0b857a597cef8095d9a9b46b94be751833636c0b8ca07c2243c0600bc92f5295 |
Close
Hashes for molgenis_emx2_pyclient-8.213.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99cd33012fa43fc4bb53a35d01e4a3c36cc13d30908526a0112de0c79faab2fc |
|
MD5 | 3222bee4b5ec335d988c35a10bdc9898 |
|
BLAKE2b-256 | c2432cdf5b5c91594e12e58df82686bc1beecb4e5784c8c48d8fe9e0d72c864e |