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.201.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58a3d47a7b30a74ec41f5e1fa9d31011bcd39909a2c074a08f2055f1c2377576 |
|
MD5 | 0dbbdc079674a45c3b456537e50d0c72 |
|
BLAKE2b-256 | 9f07f3dc4ad96dd73b63dcde423c89f40a08b7bce899567bafbbc8ca93e3e19c |
Close
Hashes for molgenis_emx2_pyclient-8.201.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f618d8a7049e3b990d4164082a11ffb07c9fcde582b0479ee641d63b94005513 |
|
MD5 | c2712d5a573427cf8032f743ff506ea2 |
|
BLAKE2b-256 | dcd4f683635568d97595adcb979dc21d27c9420fba903d9bae6a486812071b51 |