Skip to main content

SYML (Simple YAML-like Markup Language) is a simple markup language with similar structure to YAML, but without all the gewgaws and folderol.

Project description

SYML

GitHub Actions Workflow Status PyPI - Version

SYML (Simple YAML-like Markup Language) is a simple markup language with similar structure to YAML, but without all the gewgaws and folderol.

Example

Here's a simple SYML document:

>>> document = """
foo:
  - bar
  - baz
  - blah
    boo
    baloon

booleans?:
  - True
  - False
  - true
  - false
  - TRUE
  - FALSE
"""

And the resulting data structure::

>>> import syml
>>> syml.loads(document)
{'foo': ['bar', 'baz', 'blah\nboo\nbaloon'],
 'booleans?': ['True', 'False', 'true', 'false', 'TRUE', 'FALSE']}

All leaf values in SYML are just plain ol' strings. No ints, floats, bools, or nasty remote code execution bugs!

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

syml-0.6.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

syml-0.6.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file syml-0.6.2.tar.gz.

File metadata

  • Download URL: syml-0.6.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/23.6.0

File hashes

Hashes for syml-0.6.2.tar.gz
Algorithm Hash digest
SHA256 156e7d4e056b42e9034b41e0afffeba50cfdcc95c41c04244380c63103a922fe
MD5 91bb30f517bcf5e0d6f1f8f6ca370f96
BLAKE2b-256 293cdc5f752628407d0f3dd2747718910aa8e013a7b91bb7a10ae24f86ed0bbd

See more details on using hashes here.

File details

Details for the file syml-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: syml-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/23.6.0

File hashes

Hashes for syml-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b6da18d78cc6e4d4b80efde9c570c28130f7f518824bacc857eccbcc048b3d3
MD5 0c7441abda46f8460a141ef80d30129f
BLAKE2b-256 68b4c849d65dc24e99f6f5a591fc97b52eb60fe35a9f36ed14cef415ba6e1879

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