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.209.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 514095c6cd62c0e30b70fe4712e6abd1f16e59e7daa2ee9faac6a231398d19e7 |
|
MD5 | e80821b75472c3c634fda3555014c917 |
|
BLAKE2b-256 | cca3f5a5cac768ecaa9a42dc24bed4c795f253be0a657be53d95d65803075204 |
Close
Hashes for molgenis_emx2_pyclient-8.209.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 160d4e508232cbc4b92adf7420cf16fd904447ba9b6117a8f6dd2605ad8f01fa |
|
MD5 | 4727f6cf58095cb1eef02634861754fb |
|
BLAKE2b-256 | aec60257574d7099191723099deac023db501fa0ecd62a23ea3fcc0108c9170b |