Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install yfind

How to install yfind

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install yfind
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.0a1
0.1.0a2Never BuiltWhy not?
0.1.0a1 Available View build log
Windows (64-bit)
0.1.0a1
0.1.0a2Never BuiltWhy not?
0.1.0a1 Available View build log
Mac OS X (10.5+)
0.1.0a1
0.1.0a2Never BuiltWhy not?
0.1.0a1 Available View build log
0.1.0a2 Available View build log
0.1.0a1 Available View build log
Linux (32-bit)
0.1.0a2 Available View build log
0.1.0a1 Available View build log
0.1.0a2 Available View build log
0.1.0a1 Available View build log
Linux (64-bit)
0.1.0a2 Available View build log
0.1.0a1 Available View build log
0.1.0a2 Available View build log
0.1.0a1 Available View build log
0.1.0a2 Available View build log
 
License
BSD-2-Clause
Dependencies
Imports
Lastest release
version 0.1.0a2 on Nov 21st, 2012

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)

Subscribe to package updates

Last updated Nov 21st, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.