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.210.2.tar.gz (9.1 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.210.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: molgenis_emx2_pyclient-8.210.2.tar.gz
  • Upload date:
  • Size: 9.1 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.210.2.tar.gz
Algorithm Hash digest
SHA256 7007be1006bf3f27701ba5484a306de752379f9b0c978cb9eae876e4ec4d4980
MD5 4f566567d527c6c099fcff2ab19f1ffd
BLAKE2b-256 261189d67b4b5804114e59bdf2dc967cf55897ef4395b3c827142994d9b8f08d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.210.2-py3-none-any.whl
Algorithm Hash digest
SHA256 50a09c25b65656de7ad14f24c5e5a425326602f9a1870075f76e624173eeece1
MD5 367de30a4fb48d0396c2e2bc6f8f40c2
BLAKE2b-256 0157051b8c98fa5f6bc291535a13b889ba56be2407640d14497a4ce50fe89c8e

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