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.10.tar.gz (27.3 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.10-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ghga_connector-0.2.10.tar.gz
  • Upload date:
  • Size: 27.3 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.10.tar.gz
Algorithm Hash digest
SHA256 7d9d275dcfd2221f69ea745b1c7102cc7b4052a83d88caeabe97b9cc081a0d0f
MD5 0c782b5c8439daa3140f018c9f88c231
BLAKE2b-256 70b911fceb3d50169ad75129db12e284637020969aba4fb3e28e7f80d340c1d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ghga_connector-0.2.10-py3-none-any.whl
Algorithm Hash digest
SHA256 278f653a6acf8f339a2164d511c6be8b4537b7464af82c466977ed38b2769532
MD5 ec947e0c432381bd7357a62fc2c35b87
BLAKE2b-256 ec5d0f7c4d7c804cd072aca00956a92292bb8b310198c93fe968caf39920d8dc

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

This release

0.2.10 This release

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

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