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.199.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65212eeef69c049f138a3dbda988305f76788ac2a3c404ad7f6bfc8ea480890d |
|
MD5 | ac844c51c41188769926b3c4a8ccd9ad |
|
BLAKE2b-256 | 8deaf2cd4ad6c41370f9c79e417148db41a21e13ec510a05b9e227577b800188 |
Close
Hashes for molgenis_emx2_pyclient-8.199.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d27df851a4033ff3912055324e573e40c3b84c73f811ae159f0bd6c502474829 |
|
MD5 | 1e37e2a20786688323ac6bfb1a7214cd |
|
BLAKE2b-256 | a8d93823ad36670ae6b138e5e8f136729aff02608c98a321599ca60ff1c06c22 |