Skip to main content

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

Project description

Object Filtering

A Python module that functions 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. Download the latest version of object_filtering from PyPi by running the command pip install object_filtering.
  2. Download the latest version of object_filtering from the Releases tab on GitHub and install the wheel (.whl).

Making Modifications

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

License

(c) 2024 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.11.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

object_filtering-0.1.11-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: object_filtering-0.1.11.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for object_filtering-0.1.11.tar.gz
Algorithm Hash digest
SHA256 80b1d81bb65e84478d1244f4585edfc118d68850502ee4a005c3454fa30b9782
MD5 ec5fd4dddd927cf5423fd74b28da502d
BLAKE2b-256 54747207d2455d5bc435ecf5fd1288d87ddf3251b28df406ff4a390dcf15c162

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for object_filtering-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 0992ed25d19bf8d36adef7fe13d0e1ab47302891aaae26dcf2e896d238767bc1
MD5 6d1ba37e0061d4cdb40b508b97574547
BLAKE2b-256 e5ecf4650a801ca31adca6fc386deb5de7b96deab4699729b04437a134b93163

See more details on using hashes here.

Supported by

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