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.216.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d4610e5a1f7cd7db956ff2d650a5c220e3f10583cd0a7e5f3dddb0b54d6ad5 |
|
MD5 | 645d4ecbccaa0e8def37b43ad9aea8bb |
|
BLAKE2b-256 | 89cb3af48437f716e4d72eece5968a6e78890136cefa5d2d725603c8055571e7 |
Close
Hashes for molgenis_emx2_pyclient-8.216.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58022c06e93914601c1dc46c37fec4264757cb3b5301fb98e03798d939bf5cab |
|
MD5 | 4c528e77a91410328a0831533e1e0a8d |
|
BLAKE2b-256 | f8874951e09fb4092431207731fdd4243f3198fe5b9adaddebf011e6e02af521 |