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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4a2c9a422edab407f177a18861db5b5e22267aba339324ffff3c6614351298a |
|
MD5 | 83bd6d9773e903f2ef596417ec84f55c |
|
BLAKE2b-256 | 3f03eda9bdec20842ba707209a5862fb874ecbf41da205b28834763558313bb3 |
Close
Hashes for molgenis_emx2_pyclient-8.213.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a24870b325797fa024d8be5e394ad0ef7b887893abd58919654c3225700dcff |
|
MD5 | 4751db4b5913747b4a9741188bde89da |
|
BLAKE2b-256 | 4e3f6edfdd127c8ab226fa0d4f72c447edd5c98db896ad470e28c6f5762c9383 |