Skip to main content

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

molgenis_emx2_pyclient-8.210.3.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

molgenis_emx2_pyclient-8.210.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file molgenis_emx2_pyclient-8.210.3.tar.gz.

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.210.3.tar.gz
Algorithm Hash digest
SHA256 84b9db6b024f566e798a6b9c514a37d9be7be08f08de3b0ac4a3645722a7d00f
MD5 fcd16d50d194960eb03223f68d0dc69d
BLAKE2b-256 50b1942111fe5b3a596d288058c96c453acc1aac2f3f0792787569915178e20c

See more details on using hashes here.

File details

Details for the file molgenis_emx2_pyclient-8.210.3-py3-none-any.whl.

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.210.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b79739455a5895792d3c74af1174dfa15862ad829970600c999741135bf803e9
MD5 b1185a0827199f09b075d996405d3b96
BLAKE2b-256 4c6ef975ecb7254aa127d4447ab794aecce0c7662a35c983b34a39068e9ec3be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page