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.213.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e58f1190b340f8b87b15ddf7212120b06f56066d7ccaeab159e6e5160a7e8ca |
|
MD5 | aa73b5e4926cf6e405c97f4cd5094b26 |
|
BLAKE2b-256 | 378d5cd266fa1f27c3d58b6f9abd33f84cb90fdb577e608ea9f5c337623ec25e |
Close
Hashes for molgenis_emx2_pyclient-8.213.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d6cd4d67341dcd70b3f7ac924d00bddbd040ff50af07eaffbb98a80c27cf9b |
|
MD5 | 780d14c790059dc858855d33592ab791 |
|
BLAKE2b-256 | 7d897ba18ed22c29d24acf1882d786f8b3c3f2e03a1e3a83fd60792066c9faa8 |