Skip to main content

[P]oker's M[a]de-up [M]arkup [L]anguage to HTML converter

Project description

paml2html is a proof-of-concept converter making HTML from [P]oker's M[a]de-up [M]arkup [L]anguage. PaML's docs can be found here. You can also track PaML's & paml2html's development on my Vikunja list!

Prerequisites

Installation

Download the files

  • Clone the repo:
git clone https://github.com/PokerFacowaty/paml2html
  • ... or simply download src/paml2html.py

Usage

To use paml2html by itself, simply start it when in the same directory:

python paml2html.py

(or if you have Python 2 installed)

python3 paml2html.py

...or you can also import it and use in a different file with import paml2html by calling the paml2html.convert_from_file() or paml2html.convert_from_text() function and providing a filepath or text

Arguments

paml2html.py [-h] [--indent INDENT] source_file destination_file

  • -h, --help - show help
  • --indent <number> - the optional amount of spaces used to indent the HTML file, indentation is off by default
  • source_file - source text file containing PaML content
  • destination_file - file for the resulting HTML content

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

paml2html-0.1.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paml2html-0.1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file paml2html-0.1.1.tar.gz.

File metadata

  • Download URL: paml2html-0.1.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.2 Linux/5.10.0-21-amd64

File hashes

Hashes for paml2html-0.1.1.tar.gz
Algorithm Hash digest
SHA256 db661cba5c1303a67b26c5533ad87f43f6e542a58c75f0cd5dec9e730bbb1fb8
MD5 6e485331414c04b92cc49d3ee37e5f23
BLAKE2b-256 68e466d9aceaf63fc6057a4d4fe2e4d4fcf519ad69cf4398a80558c1b23f2467

See more details on using hashes here.

File details

Details for the file paml2html-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: paml2html-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.2 Linux/5.10.0-21-amd64

File hashes

Hashes for paml2html-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e7d89e75e55dd9aed7593caf408e30f75d4b1eadbe5d8ead0f5ed245685622b
MD5 2055f5821f9a2ce941f8f25c443911d4
BLAKE2b-256 baef6b9929f7bccf2b0e054e6491646350a51a460ca232f40e42f474b0c541e4

See more details on using hashes here.

Supported by

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