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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de771719ca0e32df89c25358aa3f7876ec917eeecb5a80b19cc2ed72857d2979 |
|
MD5 | a4209b69e074934aa3ee71ca0095dba1 |
|
BLAKE2b-256 | a82d6c5666b70cb2a9945559a84264d6582595244bf583f94aa2a7b2491830a7 |
Close
Hashes for molgenis_emx2_pyclient-8.216.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecfdf0d0496b17160f076b261737f9ae7bd6811dd11d19e56bfc0e0e85501e65 |
|
MD5 | 734a91f5ab4cf3116f58922530664a6d |
|
BLAKE2b-256 | f4069924606721d2312f34d40bc06e9273733f49b49eff8cf04f644b30774c93 |