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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4090f0017ec2c7aeeaafc7db8c8dc39a1bd9457c2af0b51b195d5d45862cac3 |
|
MD5 | e6a91ceb066deeff7ba9f219c2237ee4 |
|
BLAKE2b-256 | c7b390becbca093a9759371c06195f88861209f7d66cc771e0cbd0d57588cf15 |
Close
Hashes for molgenis_emx2_pyclient-8.213.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 730033a096286b1d39b5939ead31c724fa04c70670b5e31f37b682d5315d2919 |
|
MD5 | 129ac7973c29f2dd3ba04679e092d43a |
|
BLAKE2b-256 | 271b66084a7742f36e051bc781af7958fd4e8bb326bb92a7e82a92aaf05b3187 |