Command line tool and Python client for working with Deep Origin
Project description
deeporigin
This repository contains the deeporigin
CLI and
Python client, which allows you to interact with
Deep Origin from the command line and Python.
[!WARNING]
Thedeeporigin
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
To run this package outside of a Deep Origin workstation (for example, on your own computer), first you need to configure this package. After installing this package, run the following to configure your organization, replacing org-id
with the ID of the Deep Origin organization that 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
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
File details
Details for the file deeporigin-3.0.0.tar.gz
.
File metadata
- Download URL: deeporigin-3.0.0.tar.gz
- Upload date:
- Size: 72.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd36c12f253fab80c68a058252840e6d1d30a09ce3e1b61021819c7301a7c45 |
|
MD5 | 29c05a53e52949530dd4197d6131b7fa |
|
BLAKE2b-256 | bfa6ed674342185129d919bcc21e7dc7ea75b1d8005789e65e390fc370af0f8f |
Provenance
The following attestation bundles were made for deeporigin-3.0.0.tar.gz
:
Publisher:
pypi.yml
on deeporiginbio/deeporigin-client
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
deeporigin-3.0.0.tar.gz
- Subject digest:
ebd36c12f253fab80c68a058252840e6d1d30a09ce3e1b61021819c7301a7c45
- Sigstore transparency entry: 150837599
- Sigstore integration time:
- Predicate type: