mwparserfromhell
carapace-bin
mwparserfromhell | carapace-bin | |
---|---|---|
5 | 6 | |
708 | 723 | |
- | 16.9% | |
6.6 | 9.8 | |
17 days ago | 9 days ago | |
Python | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mwparserfromhell
- FLaNK AI Weekly for 29 April 2024
-
Processing Wikipedia Dumps With Python
There's also https://github.com/earwig/mwparserfromhell, if you don't want to roll your own.
-
[Python] How can I clean up Wikipedia's XML backup dump to create dictionaries of commonly used words for multiple languages?
In particular what you're looking at is not XML but wikitext. I found a discussion on stackoverflow about solving the same problem of getting text from wikitext. Seems like the most promising solution in Python since you already have the dump is to run each page through mwparserfromhell. According to the top stackoverflow answer you could use something like
-
How can I clean up Wikipedia's XML backup dump to create dictionaries of commonly used words for multiple languages?
Thank you so much! I was actually talking about the markup language within the text. Turns out it's proprietary to WikiMedia and user lowerthansound kindly suggested I use this: https://github.com/earwig/mwparserfromhell
carapace-bin
- FLaNK AI Weekly for 29 April 2024
- Carapace: A multi-shell completion library and binary
-
Release Radar • March 2024 Edition
It's exciting when something breaks out on its own, and that's what's happened with Carapace. Originally part of a 13-piece project, it now has a major first version and it's a multi-shell completion library and binary. Carapace consists of a pflag fork, a yaml spec, a shell lexer, a completion bridge and various scrapers. Congratulations to the team on shipping your first version 🥳.
- Show HN: Inshellisense – IDE style shell autocomplete
- Carapace-bin: multi-shell multi-command argument completer
-
Fish (shell) porting to Rust from C++
I use Carapace which provides completions across tons of shells.
What are some alternatives?
wikitextparser - A Python library to parse MediaWiki WikiText
complete - bash completion written in go + bash completion for go command
archwiki - MediaWiki used on Arch Linux websites (read-only mirror)
The Platinum Searcher - A code search tool similar to ack and the_silver_searcher(ag). It supports multi platforms and multi encodings.
WiktionaryParser - A Python Wiktionary Parser
subcmd - Another approach to parsing and running subcommands. Works alongside the standard flag package.
wikiteam - Tools for downloading and preserving wikis. We archive wikis, from Wikipedia to tiniest wikis. As of 2023, WikiTeam has preserved more than 350,000 wikis.
cobra - A Commander for modern Go CLI interactions
pywikibot - A Python library that interfaces with the MediaWiki API. This is a mirror from gerrit.wikimedia.org. Do not submit any patches here. See https://www.mediawiki.org/wiki/Developer_account for contributing.
job - JOB, make your short-term command as a long-term job. 将命令行规划成任务的工具
isbntools - python app/framework for 'all things ISBN' including metadata, descriptions, covers...
elvish - Powerful scripting language & Versatile interactive shell