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.203.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff00ea7dd310345872effb2f2f65e401c6eeb336f266a67db2a3fd8085759ba3 |
|
MD5 | d110cf033dfac4b3995a94e78c8e7eff |
|
BLAKE2b-256 | c27ed8ed7c6533fd0cacafacb87ff2433b7e0188ac9574f07999ba6f70138f4d |
Close
Hashes for molgenis_emx2_pyclient-8.203.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c315e59e145719272a85ca81bf1e1409ba6f90b688744688f03e3cbd63db2549 |
|
MD5 | 3deb74ce8142bd8b21dd49eecc02f2bc |
|
BLAKE2b-256 | 46a7345ff14faf9933353fc9b523052b3e49b5151874e4807fd6cd108a54334f |