Skip to main content

Parse Dota 2 text patches to html format.

Project description

Platform

Status

GitHub

Release Tag License Issues PR

PyPI

PVersion PLicense Version Wheel Status

Health

CI docs CIssues Coverage codecov

dotapatch is a software which aims the automation of formatting simple text changelog into clear html changelog.

Check the Gameplay Update 7.18. This is the latest patch parsed using dotapatch.

Read the documentation at Read the Docs.

Quickstart

Installing dotapatch

Install dotapatch using pip:

$ pip install dotapatch
Collecting dotapatch
...
Successfully installed dotapatch-2.4
$ dotapatch
usage: dotapatch [-h] [-t template_file] [-u] [-V] [-d] [-s] [-q]
                 [changelog_file [changelog_file ...]]

Gathering a new changelog

  1. Go to dota2 news page and locate the latest patch.

  2. Copy and save it as a file.

7.07d:
==
* Necronomicon: Mana Break damage from 60 to 50%
* Nullifier: Cooldown reduced from 14 to 13
* Nullifier: Manacost reduced from 100 to 75

* Alchemist: Unstable Concoction damage increased from 150/220/290/360 to 160/240/320/400
* Bane: Enfeeble duration reduced from 20 to 14/16/18/20
* Bane: Brain Sap damage rescaled from 90/160/230/300 to 75/150/225/300

Running dotapatch

Head over to the folder where you saved the changelog file and run dotapatch:

$ cd changelogs
$ dotapatch 706f
INFO Parsing 7.06f
INFO HTML saved at /home/arthurazs/changelogs/706f.html
INFO 7.06f conversion went smoothly.

Task List

Contributing

Take a time to read our Code of Conduct. Any unacceptable behavior shall be reported by contacting the project team at arthurazsoares@gmail.com.

  • Do you have any feedback, questions or ideias?

  • Do you want to report a bug?

  • Would you like to fix a bug or implement a feature?

First of all, thank you! Please, read our Contributing Guidelines for details.

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dotapatch-2.4.4.tar.gz (54.7 kB view details)

Uploaded Source

Built Distribution

dotapatch-2.4.4-py2.py3-none-any.whl (59.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dotapatch-2.4.4.tar.gz.

File metadata

  • Download URL: dotapatch-2.4.4.tar.gz
  • Upload date:
  • Size: 54.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dotapatch-2.4.4.tar.gz
Algorithm Hash digest
SHA256 096d2f87c172d152000077aef00e7925ca8d2f903eb349d60dc22cdc4a9abdd4
MD5 762223935f4b4f209e8b20ca799963ba
BLAKE2b-256 ce43f3e963bb44a42b598eb083fb40257a98e0e85cb76d05abc70db2a288af52

See more details on using hashes here.

File details

Details for the file dotapatch-2.4.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dotapatch-2.4.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4e70174011f0991076be6af3bf19510a1ade24eafa90ea08523c776249223ddf
MD5 43f31cd5f2d72a67cd3ea12418f6f997
BLAKE2b-256 955eee2eb36e6482be60a36df882b1ebefdaa56734ef0bb533725a0dc8b938fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page