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.216.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0a69aadd14e60b7152d607e094b1c72916e82827cfd58b387c91916dced070d |
|
MD5 | 036f8733273a5a843e4dd4cfab7ea172 |
|
BLAKE2b-256 | e7e8a4de1c47b467b175d76857eb37630c3ee2237fea5648dad9c88c6efeeb09 |
Close
Hashes for molgenis_emx2_pyclient-8.216.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3c1750b05fc9f1bc3cecabc675bf50663b1fdff21c94e025ba601111ffe4624 |
|
MD5 | 0384c168faa313b4fe5ac5396600ba86 |
|
BLAKE2b-256 | ac3fb9d54191fb1339d9705f10bb647f3682e0603fa863656bcf90d8a9116b80 |