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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5827d4506340d4ca9cb71d4272755e562fe5e75beb2f3f4ab286edb765324454 |
|
MD5 | d4726b82e2284aebdbd504f0d973ad37 |
|
BLAKE2b-256 | 732fdd4cc16e31149f2b29ba7656d69a0046acf4ffda2757a48ff5376daabf1e |
Close
Hashes for molgenis_emx2_pyclient-8.213.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7d68438cb157d082eae81ea9ed4bfdab902d11281d9b97bf2680f3c6b83bb1d |
|
MD5 | 8af436678d5e12a203d696aae527d4f9 |
|
BLAKE2b-256 | dc31fa919d666976a0ae3a578b7f7e257db4dfc98b04b7f12fe0c08847ca4d03 |