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.212.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 896f5c98cd932d99700cb2ff18082558ac8b5959427f535d8ef001d43948e312 |
|
MD5 | b5ed4110f50407bd677ac1680760eb1e |
|
BLAKE2b-256 | a43be41ad041621de732f4c28dca55577b145e7502565e23fd168f072b8fd9a7 |
Close
Hashes for molgenis_emx2_pyclient-8.212.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7b0b71145efd9f1e476a05c93aeea2b6a96fc9baaee5dbd6b3909cf5e607ba4 |
|
MD5 | 6d048bb87f536b94b259845aac505b49 |
|
BLAKE2b-256 | edab53ee6e9f6965e4386199d2366cda69aa2e6e514131c5525d95143cb3bee5 |