Skip to main content

CNF is short for Conjunctive Normal Form, which is a way of grouping logical statements; namely, but grouping or statements together separated by and statements:

(a or b or ...) and (x or y or...) and ...

For simplicity, let us refer to each statement as a "filter", as most likely one will be applying CNF to some data to find what passes the statements.

Currently, we implement a filter in python3 via the dict type:

{
  'logic':    a string which is either 'and' or 'or'
  'lambda':   a lambda function to be applied to something
  'name':     a name which can help with keeping things clear
}

Thus given a list of such filters, one can call:

cnf.apply(cnf.group(filters), *lambda_args)

Metadata

Release files for cnf 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cnf 0.0.4
File Size Uploaded Provenance
cnf-0.0.4.tar.gz 3.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cnf 0.0.4
File Interpreter ABI Platform
cnf-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / cnf-0.0.4.tar.gz

Download URL cnf-0.0.4.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9b49da82e3d3e343066e67177b8a5c4203ab11c112ee9d337b41b11ba25cd799
BLAKE2b-256 checksum
How to use checksums
9a10a5aa25804c99a351851e5e28fbbe13c15c546b10122bb1e63d22d3d58800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release files / cnf-0.0.4-py3-none-any.whl

Download URL cnf-0.0.4-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb0a909ae23f31d69677a7aac58326261b3f4568eb866a24bf0f6bb9cd91a57b
BLAKE2b-256 checksum
How to use checksums
3ed6e458806335f96688e2302cbd737e97c065271ea9f4cb330fb7e68c011022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Security for cnf 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page