Skip to main content

A module for determining whether arbitrary Python objects meet a set of defined criteria.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

object_filtering-0.1.14.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

object_filtering-0.1.14-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file object_filtering-0.1.14.tar.gz.

File metadata

  • Download URL: object_filtering-0.1.14.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for object_filtering-0.1.14.tar.gz
Algorithm Hash digest
SHA256 4174b22701faf738e0e3f49eb40e2071c36f1e95e23092abe4cc73287991311e
MD5 3f36ef67d87184a7142fd45ba6b9597d
BLAKE2b-256 5b5015856d618fb7fa9f7e5bf3e2f48c8d222035de930403f889df5b7ed4e801

See more details on using hashes here.

File details

Details for the file object_filtering-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for object_filtering-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 f60c0db9062ce0fbe897349be4f8f79f7a019d7e502918545ba7c7933705fa02
MD5 a283ccc19a945ba3c6ddd7e4c15a3f3b
BLAKE2b-256 d5125f52baddf3f581f71a4a9d4e6e314b71e3d3331d98f9f857145872acf1a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page