Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Search YAML files satisfying specified conditions.

Depends on Python 3.

Examples: yfind '.mailings[0].sent < 2012/06/12' my_files/

yfind '.id == 10'

((?.id) and (yfind '.id == 10)) or (.enabled == "False")'

Currently supported search expressions:

<Operand> <Operator> <Operand>

where Operator is one of ==, !=, <, >, <= or >=.

Operands may be numbers (1, 3.0), scalars (“foo”, “bar”), dates (2007/12/30) or YAML fields (.foo.bar, .foo[4].bar, .bar).

To check for existance of a field, use ‘?’ before the field name: ?.foo.bar.

Search expression can be combined with the logical operators “and, or, not”:

  • not (<SearchExpression>)

  • (<SearchExpression>) and (<SearchExpression>)

  • (<SearchExpression>) or (<SearchExpression>)

History

0.1.0a2 - 2012/08/21

  • Added boolean operations (and, or, not)

Metadata

Release files for yfind 0.1.0a2

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

Source distribution (sdist)

Source distribution for yfind 0.1.0a2
File Size Uploaded Provenance
yfind-0.1.0a2.tar.gz 4.4 kB Without provenance Details

Release files / yfind-0.1.0a2.tar.gz

Download URL yfind-0.1.0a2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1c506bb56eb6919ee76aa1aec20443557ecb4af0dc29756a9f96e1d3c8c045d8
BLAKE2b-256 checksum
How to use checksums
f481bc9c278abcf7e7ec6a5d38df3536079069bfc4a9cbb1c11f40deff6a3e3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for yfind 0.1.0a2

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