Skip to main content

Manage DBnomics fetchers

Project description

DBnomics fetcher ops

Manage DBnomics fetchers: list, configure and run pipelines.

Install

pip install dbnomics-fetcher-ops

Usage

Configure a fetcher

The configure command needs write privileges. Create a GitLab personal access token having the api scope, and pass it using the --gitlab-private-token option or the GITLAB_PRIVATE_TOKEN environment variable in ~/.config/dbnomics/dbnomics-fetchers.env.

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

Run fetcher pipelines

# Replace PROVIDER_SLUG by the real value:
dbnomics-fetchers -v run --provider-slug PROVIDER_SLUG

# To run a pipeline for each fetcher:
dbnomics-fetchers -v list --slug | xargs -I {} dbnomics-fetchers -v run --provider-slug {}

Development

Using uv is highly recommended.

git clone https://git.nomics.world/dbnomics/dbnomics-fetcher-ops.git
cd dbnomics-fetcher-ops
uv sync
. .venv/bin/activate
cp .env.example .env

Use with:

dbnomics-fetchers COMMAND

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.6.2.tar.gz (74.5 kB view details)

Uploaded Source

Built Distribution

dbnomics_fetcher_ops-0.6.2-py3-none-any.whl (56.7 kB view details)

Uploaded Python 3

File details

Details for the file dbnomics_fetcher_ops-0.6.2.tar.gz.

File metadata

  • Download URL: dbnomics_fetcher_ops-0.6.2.tar.gz
  • Upload date:
  • Size: 74.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for dbnomics_fetcher_ops-0.6.2.tar.gz
Algorithm Hash digest
SHA256 e946652424f72bf3cedc60ae6def4abeb063ea4f8ad98e874de927cb21902ca2
MD5 c514b147ee4598ee31d9b14afb303e02
BLAKE2b-256 eaba20c3e2b66d450a506ff1dae6298aa91bc95c8ccc08800191edb25f55abc8

See more details on using hashes here.

File details

Details for the file dbnomics_fetcher_ops-0.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dbnomics_fetcher_ops-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7da476eb28d75fb9775ec83b0cf2cc666d097078dcf74252b7246d066c760763
MD5 2cab2aa41eb46dd6da4df1c626edf18c
BLAKE2b-256 7efb2bd9124e653cb2bce0741ad9cebd21a8bdcabaabb27b02601723adac16dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page