Skip to main content

YamlTable


Documentation: https://wolfgangwazzlestrauss.github.io/yamltable

Source Code: https://github.com/wolfgangwazzlestrauss/yamltable


YamlTable is a Python command line utility for working with YAML files organized similar to a relational database table. It supports YAML files organized as a list of dictionaries, which share key names and value types. YamlTable provides commands for listing, searching, sorting, etc. data from the supported files.

Supported YAML File Organizations

YamlTable works with YAML files organized as a list of dictionaries with similar key names and value types.

- name: awscli
  description: Amazon Web Services command line client
  website: https://aws.amazon.com/
- name: glances
  description: operating system monitoring interface
  website: https://github.com/nicolargo/glances

The JSON schema support is included for YAML files organized as:

schema:
  $schema: http://json-schema.org/draft-07/schema#
  description: pipx package metadata schema
  type: object
  properties:
    name:
      type: string
      pattern: "^[\\w-]+$"
    description:
      type: string
    website:
      type: string
  required:
    - name
    - description
    - website
  additionalProperties: false
rows:
  - name: awscli
    description: Amazon Web Services command line client
    website: https://aws.amazon.com/
  - name: glances
    description: operating system monitoring interface
    website: https://github.com/nicolargo/glances

Getting Started

Installation

YamlTable can be installed for Python 3.6+ with pipx.

pipx install yamltable

To reuse its library functions install with pip.

pip install --user yamltable

The latest release can also be downloaded and installed from GitHub.

pip install --user https://github.com/wolfgangwazzlestrauss/yamltable/releases/latest/download/yamltable-py3-none-any.whl

Commands

YamlTable provides the following commands for working with YAML files:

  • list: list dictionary key values
  • search: search dictionaries by key and value
  • sort: sort dictionaries by key and value
  • validate: validate that dictionaries conform to the given JSON schema

Contributing

Since YamlTable is in an early development phase, it is not currently open to contributors.

License

Licensed under the MIT license.

Metadata

Release files for yamltable 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yamltable 0.1.5
File Size Uploaded Provenance
yamltable-0.1.5.tar.gz 6.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yamltable 0.1.5
File Interpreter ABI Platform
yamltable-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / yamltable-0.1.5.tar.gz

Download URL yamltable-0.1.5.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0bfb51c05a340a6ae07772e477d1a5dc3d3c2cde4dd7428b6f260a4229f7c87b
BLAKE2b-256 checksum
How to use checksums
6c84e2830551ca590d5706ee1851ca625581f89822147744a792e730845506e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / yamltable-0.1.5-py3-none-any.whl

Download URL yamltable-0.1.5-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bbce58948129e9b5439ea4a508ce1d3f85e84c4d740b91d3414e6b9d603d251
BLAKE2b-256 checksum
How to use checksums
332bead659816b52f9c443e209a4e8908de08284a8a285d03565897da1c94267
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for yamltable 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page