Skip to main content

ypa

A CLI for parsing yaml files.

You must set YPA_IMPORT_DIR and YPA_EXPORT_DIR or define them in a .env file.

Example:

YPA_IMPORT_DIR="/my-yaml-files"

YPA_EXPORT_DIR="/inventory/host_vars"

Usage:

$ ypa [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • get-machine-details: Get details for Machines from a YAML file.
  • write-hostvar-files: Export machine details to a file.

ypa get-machine-details

Get details for Machines from a YAML file.

Arguments:

filename: The path to the YAML file.

Usage:

$ ypa get-machine-details [OPTIONS] FILENAME

Arguments:

  • FILENAME: [required]

Options:

  • -s, --silent: Silent mode. No output.
  • --help: Show this message and exit.

ypa write-hostvar-files

Export machine details to a file.

Arguments:

import_filename: The path to the YAML file to import.

Usage:

$ ypa write-hostvar-files [OPTIONS] IMPORT_FILENAME

Arguments:

  • IMPORT_FILENAME: [required]

Options:

  • -s, --silent: Silent mode. No output.
  • --help: Show this message and exit.

Metadata

Release files for yaml-parser-annek 0.1.3

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

Source distribution (sdist)

Source distribution for yaml-parser-annek 0.1.3
File Size Uploaded Provenance Actions
yaml_parser_annek-0.1.3.tar.gz 2.9 kB Without provenance Details for yaml_parser_annek-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yaml-parser-annek 0.1.3
File Interpreter ABI Platform Actions
yaml_parser_annek-0.1.3-py3-none-any.whl Python 3 none any Details for yaml_parser_annek-0.1.3-py3-none-any.whl

Total release size: 6.8 kB

Release files / yaml_parser_annek-0.1.3.tar.gz

Download URL yaml_parser_annek-0.1.3.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
356d5a988e8c014d3073f1d8004bbdee96da55207ad3efdc3c3138d265966e0b
BLAKE2b-256 checksum
How to use checksums
fd93d6c0c1a4b44b652552f2570819d957065f2d58ffc3e97f6f4e9f3a864c1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.5 Darwin/24.5.0

Release files / yaml_parser_annek-0.1.3-py3-none-any.whl

Download URL yaml_parser_annek-0.1.3-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4ad73b40461393bdb7637fcf2cbf28fdc84687e7ca54fa09e32d990fb2ef3c1
BLAKE2b-256 checksum
How to use checksums
081f7151386d6d8a4a9a649e5c019d2cb55ce014f16fe351467974d93f320772
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.5 Darwin/24.5.0

Security for yaml-parser-annek 0.1.3

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