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.202.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c614df7b8e84da0651f99c17169abea125e5bdf7ed1e8f8445ba58f6b32ab768 |
|
MD5 | c366b3c64134c282f421e402cb0ddae8 |
|
BLAKE2b-256 | 982c9bdaf19b3e657b6b88d76bdbc52c3bbec3dad59dc247f340fe3d72df1011 |
Close
Hashes for molgenis_emx2_pyclient-8.202.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f69649bd85f4001eeda75b09432f12ef79a1672918aedf92f0e71a68647e8f7b |
|
MD5 | b8fefa8bf9a86258d5d0a1e58414eb33 |
|
BLAKE2b-256 | ede8fbdde2e8f5e88193d2d83e2e312577654b474b89ae785ec68d4137858fac |