Skip to main content

tests codecov

GHGA-Connector

A CLI - Client to perform up- and download operations to and from a local GHGA Node.

Documentation:

An extensive documentation can be found here (coming soon).

Quick Start:

Installation

This package uses PycURL and thus has curl (https://curl.se/) as a dependency. On Debian-based Linux distributions, you can install cURL using:

sudo apt install libcurl4-openssl-dev libssl-dev

This package is available at PyPI: https://pypi.org/project/ghga_connector

You can install it from there using:

pip install ghga_connector

Using the CLI:

To get help on the command line interface, type:

ghga_connector --help

Development

For setting up the development environment, we rely on the devcontainer feature of vscode in combination with Docker Compose.

To use it, you have to have Docker Compose as well as vscode with its "Remote - Containers" extension (ms-vscode-remote.remote-containers) installed. Then open this repository in vscode and run the command Remote-Containers: Reopen in Container from the vscode "Command Palette".

This will give you a full-fledged, pre-configured development environment including:

  • infrastructural dependencies of the service (databases, etc.)
  • all relevant vscode extensions pre-installed
  • pre-configured linting and auto-formating
  • a pre-configured debugger
  • automatic license-header insertion

Moreover, inside the devcontainer, there are two convenience commands available (please type them in the integrated terminal of vscode):

  • dev_install - install the service with all development dependencies, installs pre-commit, and applies any migration scripts to the test database (please run that if you are starting the devcontainer for the first time or if you added any python dependencies to the ./setup.cfg)
  • dev_launcher - starts the service with the development config yaml (located in the ./.devcontainer/ dir)

If you prefer not to use vscode, you could get a similar setup (without the editor specific features) by running the following commands:

# Execute in the repo's root dir:
cd ./.devcontainer

# build and run the environment with docker-compose
docker-compose up

# attach to the main container:
# (you can open multiple shell sessions like this)
docker exec -it devcontainer_app_1 /bin/bash

License

This repository is free to use and modify according to the Apache 2.0 License.

Download files

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

Source Distribution

ghga_connector-0.2.2.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghga_connector-0.2.2-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

Details for the file ghga_connector-0.2.2.tar.gz.

File metadata

  • Download URL: ghga_connector-0.2.2.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for ghga_connector-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c1376613959ab85104e432d714f69a57316ddd857977432d1462e7bf6ef0ed96
MD5 6ce07ebc34dbd5b4893db5364e1f553a
BLAKE2b-256 b5d2aefa9bfada1b809d32f3882bb6909f4cf04f44ba55acbe272b3bd9e6ac56

See more details on using hashes here.

File details

Details for the file ghga_connector-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: ghga_connector-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 46.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for ghga_connector-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5a0c975f75d8b96ffb833a3c8cc446a0f3c537d6497687bda1dec8a44a47a9b
MD5 28a7b948077fff9c19129fddaf56579e
BLAKE2b-256 3792ad820ecdfa2182a499a3bf4941fd02184aec91366ed4f8a7889d357d322d

See more details on using hashes here.

Release history Release notifications | RSS feed

4.0.0

2 files

3.1.1

2 files

3.1.0

2 files

3.0.2

2 files

3.0.1

2 files

3.0.0

2 files

2.1.1

2 files

2.1.0

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

2.0.0rc1

2 files

1.8.0

2 files

1.7.3

2 files

1.7.2

2 files

1.7.1

2 files

1.7.0

2 files

1.6.0

2 files

1.5.1

2 files

1.5.0

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.0

2 files

1.2.1

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.3.14

2 files

0.3.13

2 files

0.3.12

2 files

0.3.11

2 files

0.3.10

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.3

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

This release

0.2.2 This release

2 files

0.1.4

2 files

0.1.3

2 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