Skip to content

A Python module for determining whether arbitrary Python objects meet a set of defined criteria. Uses JSON objects as rule sets.

License

Notifications You must be signed in to change notification settings

KyberCritter/Object-Filtering

Repository files navigation

Object Filtering

Build Status Python Versions

A Python module for determining whether arbitrary Python objects meet a set of defined criteria. Filters use JSON to represent a set of criteria that objects must meet. Filters can be arbitrarily nested and can contain conditional logic.

See /docs/filter_specifications.md for details on filter implementation.

Installation Options

  1. pip install object_filtering.
  2. Download the latest version of object_filtering from the Releases tab on GitHub and install the wheel (.whl).

Building From Source

  1. Clone this repository.
  2. Install the Python modules build, wheel, hatchling, and hatch-requirements-txt.
  3. (Optional) Make modifications to the source code.
  4. (Optional) Change the module version in pyproject.toml.
  5. Run pytest from the root of the repository to run unit tests. Only continue if all tests pass.
  6. Build the module by running py -m build from the root of the repository.

License

(c) 2025 Scott Ratchford.

object_filtering is licensed under the MIT License. See LICENSE.txt for details.

About

A Python module for determining whether arbitrary Python objects meet a set of defined criteria. Uses JSON objects as rule sets.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages