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.2.0.tar.gz (39.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

object_filtering-0.2.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: object_filtering-0.2.0.tar.gz
  • Upload date:
  • Size: 39.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for object_filtering-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6aaaf3f6668aa7f870b9f912827774d687f571a72140c906bf4949ba257321be
MD5 b56ba5d1b157b0ff005d65c6aa2f3de3
BLAKE2b-256 621296d140b5731bfd4dc0045d51caf22143f7eff25e98c175be0a5534994b49

See more details on using hashes here.

Provenance

The following attestation bundles were made for object_filtering-0.2.0.tar.gz:

Publisher: python-publish.yml on KyberCritter/Object-Filtering

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for object_filtering-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 280e9cf12adc4fd412b188c66dacbe81a79ef411e95770e7461809f000f964ca
MD5 e1cdd5b941321a6b5e3203f24bd174be
BLAKE2b-256 c7292d7bf207d8a3518ef360b39380691db09c676e6b157dca7130ec743f411c

See more details on using hashes here.

Provenance

The following attestation bundles were made for object_filtering-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on KyberCritter/Object-Filtering

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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