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.206.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1f7163628717817371d8d013487ffa9eca24116c1c8b68215a791d3f6bab2f |
|
MD5 | ec292afd86d03300c14df77ecd80c2c6 |
|
BLAKE2b-256 | ee75fbe05b3abe3a35d10f2087f042344f8d29e2f0a03c4c1964c004710b1103 |
Close
Hashes for molgenis_emx2_pyclient-8.206.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ca066ff7ea5ec0738dc5d21cd7caa1ab7020c4fa3da4041081a03541cb585e3 |
|
MD5 | ff3898c4265cdc1c90e2e07b1d41f40c |
|
BLAKE2b-256 | dd5507629a14fb182fef6d74691aeed21438c5ba379dc097856b9f4efb51c26a |