Parses MTASA Wiki functions and events. Saves parsed data into dump directory.
Minimal expected Python version: 3.7
git clone https://github.com/mtasa-typescript/mtasa-wiki-dump to_python/dump
git clone https://github.com/mtasa-typescript/mtasa-mediawiki-dump crawler/dump_html
git clone https://github.com/mtasa-typescript/mtasa-lua-types to_typescript/outputFor Windows:
python3 -m venv .\venv\
.\venv\Scripts\activateFor Linux:
python3 -m venv ./venv/
source ./venv/bin/activateInstall dependencies:
pip install -r requirements.txtUsed for dumping MediaWiki content about functions and events from MTASA Wiki.
cd crawler
python3 main.pyTool for transforming Media Wiki content into Python objects.
cd to_python
python3 main.pyTool for transforming Python objects into TypeScript definitions.
cd to_typescript
python3 main.py- Create an issue with the bug or the idea.
- If you would like to create the Merge Request (Pull Request), suggest the solution you would like to provide in the issue.
- Wait 1-2 days for an answer.
- If the maintainer agreed with your suggestion (or if there is no answer in 1-2 days), create the Merge Request with your solution.
Rules:
- Use
flake8to validate code style - Use
pytestto cover code with tests