A module for determining whether arbitrary Python objects meet a set of defined criteria.
Project description
Object Filtering
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
pip install object_filtering.- Download the latest version of
object_filteringfrom the Releases tab on GitHub and install the wheel (.whl).
Building From Source
- Clone this repository.
- Install the Python modules
build,wheel,hatchling, andhatch-requirements-txt. - (Optional) Make modifications to the source code.
- (Optional) Change the module version in
pyproject.toml. - Run
pytestfrom the root of the repository to run unit tests. Only continue if all tests pass. - Build the module by running
py -m buildfrom 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aaaf3f6668aa7f870b9f912827774d687f571a72140c906bf4949ba257321be
|
|
| MD5 |
b56ba5d1b157b0ff005d65c6aa2f3de3
|
|
| BLAKE2b-256 |
621296d140b5731bfd4dc0045d51caf22143f7eff25e98c175be0a5534994b49
|
Provenance
The following attestation bundles were made for object_filtering-0.2.0.tar.gz:
Publisher:
python-publish.yml on KyberCritter/Object-Filtering
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
object_filtering-0.2.0.tar.gz -
Subject digest:
6aaaf3f6668aa7f870b9f912827774d687f571a72140c906bf4949ba257321be - Sigstore transparency entry: 1173141051
- Sigstore integration time:
-
Permalink:
KyberCritter/Object-Filtering@7de7b76806abed95ef5a2ff071f1c8005dbfc314 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/KyberCritter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7de7b76806abed95ef5a2ff071f1c8005dbfc314 -
Trigger Event:
release
-
Statement type:
File details
Details for the file object_filtering-0.2.0-py3-none-any.whl.
File metadata
- Download URL: object_filtering-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
280e9cf12adc4fd412b188c66dacbe81a79ef411e95770e7461809f000f964ca
|
|
| MD5 |
e1cdd5b941321a6b5e3203f24bd174be
|
|
| BLAKE2b-256 |
c7292d7bf207d8a3518ef360b39380691db09c676e6b157dca7130ec743f411c
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
object_filtering-0.2.0-py3-none-any.whl -
Subject digest:
280e9cf12adc4fd412b188c66dacbe81a79ef411e95770e7461809f000f964ca - Sigstore transparency entry: 1173141171
- Sigstore integration time:
-
Permalink:
KyberCritter/Object-Filtering@7de7b76806abed95ef5a2ff071f1c8005dbfc314 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/KyberCritter
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7de7b76806abed95ef5a2ff071f1c8005dbfc314 -
Trigger Event:
release
-
Statement type: