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.199.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63b7e6bed149c0858bb008391cb1b873aac1b45cf80e3a39aa0dd732fb03a86c |
|
MD5 | 5b8a2b6e638baec7583d976f352492e3 |
|
BLAKE2b-256 | 1e778d19ae1f36224afdcc7a1f4b79cb3a69d725fa764a95c7afdfb6b19de016 |
Close
Hashes for molgenis_emx2_pyclient-8.199.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feda816c2f9817d85bfd94a0124561c7f62b4be6792049fc9ce679b63d291d8c |
|
MD5 | cfd5cf58edb13efa97e3bea16b810e77 |
|
BLAKE2b-256 | a93b302b262ded29a38c6e0c22cbd38a838d76680e1aaad7fbf3070c59772a09 |