Skip to main content

Fix outdated URLs in eggnog-mapper's download_eggnog_data.py

Project description

eggnog-mapper-fixurl

Fix outdated URLs in eggnog-mapper's download_eggnog_data.py.

Installation

First, ensure that eggnog-mapper is installed in your environment. Then install the eggnog-mapper-fixurl package with pip:

pip install eggnog-mapper-fixurl

Usage

You can confirm that download_eggnog_data.py is detected in your current environment by running:

which download_eggnog_data.py

If it's detected, you can make the fix by simply running

eggnog-mapper-fixurl

This will update the outdated URLs in download_eggnog_data.py, after which the script should work correctly.

The fix will also take place if this package is imported in a Python script

import eggnog_mapper_fixurl

If you need to specify the location of download_eggnog_data.py, there are a few ways to do so:

  1. By command line option: eggnog-mapper-fixurl --pyscript <path/to/download_eggnog_data.py>
  2. By environment variable: export EGGNOG_MAPPER_FIXURL_PYSCRIPT="<path/to/download_eggnog_data.py>"
  3. By configuration file, add download_eggnog_data_pysript = "<path/to/download_eggnog_data.py>" to ~/.eggnog-mapper-fixurl-config.toml
  4. In a Python script:
import eggnog_mapper_fixurl
eggnog_mapper_fixurl.fixurl(
    download_eggnog_data_pysript="<path/to/download_eggnog_data.py>"
)

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

eggnog_mapper_fixurl-0.0.5.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

eggnog_mapper_fixurl-0.0.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file eggnog_mapper_fixurl-0.0.5.tar.gz.

File metadata

  • Download URL: eggnog_mapper_fixurl-0.0.5.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for eggnog_mapper_fixurl-0.0.5.tar.gz
Algorithm Hash digest
SHA256 4f40b459a58a4d49387d124121b59ab5ed470373ba5c6b3ddfe2ad9a23ecbecc
MD5 7604c7eb5fc8bc2d1dca662cbfb6f635
BLAKE2b-256 8ce59cb6f0483e1c228787ed77f533cda7049d31d3314c10cd373844e6067571

See more details on using hashes here.

File details

Details for the file eggnog_mapper_fixurl-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for eggnog_mapper_fixurl-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 094345c0f898c2977e16d7733a97c957ec313c3c1bf54ddafef58a775f28555b
MD5 5d12b30646d57670f6f876ee8b38fba7
BLAKE2b-256 2ddd54c287ff14da81cb78416906cd41826a1d72e1f709b975eb4953b7fe94ac

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