Follow

: The maintain-website-tool is now available on .

It can be installed and run on the commandline.

I'm looking for and for other tools to add to this package.

pypi.org/project/maintain-webs

codeberg.org/developers/mainta

This could be an idea for another subcommand for this tool - create list of projects that a website depends on.

But this algorithm is harder because the finding of authors is less standardized.

@csddumi this is very cool. I had to cobble together some Bash scripts with copious use of #wget and #curl to achieve something remotely similar when I needed it. Great to see such a tool out there!

#SysAdmin

@csddumi The tool throws the following for me:
➜ ~ pip install maintain-website-tool
Defaulting to user installation because normal site-packages is not writeable
WARNING: Keyring is skipped due to an exception:
Collecting maintain-website-tool
Downloading maintain_website_tool-0.0.10-py3-none-any.whl (21 kB)
Installing collected packages: maintain-website-tool
Successfully installed maintain-website-tool-0.0.10

@csddumi ➜ ~ python3 -m maintain-website-tool hyteck.de
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/moanos/.local/lib/python3.10/site-packages/maintain-website-tool/__main__.py", line 2, in <module>
from .main import main

@csddumi File "/home/moanos/.local/lib/python3.10/site-packages/maintain-website-tool/main.py", line 2, in <module>
from .link import link
File "/home/moanos/.local/lib/python3.10/site-packages/maintain-website-tool/link/__init__.py", line 1, in <module>
from .parser import link
File "/home/moanos/.local/lib/python3.10/site-packages/maintain-website-tool/link/parser.py", line 9, in <module>
from .visualize import visualize

@csddumi File "/home/moanos/.local/lib/python3.10/site-packages/maintain-website-tool/link/visualize.py", line 1, in <module>
from pyvis.network import Network
ModuleNotFoundError: No module named 'pyvis'

@moanos thanks for the error message.

I believe this is caused by the lack of pyvis being installed.

Which in turn is because I did not specify any install_requires in my setup.py.

I'll add pyyaml, csv, pyvis and requests to that and upload a new version.

@moanos

but since pyvis is only needed for visualization ( a feature probably rarely needed ) I might also make that an option requirement and disable visualizations by default.

@moanos now uploaded version 0.0.11 containing both an install_requires and a section in the README specifically about executing a check of your website.

Your command:
$ python3 -m maintain-website-tool hyteck.de

should really be:
$ echo "hyteck.de" | python3 -m maintain-website-tool link --format csv check - > hyteck.de.csv

Because the checker starts from a specific url or set of urls that can provided either in a file or in stdin. The output of the program is always to stdout.

@moanos important here: you have to provide a proper link, with schema:// and all.

@csddumi Thank you a lot, this perfectly addresses my issues!

Sign in to participate in the conversation
norden.social

Moin! Dies ist eine Mastodon Instanz für Nordlichter, Schnacker und was sonst noch so aus dem Norden kommt. Administriert wird der Norden von Niklas & Benny. Zusätzliche Moderator:innen sind Marius und Kurzi.
Bitte gebt bei der Registrierung einen kurzen Text ein. Das erleichtert uns euch schneller freizugeben.