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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3ec4286af0e4b4641ad2e78151ab11f41bfcf8a868827717c7ea968d9d9f707 |
|
MD5 | aec67092242eec179e88ae18d0451484 |
|
BLAKE2b-256 | 1bb1de41bdf3191eb81bbad64b3cf2b7d5dcc71178553d322ea428aae03ae8d5 |
Close
Hashes for molgenis_emx2_pyclient-8.213.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df4a253687ecd73d05d0727bb859706f92f7848a9aad72582b00cdc46ed1c182 |
|
MD5 | 1da50d57ed45051743612c6f8b5bd0f9 |
|
BLAKE2b-256 | 4309dd0b3dacc04c0a5e976899d2cb00d2e863a6b773eb28e40fdf48da806a48 |