Skip to main content

Python client for the Molgenis EMX2 API

Project description

Installation

pip install molgenis_emx2_client

How to use

Within your Python project import the class Client and use it to sign in

from molgenis_emx2_client 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_client*.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.196.0.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.196.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.196.0.tar.gz
Algorithm Hash digest
SHA256 b9c7520de9531d14d23e9dde5274cbbcf43865ab2da0b96fc8581462939810a0
MD5 e24c7e96687300912a2e53944d7bafff
BLAKE2b-256 94ee7e852fb8db129da10012ca29e67a576ad385574473312e67111f315cbeea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for molgenis_emx2_pyclient-8.196.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fd9bc25d1bc433d00bd0b841b735216e69064325202c87cd4e58d0af8968a18
MD5 8be3ff230be6f5898ac69232b5e371e2
BLAKE2b-256 7459caad1b02862f008a5b8c6ff9c5d0af85affcb4ac3752351b3a05ec41824b

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