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

Install the 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.3.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.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eggnog_mapper_fixurl-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b02ef52e6d083986f2d65b71ca9fc4774f053fbfa94fd6a92e8dd413b81ddcf5
MD5 1c864a7ad7840f978b9fa91f3da404e0
BLAKE2b-256 dd97d48c3c15e5e51c56f8d44cc08ac91b80aa7e7b8f409e25e3dedc7eaaef77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eggnog_mapper_fixurl-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ae79af17385a2d4a564df391f75d7ef69a3f514ed2e7e95be0d2025160e3522b
MD5 41e7d7e11e102c2c86c7776dbb524307
BLAKE2b-256 e3fcd4231403ad8923ae88da01c05813d8eee7a63bdc057e7b119fff4335246e

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