git
ask
hub
Privacy
Terms
Sign in with GitHub
zlibs-community/zspec
↗
Stars ·
24
Language ·
Python
Simplify and Visualize This Repo
Scan the safety of this repo
Self Host this repo
Check out more work of Developer: zlibs-community
Ask anything about this repo to start.
Using the zspec library, write a Python specification that checks whether a product is in stock, has a price under $50, and belongs to the 'electronics' category. Then show how to apply it to a Pandas dataframe.
Show me how to serialize a zspec Specification to a Python dict, save it to a JSON file, then reload and re-apply it.
Using zspec, write a rule that can be translated to both a Django ORM queryset and a SQLAlchemy query without duplicating logic.
How do I use zspec's explain() function to debug why a composed specification is returning False for a given object?
Full explanation on explaingit →
📎
Send
By chatting or signing in you agree to the
Terms
and chat-message logging (revocable in
History
).