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:
- By command line option:
eggnog-mapper-fixurl --pyscript <path/to/download_eggnog_data.py> - By environment variable:
export EGGNOG_MAPPER_FIXURL_PYSCRIPT="<path/to/download_eggnog_data.py>" - By configuration file, add
download_eggnog_data_pysript = "<path/to/download_eggnog_data.py>"to~/.eggnog-mapper-fixurl-config.toml - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eggnog_mapper_fixurl-0.0.1.tar.gz.
File metadata
- Download URL: eggnog_mapper_fixurl-0.0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00d43251a3d6fe3ec5001186cb0b20c13d00522d7d7ee3f0cf17bbc66c270843
|
|
| MD5 |
ce9e1c0baf7e52884fe2d0ecb9cbef65
|
|
| BLAKE2b-256 |
299f0d82e9f6aed378464f3bba1da7171b307acda1b8f35e23dafe8847f7e688
|
File details
Details for the file eggnog_mapper_fixurl-0.0.1-py3-none-any.whl.
File metadata
- Download URL: eggnog_mapper_fixurl-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98943091c4daf324ef19fea5a411e9c56d4fb55e5a9ae3e255bd43fd80f56147
|
|
| MD5 |
9c179df32ea56da26917af39707286ca
|
|
| BLAKE2b-256 |
b431b6193cba3664347483f08006972b15d2c1110614c41bef8bcd7d7caf920f
|