Python client for the Molgenis EMX2 API
Project description
Installation
pip install molgenis_emx2_client
How to use
Within your Python project import the class Client and use it to sign in
from molgenis_emx2_client 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_client*.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.199.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc1601fe753969958b15e526a3c120eded40dd0c4784cea7037bf3c8e27dcfba |
|
MD5 | 867658aeb32570e28f57cc108ae8646d |
|
BLAKE2b-256 | 1552e50d80306c76a5904fa8451816f3553809653347b7fdd597adff199ad7d4 |
Close
Hashes for molgenis_emx2_pyclient-8.199.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 068a3075c11e9f06e11cd6fd097dfc0651eab644c89e03f79266c12e9fe05006 |
|
MD5 | 58f09adc5216adcbaf95d68f461c572b |
|
BLAKE2b-256 | 01ee0e50898fb0631654cccb409f94812a8f4b9e1f4899062a18008924241ac9 |