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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.209.3.tar.gz
Algorithm Hash digest
SHA256 b192fd3da1871e2720930bb44a42b712eb9c2bbd4745d40c73789696ed48af64
MD5 523d15746edeb528c594f3c723a270ca
BLAKE2b-256 9de13cc828fe0c213badb6d839ca0d221f572362a15da2df8734f0f750adf717

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.209.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d2abf8cb9d9b7b79c17d49aa8bbcfddd25d34dd7089f964e6ff90df3f606abdf
MD5 ac4622d894ffc2bbf6d77b9b94e9a429
BLAKE2b-256 ad2bcf33343f9ec2516e6a0615a49a47a582c8676aec93c3a06af4ef04b8e91b

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