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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddc3388a3e6c828ae582af0bc36dd21fc0629e14838fec17a4a3b571348af616 |
|
MD5 | b40ceb51a648fbce7a184b42dbfa7371 |
|
BLAKE2b-256 | 4fbb5934ef3afe91f571695858db6d097c42e02c38f15d43817473256ac114b2 |
Close
Hashes for molgenis_emx2_pyclient-8.213.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f0606d5d31e11fbd08b9db5b62eaf90b5c027de73ff515fff4c157e6ffdfa54 |
|
MD5 | 5745f9fcaeda8a4cd85503c38368ca6f |
|
BLAKE2b-256 | 60088daff4c5e0616f22254b8d7142a0a08af3664beeba1d070e1d2b2e82953e |