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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a771e89625cf9e6657ff09ba553eee7450bbcf1b867f1eb74516e4a8ceab0b8 |
|
MD5 | a1f4846885564a4a02d585a514fbb509 |
|
BLAKE2b-256 | 6885cd8f37c7902faa450c384198f572e807118cf2a478cde168ec389aad0c29 |
Close
Hashes for molgenis_emx2_pyclient-8.199.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0425c7cb91b7160db8915484b57dc02eec747b6f622660f09ecd66530906fd2 |
|
MD5 | 73b410612db58841d656619e0ada411a |
|
BLAKE2b-256 | 387adccd60485f0daaf53d9a44d5d5b83802ab073974f7d51581a490909d61d4 |