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.202.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b16eafcbbf64113b67b004cdd1093d38d59b6625d74a3f0cf48d635454f2cad2 |
|
MD5 | 6bc34210d6cfcb652f56f2a2409cb7d0 |
|
BLAKE2b-256 | 7d1317c311a78d1e6f5a33f529265c74be992d54963c41d724c2ffdbabc72d93 |
Close
Hashes for molgenis_emx2_pyclient-8.202.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a153cb8913d1b372e78402a66a0e1a3decd33b6cd052650e4775fbef7b5a03b |
|
MD5 | 470201ff0bbf5a432ddf5d32e25da057 |
|
BLAKE2b-256 | b200f0d4b47ca1206f476daa0b9de50e66c19d1c53e9675f1cf9a025b6934e42 |