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

Uploaded Python 3

File details

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

File metadata

  • Download URL: molgenis_emx2_pyclient-8.216.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for molgenis_emx2_pyclient-8.216.2.tar.gz
Algorithm Hash digest
SHA256 de771719ca0e32df89c25358aa3f7876ec917eeecb5a80b19cc2ed72857d2979
MD5 a4209b69e074934aa3ee71ca0095dba1
BLAKE2b-256 a82d6c5666b70cb2a9945559a84264d6582595244bf583f94aa2a7b2491830a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.216.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ecfdf0d0496b17160f076b261737f9ae7bd6811dd11d19e56bfc0e0e85501e65
MD5 734a91f5ab4cf3116f58922530664a6d
BLAKE2b-256 f4069924606721d2312f34d40bc06e9273733f49b49eff8cf04f644b30774c93

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