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.209.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 054cedc1ae65f8fd0ddb461480712c5aeb12af4b26770becc1657446c85417a0 |
|
MD5 | e65183b4888f5ea74eef3a1b682c27f1 |
|
BLAKE2b-256 | 5002736258997f937f44d661549ffb8c27baa29dc6f1c1b6158e92880a86077e |
Close
Hashes for molgenis_emx2_pyclient-8.209.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ff988bfc5c1176f32582cceff896fd0b2add63f9fbc11e721b4e252e7ad68e2 |
|
MD5 | 261888be71737a2198b0ad8d729fe923 |
|
BLAKE2b-256 | 35c33ad0d31984fa7ad831997c378a9e3b5907560e9b5fc21369b1c06f820c1f |