Skip to main content

Command line tool and Python client for working with Deep Origin

Project description

deeporigin

PyPI

This repository contains the deeporigin CLI and Python client, which allows you to interact with Deep Origin from the command line and Python.

[!WARNING]
The deeporigin client is under active development. Features may change or be removed.

Installing

[!CAUTION] As a best practice, we recommend installing this package in a virtual environment.

To install this package, run the following:

pip install deeporigin

Configuration

If you are running deeporigin outside of a Deep Origin workstation (for example, on your own computer), you need to configure this. Run the following to configure your organization, replacing org-id with the ID of the organization you would like to work with.

deeporigin config set organization_id [org-id]

Developing

First, download the source code from GitHub:

git clone git@github.com:deeporiginbio/deeporigin-client.git
cd deeporigin-client

Second, run the code below to create a virtual environment and install this package into it. This requires make v4.4 or higher.

make install

Testing

Running the tests locally

To run the tests locally, execute the following:

make test

By default, the tests are run using mocked responses. To run the tests against the live Deep Origin API, execute the following:

make test client=default

Automated tests on GitHub Actions

The tests are automatically run on GitHub Actions on every commit to every pull request.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deeporigin-2.0.0.tar.gz (50.2 kB view details)

Uploaded Source

File details

Details for the file deeporigin-2.0.0.tar.gz.

File metadata

  • Download URL: deeporigin-2.0.0.tar.gz
  • Upload date:
  • Size: 50.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for deeporigin-2.0.0.tar.gz
Algorithm Hash digest
SHA256 9bad7453f78e987f3c7483f893a853b4e39ff00c72b8df9d52e43ce5bf2f34fb
MD5 48091c92cb95659be1f7d9c9b4422a91
BLAKE2b-256 108e9de182a2148793c940553dcca0284b3474ff5043950935d35173b3717893

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page