Python client for the Molgenis EMX2 API
Project description
Installation
pip install molgenis_emx2_client
How to use
Within your Python project import the class Client and use it to sign in
from molgenis_emx2_client 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_client*.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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db6bb423f597c6439f74a1397599904f21720aceb0d16a04c82ee5df9d0eb9d6 |
|
MD5 | ad7ce3b21ffbbc7e8c13e8097828a6e3 |
|
BLAKE2b-256 | 85537ae48ee024e169a9d584bba23c99cbaa8e9344850f0f31abdefba61b5e3d |
Close
Hashes for molgenis_emx2_pyclient-8.199.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60099134ac91f9e984080e98091a5cbbbdd46c04fbd62fb9c40dbb5ce968a55c |
|
MD5 | 2bed29320cd4673587d69c353c2fc404 |
|
BLAKE2b-256 | a6e1ea1f0dd933ffd9496e4aa4365c5907f815ef087f50ef935915058f93dfe3 |