| Name | mathfixer JSON |
| Version |
1.0.1
JSON |
| download |
| home_page | https://github.com/none-None1/mathfixer |
| Summary | mathfixer, a tool for fixing math in MediaWiki-based wikis |
| upload_time | 2024-09-06 14:20:10 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | None |
| license | None |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# mathfixer, a tool for fixing math in MediaWiki-based wikis
[MediaWiki](https://mediawiki.org)-based wikis usually use Wikipedia to show math.
However, Wikipedia is blocked in some places.
This tool replaces math tags with [MathJax](https://mathjax.org) to let the math be displayed correctly, using a local proxy at 127.0.0.1 (i.e.: this is not a VPN-like tool).
## Installation
mathfixer requires [mitmproxy](https://pypi.org/project/mitmproxy) and [bs4](https://pypi.org/project/bs4). You should set the system proxy IP to be 127.0.0.1 and port to be the port configured for mathfixer for it to work. Also, it requires the command line `mitmdump` (part of mitmproxy) to be in `PATH`.
## Usage
```shell
mathfixer
```
The port `8080` is used for the proxy and the wiki `esolangs.org` is fixed.
```shell
mathfixer -p 1234 -d somewiki.org
```
The port `1234` is used for the proxy and the wiki `somewiki.org` is fixed.
You should bypass the browser cache if you accessed the wiki before.
## Effect
Before: [](https://postimg.cc/S22vLSdP)
After: [](https://postimg.cc/BLkSdptW)
Note: Both images are screenshots of [https://esolangs.org/wiki/Factorial](https://esolangs.org/wiki/Factorial) which means they are both public domain.
Raw data
{
"_id": null,
"home_page": "https://github.com/none-None1/mathfixer",
"name": "mathfixer",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/c1/6a/c6dbc96b9e953088b9856b4926055625cf72946341f1f75316e0b7607007/mathfixer-1.0.1.tar.gz",
"platform": null,
"description": "# mathfixer, a tool for fixing math in MediaWiki-based wikis\r\n[MediaWiki](https://mediawiki.org)-based wikis usually use Wikipedia to show math.\r\nHowever, Wikipedia is blocked in some places.\r\n\r\nThis tool replaces math tags with [MathJax](https://mathjax.org) to let the math be displayed correctly, using a local proxy at 127.0.0.1 (i.e.: this is not a VPN-like tool).\r\n\r\n## Installation\r\nmathfixer requires [mitmproxy](https://pypi.org/project/mitmproxy) and [bs4](https://pypi.org/project/bs4). You should set the system proxy IP to be 127.0.0.1 and port to be the port configured for mathfixer for it to work. Also, it requires the command line `mitmdump` (part of mitmproxy) to be in `PATH`.\r\n\r\n## Usage\r\n```shell\r\nmathfixer\r\n```\r\nThe port `8080` is used for the proxy and the wiki `esolangs.org` is fixed.\r\n```shell\r\nmathfixer -p 1234 -d somewiki.org\r\n```\r\nThe port `1234` is used for the proxy and the wiki `somewiki.org` is fixed.\r\n\r\nYou should bypass the browser cache if you accessed the wiki before.\r\n\r\n## Effect\r\nBefore: [](https://postimg.cc/S22vLSdP)\r\n\r\nAfter: [](https://postimg.cc/BLkSdptW)\r\n\r\nNote: Both images are screenshots of [https://esolangs.org/wiki/Factorial](https://esolangs.org/wiki/Factorial) which means they are both public domain.\r\n",
"bugtrack_url": null,
"license": null,
"summary": "mathfixer, a tool for fixing math in MediaWiki-based wikis",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/none-None1/mathfixer"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d60661d5e734ced7640ffba3e89216887620371951c7551696a71ab7ebd0d6e3",
"md5": "9e990fabdb0e6c8e5dcf7d32b69ab3f0",
"sha256": "31ad28782fd5c904f36cdc7b4a24d6f58115284db8641072710f7ec71f1be707"
},
"downloads": -1,
"filename": "mathfixer-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9e990fabdb0e6c8e5dcf7d32b69ab3f0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3473,
"upload_time": "2024-09-06T14:20:08",
"upload_time_iso_8601": "2024-09-06T14:20:08.862638Z",
"url": "https://files.pythonhosted.org/packages/d6/06/61d5e734ced7640ffba3e89216887620371951c7551696a71ab7ebd0d6e3/mathfixer-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c16ac6dbc96b9e953088b9856b4926055625cf72946341f1f75316e0b7607007",
"md5": "f8cfce73618d61fc6657f97c3828b1be",
"sha256": "8e97ca2a3e062360d36875fe8a843ca33e8a6f6b4cb6e67da1b5dd9d9072cbec"
},
"downloads": -1,
"filename": "mathfixer-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "f8cfce73618d61fc6657f97c3828b1be",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2666,
"upload_time": "2024-09-06T14:20:10",
"upload_time_iso_8601": "2024-09-06T14:20:10.287920Z",
"url": "https://files.pythonhosted.org/packages/c1/6a/c6dbc96b9e953088b9856b4926055625cf72946341f1f75316e0b7607007/mathfixer-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-06 14:20:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "none-None1",
"github_project": "mathfixer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "mathfixer"
}