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.213.13.tar.gz (9.2 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.213.13-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.213.13.tar.gz
Algorithm Hash digest
SHA256 8ab6698316b402a98a39a52e536c0fbfd1535c34eff2162785a02267b9d7bcb9
MD5 c12ea6eeb999cedc56c62af2bbf87d2f
BLAKE2b-256 c9f620b1db6d6f9892ea18528d5c2387b97df948f18cafa635b0afbe1eccba19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.213.13-py3-none-any.whl
Algorithm Hash digest
SHA256 89f583ef930f6915841f5b35926a8b44a0deee6c9daec42c1e3395959c3fdb28
MD5 ac03d5a6eea659f8cf10061e2abb7c16
BLAKE2b-256 8901517823c286e529836354b1fe0fc5c775c3fc58240ceaf93ffe128ddf1540

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