Python client for the Molgenis EMX2 API
Project description
Installation
pip install molgenis_emx2_client
How to use
Within your Python project import the class Client and use it to sign in
from molgenis_emx2_client 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_client*.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.197.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90e0903dabbf823aabaa856464e2654926c8a81762b6a3025121857b6884697c |
|
MD5 | 211e5a135cd66baebe5a4a0934df2346 |
|
BLAKE2b-256 | ae5eccf712599e35d422ba4ef69e8f5a0d1a1f0f54ef752e6414374bffa2e3ff |
Close
Hashes for molgenis_emx2_pyclient-8.197.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f18a4c72554b6afae3a705df54a2cd88e78ed1c0692fe19dbeb2a483d11efb02 |
|
MD5 | b157760ad13d1dda3db4d782a32079b0 |
|
BLAKE2b-256 | 8c42225a7ef994fcabd817bc2e2d7836fef8257a7f5cb5b4077c705ffdac7594 |