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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8f5e572ef7470fad9286f888d603fd9a30c1329085b98c249cf8c1738f89d20 |
|
MD5 | 6ab551ba7f88be124bc56aca74693caa |
|
BLAKE2b-256 | 7066eab76ab074ebbbc36e80b376ab71fce2f6cd77486592780b9337d65aeb78 |
Close
Hashes for molgenis_emx2_pyclient-8.213.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 688ac70887660270025858789d761e177c57380944b4eb5600ca84db1a5286f6 |
|
MD5 | be0904ffcc14b98f674545d827e9337d |
|
BLAKE2b-256 | 4beac066b3c7dd8a569020fa767d1f2659c2bc84292f1d75f83bfab6a7d5e735 |