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.207.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a4db761f43b4b16d5b3c0af2016d226221573fd8d7deedc4f518b02ebfa8a63 |
|
MD5 | 880192995a003c4952b090eb6bc95f53 |
|
BLAKE2b-256 | 6ee2040396b0252fec87e035b7655d63427bf0843704866887bbeff2dcce8ff4 |
Close
Hashes for molgenis_emx2_pyclient-8.207.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 152008c102101cdcaa31f14a58688a98686787270b973eedab0f344371c86b6b |
|
MD5 | 85104f1092bcb0a9880a4eb338ea71c8 |
|
BLAKE2b-256 | c2961cc3fba820bd8f2cc0a615d311e76a17aeff5da9b52ba7f21df4a821b267 |