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.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 364e6203088bf188bb6dff91c4816d51bc63776ee22db5c34a18c11b10418dc0 |
|
MD5 | b082aa50b73f31317f49727cb59446a6 |
|
BLAKE2b-256 | 3c4fa95c0170d559a844fffc8ec740ac31937103066c66d223306e82c0b00824 |
Close
Hashes for molgenis_emx2_pyclient-8.213.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61b724d9e6097e6b51c4b5fe9a24a2091109571b57ec6e9abedb95f94bb8f70f |
|
MD5 | a00f434636ab778561f2a6c16ade83c1 |
|
BLAKE2b-256 | 41503efaf65fd9ac0a7f21d6b25c6848a002f6f7d7420c2ed2fcbeeb1329766e |