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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43fc687fa63b38c91220ac984f47eefedac2ade665a994abe170a495d5e40f93 |
|
MD5 | 4cc0fd0b5a5a0ac8f90ed39a7195e4a1 |
|
BLAKE2b-256 | db73375203c597087430a9f4d3301624a9114f2101bc7e15bdb42fcf33b30cbb |
Close
Hashes for molgenis_emx2_pyclient-8.202.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67e1473a0c39403174aa70d93cbf3a186d0804e9f54709939998f51ac0766083 |
|
MD5 | 3c415ed74d7d627cf9987362ba9d3156 |
|
BLAKE2b-256 | 3d651e611410438765c2a8fbdc3cb19a7059460f044837a59619764192482b87 |