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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e1fc038667df5f5dcf6571b39f5859c06f6ab467baa358cba2028ec19135a79 |
|
MD5 | 5ee88e54b33df09e39cdca7962358310 |
|
BLAKE2b-256 | 1c0f490e7b045ecb34dd5da2bec3003820be3fcc0ed19f5b9d7490ca5508f496 |
Close
Hashes for molgenis_emx2_pyclient-8.207.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10e7e5c1cda5b9e64e32cc60c4e2119c5c386e1b4b4f95f0e10021007129f62b |
|
MD5 | db5d6118c28ca3a584d9d8445c34c08f |
|
BLAKE2b-256 | 5ea49f81feb55acff092bd62d603171a01c6d452b90f5dbdb0e97dab686753ad |