Skip to main content

Imagine a markup language, but worse

Project description

vcoml

Imagine a markup language, but worse

Syntax Example

VcoML:

:"members"
  :297045071457681409
    :"username"
      "vcokltfre"
    :"discriminator"
      6868
    :"mfa"
      ya
    :"verified"
      na
    :"email"
      idk
    :"roles"
      >
        :"id"
          1234
        :"name"
          "Admin"
      >
        :"id"
          5678
        :"name"
          "Moderator"

YAML:

members:
  297045071457681409:
    username: vcokltfre
    discriminator: 6868
    mfa: true
    verified: false
    email: null
    roles:
      - id: 1234
        name: Admin
      - id: 5678
        name: Moderator

Usage

from vcoml import pack, unpack


data = unpack("""
:"abc"
  123
:"def"
  >
    "list"
  >
    "more list"
""")

print(data)

# Re-pack the data
print(pack(data))

Todo

  • CLI

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

vcoml-1.0.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

vcoml-1.0.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

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