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.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88cc19251c33336b4ab0171c21690ee12ee9fc15cf116df5127a547c93147854 |
|
MD5 | 3868da4aa43d3b833adf23d80b22cac6 |
|
BLAKE2b-256 | e5c97188732f46bfd1fb837c28060d423b7be1cd94d9e6f7c1859a90363b123d |
Close
Hashes for molgenis_emx2_pyclient-8.213.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46983ff5c93a94c7c0e8b1205d603cc44bf0f78bb4d526f18e75374dd9ae715e |
|
MD5 | 5d5c39f37fa5fc028d6a5c380a6cbce4 |
|
BLAKE2b-256 | d00e8d060e8b9f9c384b5be72c40b2ae995ac734606db58cde7ebda6bef0d0b2 |