Skip to main content

wtoolzargs

wtoolzargs contains core filtering and ordering logic for web applications

Installation | Getting Up And Running | Examples | API | See Also

wtoolzargs contains core filtering and ordering logic for web applications. The main feature are:

  • Filtering and

  • ordering for SQLAlchemy models.

Installation

pip install wtoolzargs

Getting Up and Running

nox -l

Examples

import wtoolzargs

# sqlalchemy model
class Hacker(Base):
    __tablename__ = "hacker"
    id = Column(Integer, primary_key=True)
    a = Column(String)
    b = Column(String)
    c = Column(String)
    d = Column(String)
    e = Column(String)

f = wtoolzargs.filter_(Hacker, "a eq 'a' and b eq 'b'")
res = Hacker.query.filter(f).all()

o = wtoolzargs.order(Hacker, "a asc, b desc")
res = Hacker.query.filter(f).order_by(*o).all()    

API

FIXME

See Also

FIXME

Metadata

Release files for wtoolzargs 0.1.0

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

Source distribution (sdist)

Source distribution for wtoolzargs 0.1.0
File Size Uploaded Provenance Actions
wtoolzargs-0.1.0.tar.gz 8.2 kB Without provenance Details for wtoolzargs-0.1.0.tar.gz

Release files / wtoolzargs-0.1.0.tar.gz

Download URL wtoolzargs-0.1.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d7180929657ffab0cd2b9f82fce8d3badb8756ad02b2c194114a049c185d0aae
BLAKE2b-256 checksum
How to use checksums
53d153576387d9fe1076c3bbb88806f6f45835ceab2d0ca3c1768fa73a4d45ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9

Security for wtoolzargs 0.1.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

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