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.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07f3a691eba96a294c37907eeaee7b4673e606ed6cd05e7deb45ae5152d094e6 |
|
MD5 | ac4b016e392b762e910e23d6c748b240 |
|
BLAKE2b-256 | 02befa4d8bfda83c944c0e2163be3543681bbd9e9e98d20e6c62948387771611 |
Close
Hashes for molgenis_emx2_pyclient-8.213.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f02a305237df7b577ff30bc75e5c067a7168a7ad34aa5fe34a4aff5d71cd9bcc |
|
MD5 | 057bb995c1861d674402e0da79250bda |
|
BLAKE2b-256 | a28303d91b7b50a667ea5888475c218fda6d3beb76fbad023f226eac551be7bf |