Skip to main content

Geneweaver Client

GitHub Actions Workflow Status Style Coverage

PyPI - License PyPI - Python Version PyPI - Version PyPI - Downloads

This is a client for the Geneweaver API. It is written in Python 3.9 and is intended to be used as a library for other applications. It can also be used as a command line tool.

Installation

This library is tested on python version 3.9, 3.10, and 3.11, on MacOS and on Ubuntu Linux. The library should work on any version of python 3.9 or higher.

From PyPI

pip install geneweaver-client

From Source

Installing from source requires python 3.9 and poetry.

git clone $GIT_URL
cd geneweaver-client
poetry install

Usage

As a library

Using Authentication Tools

from geneweaver.client import auth
auth.login()
auth.get_access_token()

Complete Example

See the Geneweaver Docs

As a command line tool

gweave --help

GeneWeaver CLI client.

Usage:

$ gweave [OPTIONS] COMMAND [ARGS]...

Options:

  • --version
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • alpha: These commands are in alpha testing.
  • beta: These commands are in beta testing.

gweave beta

These commands are in beta testing.

They are subject to future change and/or removal. Beta commands are intended to be released beyond beta testing, but may have bugs or other issues. There is also no guarantee that beta commands will be released beyond beta testing.

Use at your own risk.

Usage:

$ gweave beta [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • auth

gweave beta auth

Usage:

$ gweave beta auth [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • login: Run the device authorization flow.
gweave beta auth login

Run the device authorization flow.

:param reauth: Force a re-authentication

Usage:

$ gweave beta auth login [OPTIONS]

Options:

  • --reauth
  • --help: Show this message and exit.

Metadata

Release files for geneweaver-client 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geneweaver-client 0.10.0
File Size Uploaded
geneweaver_client-0.10.0.tar.gz 35.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for geneweaver-client 0.10.0
File Interpreter ABI Platform
geneweaver_client-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 88.6 kB

Release files / geneweaver_client-0.10.0.tar.gz

Download URL geneweaver_client-0.10.0.tar.gz
Size 35.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e059d9a3fbf3cd90fec31f9d8417fbdf7e21867d45be30d67755d124692e8696
BLAKE2b-256 checksum
How to use checksums
fcdc2c55a95ce4ebbb33e7b0b2bf7e2d8548ba712cbbe807bf3d7a2dca14553b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1025-azure

Release files / geneweaver_client-0.10.0-py3-none-any.whl

Download URL geneweaver_client-0.10.0-py3-none-any.whl
Size 53.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a84f213644f85a381e67fe71028db62c892b22da7a5290dcc59da55eb244974d
BLAKE2b-256 checksum
How to use checksums
b8d73a81b818b95ac12bb80547be92563b0ec2f183c1396bc989a60a9cdbf2d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1025-azure

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

2 release files

0.6.0

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page