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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f02f2e9e6eccab99122abfa28410ec7e3efb1b0f437a7da76f0deee5ff496a4 |
|
MD5 | fabc844ec0db356dc39dbc25e064b1a2 |
|
BLAKE2b-256 | ee7c4e48af3bb97cf478f37d503f43190a42979b861575767c4840561da21ca1 |
Close
Hashes for molgenis_emx2_pyclient-8.213.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75ac5af11999c63e530b5e56d248f83ff1093259f69e051b747190306d86a662 |
|
MD5 | f0ebf9405ac62378320e2b9d5c4bbe7b |
|
BLAKE2b-256 | 0869ef7d75f50f1512aa4e981d65f2f190044e08206087d4b48ed754a1a2ac6c |