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.214.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c178a3f3399f087830bafee6ca692ae9b4c34541469c4b7af9dc396992eed03 |
|
MD5 | b538605797aac8426b4a405d591da57d |
|
BLAKE2b-256 | 02a2f333a578280c6c62c16a45f24237c5ece9b5671d7048b9eac4df7904d550 |
Close
Hashes for molgenis_emx2_pyclient-8.214.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10964a2bf332248dc4b924d1227e140f5164e2b3ca075a5d4781bf5e15edaff2 |
|
MD5 | 127ad5ccae7f757b022bb60e27a3e6da |
|
BLAKE2b-256 | eba10c0b3d60ad4f2c9f4dece1cb0f49a7fbb5ef1607a0baa065381b41b2c462 |