Skip to main content

Manage DBnomics fetchers

Project description

DBnomics fetcher ops

Manage DBnomics fetchers.

Usage

Install

pip install dbnomics-fetcher-ops

Configure a fetcher

Configure:

  • GitLab private token: use --gitlab-private-token option or GITLAB_PRIVATE_TOKEN environment variable. The private token can be a personal access token. It must have the api scope.

Run:

dbnomics-fetchers -v configure scsmich --dry-run
# If everything seems OK, remove the --dry-run flag:
dbnomics-fetchers -v configure scsmich

List fetchers

dbnomics-fetchers -v list
dbnomics-fetchers -v list --slug --no-legacy-pipeline

Development

This repository uses Poetry.

# git clone repo or fork
cd dbnomics-fetcher-ops
poetry install
cp .env.example .env

Run commands with:

poetry run dbnomics-fetchers COMMAND

To use ipdb:

poetry shell
# Find venv dir with "which python"
ipdb3 /path/to/venv/bin/dbnomics-fetchers ...

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

dbnomics-fetcher-ops-0.4.5.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

dbnomics_fetcher_ops-0.4.5-py3-none-any.whl (22.5 kB view hashes)

Uploaded Python 3

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