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

Uploaded Source

Built Distribution

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

dbnomics_fetcher_ops-0.7.0-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbnomics_fetcher_ops-0.7.0.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dbnomics_fetcher_ops-0.7.0.tar.gz
Algorithm Hash digest
SHA256 d50afdb4fd480c64cfeaec46c93c9c242d6ea2b2e2159480169da4cd73db64d4
MD5 52163112c968eb16736d2748bbf87444
BLAKE2b-256 eee567177e1e64bb9c7bb09f608e9d4f24dcfbeb8ec458b0cbc8bd5dd1220374

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dbnomics_fetcher_ops-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98f8afc8ae9b158e8960889e37c9197c7d200990b37ca6ffc2161117f4b76d02
MD5 0c03604320eb8639a33721f501510055
BLAKE2b-256 aa175e7e2443ea36d4f0aea9994f6a650b16f93692b8bd70d103aadce5f124d5

See more details on using hashes here.

Supported by

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