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.199.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aabb4b9953c192d3f30b6d879da679cee3cea4903925538c8a7c9955795016f4 |
|
MD5 | 57c406bb84a33895a1b22cc3b3e9f452 |
|
BLAKE2b-256 | bff113c9606958720c207125da199c521e280ab285980b90af3266391771ff73 |
Close
Hashes for molgenis_emx2_pyclient-8.199.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8fe30495d7a270d299696e0ac38a753bd5e39bff101d2abf16790aa10cf7334 |
|
MD5 | c81428bcb39170fc78f1b867734fc375 |
|
BLAKE2b-256 | 9fb4d7f9631b75e3acdee981020a413a504083de79604d4876cc57332ca2fba3 |