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.214.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2409e1d966f2ed10b669e03334ff2af79824a40261da5a39854a88c0db37508 |
|
MD5 | 5f66a8151bcd65beb45d21738cfe662f |
|
BLAKE2b-256 | 04c0a945a3e5571fbd62b42f76c1ef468090e1060d930d80c3f72ce92e4fe369 |
Close
Hashes for molgenis_emx2_pyclient-8.214.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df93c922a828ef7d7339cc4d96cec2b84a6c3da58a1932d66e186f7ec2239b54 |
|
MD5 | 6a85667eda5f31094265f67318e4e677 |
|
BLAKE2b-256 | 59d8fcd17c19f8c78ed0e01a8acaac139d58c966135df3f9926b6b4ab74ffc9b |