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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.200.2.tar.gz
Algorithm Hash digest
SHA256 46f08a3ddf3461bc6d45ee730f1d6c92fa41308af0fec18248d28537fded21aa
MD5 fd28930d43124bbad537963069a1a6da
BLAKE2b-256 5aff4755bf8c2c2fac9a0ef7c0da264e62bcc5ddcd2e2ff788a46407a2cc642f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.200.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca7be0ad8684193013349c0c7226548d2731fdc6e1a2ee022256e8b807cb6dce
MD5 77703cfc40f2ff50661e63f5d347a6c3
BLAKE2b-256 5e4fcb0e4d0082a13fe61ecff435b4106cdbf456fbd771871823100a1b33a6e7

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