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

Uploaded Python 3

File details

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

File metadata

  • Download URL: eggnog_mapper_fixurl-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 babffca4de1dc8b184c75d6b2608eea42b6eb4da09c8c6aad97c690297539f98
MD5 45f458d4d7929014984f17f6d74881a4
BLAKE2b-256 020a305f24c4d7761b9eb9d81ee3e818f3d0f1e5bad78177a4c6dfad2c6626db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eggnog_mapper_fixurl-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2bb324b46b981522e102f749a8e8769ae3b168ffbdba15d2612c6e92b85675f
MD5 3eb2d2d41ed7b73cdff4017aab40ee28
BLAKE2b-256 9b1e1b1999ebad93f7ce9db9ec798f294e45b2e15e3eae3e0301586567463ac9

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