Skip to main content

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

molgenis_emx2_pyclient-8.198.2.tar.gz (5.4 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.198.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.198.2.tar.gz
Algorithm Hash digest
SHA256 ba3fec46d6e62575dd9f8e88fa5f5eb9aa217200e80a32bb64a9b2e3f0ec3eed
MD5 19a6a033f3335f5c92880bfdedb6fda1
BLAKE2b-256 533df757686f2b839269c094972a4d8f939ea984e0c9bbe846c08b63fa47f01e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.198.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6dea5cc1b05f520860dd2684ad97643c1b528ae7d2ab13533853bb5401381aae
MD5 ecb9fa1bac93464b0fe88dceaf88d86f
BLAKE2b-256 ad58cd78937f65ec712c915aa50e6727974c11ed3bf67c4ba34a9f88ad9a7401

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