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
File details
Details for the file molgenis_emx2_pyclient-8.199.6.tar.gz
.
File metadata
- Download URL: molgenis_emx2_pyclient-8.199.6.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be53faeeec7f45231ed4aa21764ed5c24520ce16f27e88f241d163f04fa5a7db |
|
MD5 | d0084ea8389e0966729e4f43e86bc026 |
|
BLAKE2b-256 | 46159ba25bb68855a11d59df60837f1930313699abe7ea5fbfe9454fe02d9c9d |
Provenance
File details
Details for the file molgenis_emx2_pyclient-8.199.6-py3-none-any.whl
.
File metadata
- Download URL: molgenis_emx2_pyclient-8.199.6-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81abb468df49ec1e36931db77a4f02ba0ddbc2db4af9438a5562947e20fb089f |
|
MD5 | d9aa412357b479c1087b636ae7071daa |
|
BLAKE2b-256 | 4ae1599f34f71abc02d1781af8377abc91411fcd8a27229598c562d7d1afdf04 |