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.213.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cb6a7b59da8f6c237baa100cb691ae966df8fd09cec1c022895863181a7daec |
|
MD5 | bf01f1b6d1128a3c58a275833333c68b |
|
BLAKE2b-256 | 503779b7e074d0714bd8f83b1a0d1f61c7a26d7c00636f50a6ea0718717dd3d5 |
Close
Hashes for molgenis_emx2_pyclient-8.213.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 542356a557f85b1c665a9d8c3996f3ab0bcce3c5cb36fb502e51e1f527509b17 |
|
MD5 | c93cb77c05b0650d996fc64287c7f899 |
|
BLAKE2b-256 | 4ea86c3863569ab5bfe552d3640a1e729ab223bb6ed34ba12b9804d1fbd57203 |