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.206.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9fb359ac8d96c62ec9639cc0d531c95a99a5344c2d74f5e6326e0a997516ed5 |
|
MD5 | 9c85acfb70b08573e1e935fbdd9d7668 |
|
BLAKE2b-256 | edb5fccb8ea3665cc4d6b39e0a39460454cc2708c8e286ced8b13048a3fc1638 |
Close
Hashes for molgenis_emx2_pyclient-8.206.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dbcaf49c2bc0b354a187a9bd7a9055691230a2d0b44c13854ef85b8e9451797 |
|
MD5 | ec95052f7c73bd12f998db41660d61cc |
|
BLAKE2b-256 | e567d51130157631eafaa684261aa11b0aa748d400dbb1a535c372748d9ebf67 |