This project has been archived by its maintainers, and is no longer receiving any updates.
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:
- 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>"
)
Release files for eggnog-mapper-fixurl 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eggnog_mapper_fixurl-0.0.5.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eggnog_mapper_fixurl-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / eggnog_mapper_fixurl-0.0.5.tar.gz
| Download URL | eggnog_mapper_fixurl-0.0.5.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f40b459a58a4d49387d124121b59ab5ed470373ba5c6b3ddfe2ad9a23ecbecc
|
|
BLAKE2b-256 checksum How to use checksums |
8ce59cb6f0483e1c228787ed77f533cda7049d31d3314c10cd373844e6067571
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / eggnog_mapper_fixurl-0.0.5-py3-none-any.whl
| Download URL | eggnog_mapper_fixurl-0.0.5-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
094345c0f898c2977e16d7733a97c957ec313c3c1bf54ddafef58a775f28555b
|
|
BLAKE2b-256 checksum How to use checksums |
2ddd54c287ff14da81cb78416906cd41826a1d72e1f709b975eb4953b7fe94ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|