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.209.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.209.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.209.2.tar.gz
Algorithm Hash digest
SHA256 721752438bf3a61d39422b627e84b3734a0c8ae33dea635abc68e740e09ecb3c
MD5 e6739285eebc5a1cd5b57aecd2613b07
BLAKE2b-256 27b5bc1d1043ad8d4861b651ff22acdacdf1c569d844b531c7043b503b13fc1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.209.2-py3-none-any.whl
Algorithm Hash digest
SHA256 465d0d33dbd4eb9970e05f982f81a4222ed3fe3bed07bc6e2d0253df37b7bf32
MD5 82a1910ffb7cedb0279c753b029ce6b3
BLAKE2b-256 c011cd55fe977bdb654175cf04db7a37ac577bb7b4f7672b48aee964141227f1

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