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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f88742ce14962fb4a03971d50bb33105302bfc4992edc2519fa1bc938b04e61 |
|
MD5 | aec21f0dbb60a139927ff16d5c75f9a6 |
|
BLAKE2b-256 | 779d05e8fcbac463fa4e336e42fbc8ea4df81672364219def67e92264b93a7cb |
Close
Hashes for molgenis_emx2_pyclient-8.213.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27a5e99e114bf8ef3af90726372168f294c27aea5f484e16c8f63e90afd11ceb |
|
MD5 | 8f8182f97532d2f927e5fbb9246a9144 |
|
BLAKE2b-256 | 95bec9b46cc824f11d2c0e03cb6dad8ff1aca8feb8d2c48cf4b3ad5cb74ca8c4 |