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-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d58ba63709ababfb4c16143e1a006733ee31660351d5c5ab5a4ca2192cb9d11 |
|
MD5 | 0263b9b105324e99017e7e8f64d9a487 |
|
BLAKE2b-256 | a3aca8125e62160798d4870682b8059403a67c93ae6ee36790944d4fc3cd3fb1 |
Close
Hashes for molgenis_emx2_pyclient-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76910437f33c224894ab3333abecdb09c0bac98984e1280da22a9799e27578ba |
|
MD5 | ecd2ada6ebf1186e06c96c174045ef3d |
|
BLAKE2b-256 | 0dd82c51ee24c95157a4be13375c14ed7ad9282fc3d333040b30de3c302bca3a |