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.200.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16f69eefcc7faa9d60a111f0e40ce465c61c453db3110df65265f4ac5594f261 |
|
MD5 | 1423b271ef15f4f9818424f8c9e05fd8 |
|
BLAKE2b-256 | 296de46a1aa4f5f65497b7e9a20fdb29ced89a2277ed2e2f377fc150a8890b69 |
Close
Hashes for molgenis_emx2_pyclient-8.200.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a12919214b1d2816efb39bf11278a2cf360286c7cdfd65e3783dd570e6540308 |
|
MD5 | 954485cc3940fc323b86aa8f06f8df39 |
|
BLAKE2b-256 | ce61c7f6d14d174bc2bafedc5103713b2f72415425aa7c26a40bba18a63b65b1 |