Python client for the Molgenis EMX2 API
Project description
Installation
pip install molgenis_emx2_client
How to use
Within your Python project import the class Client and use it to sign in
from molgenis_emx2_client 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_client*.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.198.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 384818f45758372e5347741c0dceba5e95f8fe5aada55ab7c4b600dca3b4c378 |
|
MD5 | d4fbc404b6f22d091a9dbeb78e9d367d |
|
BLAKE2b-256 | 34eb20a98aefb0d98a6744e9bb8886facaca8dab5f0d8b1f9773fcc4fc6ba6cb |
Close
Hashes for molgenis_emx2_pyclient-8.198.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8507de33512f2b327c418bfeed01d70f054a2f2f71b6ba43b67e9eafc3802f16 |
|
MD5 | 810558521a8b154445e636bae59a12df |
|
BLAKE2b-256 | cb590857a7668d4e10cd022c731cb39f505e43f6b9f616c04c8b4925c4d80fca |