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.208.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 766e440d396b90d0f2ca46bb90f0b32cba803f6fcbef5430ecace15184bb1662 |
|
MD5 | 303e0ce13cb478bdad67d8863573ad80 |
|
BLAKE2b-256 | 5e42d246602878d5d1d00d7e4f8f6cc81b6d87c5c9b3d1efbcab3fb111ca1853 |
Close
Hashes for molgenis_emx2_pyclient-8.208.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fd4c8dbc07c52a7c2779fdce7861ac6f393f4e16f1c0353e6227d7e2a474036 |
|
MD5 | 24b2507527a35364cec851278f8b440e |
|
BLAKE2b-256 | 793d8f47e21cc7aa9a5583f5898cdfc3836a2f0715aab34b79cab4892795ad48 |