{"id":16993614,"url":"https://github.com/redbe-an/pypoml","last_synced_at":"2025-03-22T05:23:40.571Z","repository":{"id":243322854,"uuid":"811135652","full_name":"RedBe-an/PyPoml","owner":"RedBe-an","description":"poml project","archived":false,"fork":false,"pushed_at":"2024-06-09T07:11:30.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T06:13:20.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedBe-an.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-06T02:22:42.000Z","updated_at":"2024-07-23T00:56:22.000Z","dependencies_parsed_at":"2024-06-09T08:26:05.647Z","dependency_job_id":"6e96ecee-4d56-42eb-8bcd-3ffed7191412","html_url":"https://github.com/RedBe-an/PyPoml","commit_stats":null,"previous_names":["poml-project/poml","redbe-an/pypoml"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedBe-an%2FPyPoml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedBe-an%2FPyPoml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedBe-an%2FPyPoml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedBe-an%2FPyPoml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedBe-an","download_url":"https://codeload.github.com/RedBe-an/PyPoml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244909679,"owners_count":20530269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T03:43:35.482Z","updated_at":"2025-03-22T05:23:40.553Z","avatar_url":"https://github.com/RedBe-an.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# POML Syntax Overview\n\nPOML (Plain Object Markup Language) is a simple and human-readable data serialization format. It is designed to be easy to read and write, making it suitable for configuration files and data exchange.\n\n## Basic Syntax\n\n### Key-Value Pairs\n- Basic syntax for defining key-value pairs:\n  ```\n  key: value\n  ```\n\n- Values can be strings, numbers, booleans, or null:\n  ```\n  name: John Doe\n  age: 30\n  married: true\n  children: null\n  ```\n\n### Comments\n- Use `#` for comments. Everything following `#` on the same line is a comment:\n  ```\n  # This is a comment\n  name: John Doe  # Inline comment\n  ```\n\n## Data Types\n\n### Strings\n- Strings can be unquoted, single-quoted, or double-quoted:\n  ```\n  name: John Doe\n  single_quote: 'Single quoted string'\n  double_quote: \"Double quoted string\"\n  ```\n\n### Numbers\n- Numbers can be integers or floating-point values:\n  ```\n  integer: 42\n  float: 3.14\n  ```\n\n### Booleans\n- Boolean values are `true` or `false`:\n  ```\n  is_active: true\n  is_admin: false\n  ```\n\n### Null\n- Null value is represented by `null`:\n  ```\n  value: null\n  ```\n\n## Collections\n\n### Lists\n- Lists are defined with a dash `-` followed by a space:\n  ```\n  fruits:\n    - Apple\n    - Banana\n    - Cherry\n  ```\n\n- Lists can contain dictionaries:\n  ```\n  users:\n    - name: John Doe\n      age: 30\n    - name: Jane Doe\n      age: 28\n  ```\n\n### Dictionaries\n- Dictionaries are collections of key-value pairs:\n  ```\n  person:\n    name: John Doe\n    age: 30\n    address:\n      street: 123 Main St\n      city: Anytown\n      postalCode: 12345\n  ```\n\n## Multiline Strings\n\n### Literal Block\n- Use `|` to denote a literal block where newlines are preserved:\n  ```\n  bio: |\n    John Doe is a software engineer.\n    He lives in Anytown.\n  ```\n\n### Folded Block\n- Use `\u003e` to denote a folded block where newlines are replaced by spaces:\n  ```\n  description: \u003e\n    John is passionate about coding\n    and loves to learn new technologies.\n  ```\n\n## Anchors and Aliases\n\n### Anchors\n- Define anchors with `\u0026` followed by the anchor name:\n  ```\n  address: \u0026addr\n    street: 123 Main St\n    city: Anytown\n    postalCode: 12345\n  ```\n\n### Aliases\n- Reference anchors with `*` followed by the anchor name:\n  ```\n  friends:\n    - name: Jane Smith\n      address: *addr\n    - name: Jim Brown\n      address: *addr\n  ```\n\n## Tagged Values\n\n### Date\n- Use `@date` followed by a date in `YYYY-MM-DD` format:\n  ```\n  meeting_date: @date 2023-12-01\n  ```\n\n### Datetime\n- Use `@datetime` followed by a datetime in `YYYY-MM-DDTHH:MM:SS` format:\n  ```\n  meeting_time: @datetime 2023-12-01T10:00:00\n  ```\n\n### Command Output\n- Use `@cmd` followed by a shell command:\n  ```\n  git_commit: @cmd git rev-parse HEAD\n  ```\n\n### Custom Data\n- Use `@custom` followed by a JSON-like string:\n  ```\n  user_data: @custom {\"type\": \"premium\", \"expiry\": \"2024-12-01\"}\n  ```\n\n## Special Characters\n- Strings containing special characters should be quoted:\n  ```\n  special_chars: \"Special characters: \\\"quotes\\\", \\\\slashes\\\\, and more.\"\n  ```\n\n## Summary\nPOML is a flexible and easy-to-read format suitable for various applications, including configuration files and data exchange. Its syntax includes support for basic data types, collections, multiline strings, anchors and aliases, and tagged values, making it a versatile choice for developers.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredbe-an%2Fpypoml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredbe-an%2Fpypoml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredbe-an%2Fpypoml/lists"}