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.202.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39e7b95a186b5c1629c96ba3fc78d585825529890a8e8735653c9234f76f5dcf |
|
MD5 | e45d49c86f1fae37af498762f1112a83 |
|
BLAKE2b-256 | c43558f2a1f86d0cc1ac9ff0a806523a17f30c731be0cfbfe5762d064f159899 |
Close
Hashes for molgenis_emx2_pyclient-8.202.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4ab17f754c13a5b052cc7c9688e1749b7714985ffed0b24e93f3ed83905becb |
|
MD5 | b27d9e05accf88604e47244545450e5b |
|
BLAKE2b-256 | 8735862396f2ce2e2502bdce4c5ebd759d7c1ac967d2458639dc261193fc3c2d |