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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d08846f224af5cde98f89129cb8ad7ca198f08e1d72d04adeae51c8fc7c1984a |
|
MD5 | f7a825fb8f74813b96c97c4eaee65e41 |
|
BLAKE2b-256 | c46dc15be538acb6723c019689cf100e49d2f58ad1957ca787be0856c6b248ee |
Close
Hashes for molgenis_emx2_pyclient-8.213.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef0f08621a54ad325b1a937d017b582efeed3d5a1b7d70cf71c367b81266623b |
|
MD5 | 2b84cad74893d4990799d2cfb43a7068 |
|
BLAKE2b-256 | e319fb8b61e649b31b268780536daf02b04d5c8be04c8a69d7d12f442f75cdf9 |