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.199.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99bf0f6e689d49f93167a21c96017347421fdcef1d765e4fe94eae5223ee0bd1 |
|
MD5 | 5a9772529ef209f732fdb39ff85e1d19 |
|
BLAKE2b-256 | d54f6316a0aed27f14a41da1654744878e95dde5c2d81a754dcec6acd9fd7c9d |
Close
Hashes for molgenis_emx2_pyclient-8.199.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f827f1c904e3cda6e9bbd458897b4be4875d1a1e9d5391cecb1b2adae7cee0c2 |
|
MD5 | 5d4df48b6d223556f4925c56bcf6b733 |
|
BLAKE2b-256 | 59b69241be88c2d362bda94e576548aecc51c76e61fe7f57195d2809d9f6461a |