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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4623d4925826efffee3f20ad71455744b4ed43fe46136d5e5d43811c17219062 |
|
MD5 | 2b40a05fba90dbe829d242f9d4160129 |
|
BLAKE2b-256 | c5f216b50fbc26870daa779d89fd36916b1571397529beec0b4a9ba373f02ede |
Close
Hashes for molgenis_emx2_pyclient-8.213.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3fac010ce24405e7629ae00ec814b3ff695b3906814392e8d256099590adc3 |
|
MD5 | dd7912e97021dd37c39473902a628bbb |
|
BLAKE2b-256 | 61e36b1c929e7433dd75539ab38252498ce7759c76b81cbf68522ba7217653ea |