Skip to main content

Made to format strings for kivy/kivymd (MIT)

Project description

TwitterFacebookInstagramYouTubeWhatsAppWWWPinterestE-Mail


string2markup

Made to format strings for kivy/kivymd (MIT)
Just download use

pip install string2markup
from string2markup import S2M
print(S2M('haddd').b.u.color((255,255,255,255)))
print(S2M('haddd').b.u.color((255,255,255)))
print(S2M('haddd').b.u.color((1,1,1)))
print(S2M('haddd').b.u.color('#ffffff').sub.s.size(12))

output:
[color=#ffffff][u][b]haddd[/b][/u][/color]
[color=#ffffff][u][b]haddd[/b][/u][/color]
[color=#ffffff][u][b]haddd[/b][/u][/color]
[size=12][s][sub][color=#ffffff][u][b]haddd[/b][/u][/color][/sub][/s][/size]

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

string2markup-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

string2markup-0.0.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file string2markup-0.0.1.tar.gz.

File metadata

  • Download URL: string2markup-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for string2markup-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2873ee4a074b99ecc9c13c25a61895005b5c411d55deb1bdc35ee4e11f2a6010
MD5 633f1fb1ee61e2832b9d6a914aca6fca
BLAKE2b-256 2077406237bcf37e2c5b2ae4d18625a4a598d1115a3fcae64f9d310014a600d9

See more details on using hashes here.

File details

Details for the file string2markup-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: string2markup-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.12

File hashes

Hashes for string2markup-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e5d5044fe4afb5716550d1cdbfc79f8b96704a9e787183616533bcb50dc65c0
MD5 141ad04572e94ee707d8ead3b52b88ac
BLAKE2b-256 3dfcd02fc8c7d9a3d33d474453e4f530228ddeb46b5d2acddc96687067fe126c

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