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.215.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be144b605022440b1f35d0436f53e7be928cf88f70630c69f3f36f8e8fa40c15 |
|
MD5 | a81943490516fae870b77eaa9b018126 |
|
BLAKE2b-256 | a87ac08ed29373c7afe811edb0c953c520688499561235e3959b7e75fb84f863 |
Close
Hashes for molgenis_emx2_pyclient-8.215.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfa86c2a9ef7f749ddae02a887c13876a251ef705a37d7a50de8eaa1c94253eb |
|
MD5 | f9c8b2b0f13746617cb466c9c92a9581 |
|
BLAKE2b-256 | b9424f962fd2a4258028bcab18bdc558ca4a93e83fc772ed6a230ef0e4320c29 |